|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a Version of a Document's Content.
Field Summary | |
static String |
EL_DOC_VERSION
The element type of "Document Version". |
Fields inherited from interface com.sssw.cm.api.EbiCmElement |
OP_COPY,
OP_MOVE,
OP_REMOVE,
OP_UPDATE |
Fields inherited from interface com.sssw.fw.api.EbiComparator |
EQUIVALENT,
IN_ORDER,
REVERSE_ORDER |
Method Summary | |
String |
getComment()
Gets the comment supplied by the creator of this Version |
byte[] |
getData()
Gets the actual Content data |
InputStream |
getDataAsStream()
Gets the content data as a stream. |
String |
getDocumentID()
Gets the ID of the Document for which this Version was created |
String |
getEncoding()
Gets the ENCODING of the content |
String |
getMimeType()
Gets the MIME type of the content |
Timestamp |
getModifiedDate()
Gets the date/time of when the Version was created |
String |
getModifier()
Gets the user ID of the person that created the Version |
int |
getSize()
Gets the size of the data |
String |
getUUID()
Gets the UUID of the version |
int |
getVersionID()
Gets the ID of the Version |
void |
setComment(String comment)
Sets the comment. |
void |
setData(byte[] data)
Sets the data bytes. |
void |
setData(InputStream is)
Sets the data from an input stream. |
void |
setDocumentID(String docID)
Sets the document ID. |
void |
setEncoding(String encoding)
Sets the encoding, for this version 5.2, document will take application server's default encoding no matter what encoding you set |
void |
setMimeType(String mimeType)
Sets the mime type. |
void |
setModifiedDate(Timestamp modDate)
Sets the last modified date/time. |
void |
setSize(int size)
Sets the content size. |
void |
setUUID()
Sets/generates the UUID of the version. |
void |
setUUID(String uuid)
Set the UUID of the version. |
void |
setVersionID(int versionID)
Sets the version ID. |
Methods implemented from interface com.sssw.cm.api.EbiCmElement |
fromXML,
toXML,
validateOperation |
Methods implemented from interface com.sssw.fw.api.EbiComparator |
compare |
Methods implemented from interface com.sssw.fw.api.EbiFrameworkElement |
getElementUUID,
getLastModified,
getLastModifiedBy,
isEqualTo,
isReadOnly,
resetReadOnly,
setLastModified,
setLastModifiedBy,
setReadOnly |
Methods implemented from interface com.sssw.fw.api.EbiElement |
getType |
Field Detail |
public static final String EL_DOC_VERSION
Method Detail |
public int getVersionID()
public String getUUID()
public String getDocumentID()
public String getMimeType()
public String getEncoding()
public byte[] getData()
public InputStream getDataAsStream() throws EboUnrecoverableSystemException
public int getSize()
public Timestamp getModifiedDate()
public String getModifier()
public String getComment()
public void setUUID()
public void setUUID(String uuid)
uuid
- public void setVersionID(int versionID)
versionID
- public void setDocumentID(String docID)
docID
- public void setMimeType(String mimeType)
mimeType
- public void setEncoding(String encoding)
encoding
- public void setData(byte[] data)
data
- public void setData(InputStream is) throws EboUnrecoverableSystemException
is
- the data input streampublic void setSize(int size)
size
- public void setComment(String comment)
comment
- public void setModifiedDate(Timestamp modDate)
modDate
-
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |