Package com.saperion.structures
Class Description
java.lang.Object
com.saperion.structures.Description
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DocumentInfo
,LinkInfo
Description of a database definition (DDC) related item.
An item could be a document
An item could be a document
DocumentInfo
or LinkInfo
and
contains the descriptions for the DDC name, the meta data, a revision comment and the ACL names.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ddc
-
metadatas
-
comment
-
acl
-
-
Constructor Details
-
Description
Creates a new document description.- Parameters:
ddcName
- The name of the database definitiondocumentHDoc
- The ID of the document (HDOC)nameValuePairs
- A properties object containing the metadata. Only the contained properties will be updated.content
- Multiple content data. If the array is empty, all content of the document will be removed. If null, the content will not be changed. Otherwise only the contained elements will be replaced.versionComment
- The comment for the version
-
-
Method Details
-
getDdcName
- Returns:
- ddc name
-
getMetadatas
- Returns:
- properties as name value pairs
-
getVersionComment
- Returns:
- version comment
-
getAcls
- Returns:
- ACLs
-
setAcls
- Parameters:
acls
- acl string- Returns:
- UpdateDocumentInfo
-