|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object blackboard.data.BbObject blackboard.data.content.UploadedFile
public class UploadedFile
UploadedFile
Nested Class Summary | |
---|---|
static class |
UploadedFile.Action
Type-safe enumeration of possible values for the Action
attribute of a file. |
Field Summary | |
---|---|
static DataType |
DATA_TYPE
|
Fields inherited from class blackboard.data.BbObject |
---|
_bbAttributes |
Fields inherited from interface blackboard.data.content.UploadedFileDef |
---|
FILE_ACTION, FILE_NAME, FILE_SIZE, LINK_NAME, PARENT_ID, RECYCLED |
Constructor Summary | |
---|---|
UploadedFile()
|
Method Summary | |
---|---|
DataType |
getDataType()
Returns the DataType identifier for the given BbObject-derived
object. |
UploadedFile.Action |
getFileAction()
Method getFileAction. |
java.lang.String |
getFileName()
Method getFileName. |
long |
getFileSize()
Method getFileSize. |
java.lang.String |
getLinkName()
Method getLinkName. |
Id |
getParentId()
Method getParentId. |
boolean |
isRecycled()
Method isRecycled. |
void |
setFileAction(UploadedFile.Action fileAction)
Method setFileAction. |
void |
setFileName(java.lang.String fileName)
Method setFileName. |
void |
setFileSize(long fileSize)
Method setFileSize. |
void |
setLinkName(java.lang.String linkName)
Method setLinkName. |
void |
setParentId(Id parentId)
Method setParentId. |
void |
setRecycled(boolean recycled)
Method setRecycled. |
Methods inherited from class blackboard.data.BbObject |
---|
clone, getBbAttributes, getCreatedDate, getId, getModifiedDate, persist, setCreatedDate, setId, setModifiedDate, toString, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DataType DATA_TYPE
Constructor Detail |
---|
public UploadedFile()
Method Detail |
---|
public DataType getDataType()
BbObject
DataType
identifier for the given BbObject-derived
object. Can be used to uniquely identify the "type" of a data object.
getDataType
in interface IBbObject
getDataType
in class BbObject
DataType
for current objectBbObject.getDataType()
public Id getParentId()
public void setParentId(Id parentId)
parentId
- public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- public long getFileSize()
public void setFileSize(long fileSize)
fileSize
- public UploadedFile.Action getFileAction()
public void setFileAction(UploadedFile.Action fileAction)
fileAction
- public java.lang.String getLinkName()
public void setLinkName(java.lang.String linkName)
linkName
- public boolean isRecycled()
public void setRecycled(boolean recycled)
recycled
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |