|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDocument
The IDocument interface represents a document
instance in the DSGFileMan system. Each document consists
of a name (the file name), a version (starting with 1) and a content.
| Method Summary | |
|---|---|
byte[] |
getContent()
Gets the content of the document. |
java.lang.String |
getName()
Gets the name of the document. |
long |
getVersion()
Gets the version of this document. |
void |
setContent(byte[] content)
Sets the content of the document. |
void |
setName(java.lang.String name)
Sets the name of the document. |
void |
setVersion(long versionId)
Sets the version of the document (The first version is always assigned the value 1). |
| Method Detail |
|---|
void setName(java.lang.String name)
name - The name of the document (has to contain only
characters with are allowed in a filename).java.lang.String getName()
void setVersion(long versionId)
versionId - The version of this document.long getVersion()
byte[] getContent()
void setContent(byte[] content)
content - The content of the document as byte array.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||