Class Description

java.lang.Object
com.saperion.structures.Description
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DocumentInfo, LinkInfo

public class Description extends Object implements Serializable
Description of a database definition (DDC) related item.
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 Details

  • Constructor Details

    • Description

      public Description(String ddcName, Map<String,Object> nameValuePairs, String versionComment)
      Creates a new document description.
      Parameters:
      ddcName - The name of the database definition
      documentHDoc - 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

      public String getDdcName()
      Returns:
      ddc name
    • getMetadatas

      public Map<String,Object> getMetadatas()
      Returns:
      properties as name value pairs
    • getVersionComment

      public String getVersionComment()
      Returns:
      version comment
    • getAcls

      public String getAcls()
      Returns:
      ACLs
    • setAcls

      public Description setAcls(String acls)
      Parameters:
      acls - acl string
      Returns:
      UpdateDocumentInfo