Package com.saperion.structures
Class LinkInfo
- java.lang.Object
-
- com.saperion.structures.Description
-
- com.saperion.structures.LinkInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class LinkInfo extends Description
Holds the information about a document link.
Extends theDescription
with the link id (HDoc).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.saperion.structures.Description
acl, comment, ddc, metadatas
-
-
Constructor Summary
Constructors Constructor Description LinkInfo(java.lang.String ddcName, java.lang.String linkId, java.util.Map<java.lang.String,java.lang.Object> nameValuePairs, java.lang.String versionComment)
Creates a new document link.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLinkId()
Gets the id (Hdoc) of linked document.void
setLinkId(java.lang.String xhdoc)
Sets the id (Hdoc) of linked document.-
Methods inherited from class com.saperion.structures.Description
getAcls, getDdcName, getMetadatas, getVersionComment, setAcls
-
-
-
-
Constructor Detail
-
LinkInfo
public LinkInfo(java.lang.String ddcName, java.lang.String linkId, java.util.Map<java.lang.String,java.lang.Object> nameValuePairs, java.lang.String versionComment)
Creates a new document link.- Parameters:
ddcName
- The name of the database definitionlinkId
- The ID of the document (HDOC) to linknameValuePairs
- A map containing the metadata. Only the contained properties will be updated.versionComment
- The comment for the version
-
-