Package com.saperion.structures
Class LinkInfo
java.lang.Object
com.saperion.structures.Description
com.saperion.structures.LinkInfo
- All Implemented Interfaces:
Serializable
Holds the information about a document link.
Extends the
Extends the
Description
with the link id (HDoc).- See Also:
-
Field Summary
Fields inherited from class com.saperion.structures.Description
acl, comment, ddc, metadatas
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.saperion.structures.Description
getAcls, getDdcName, getMetadatas, getVersionComment, setAcls
-
Constructor Details
-
LinkInfo
public LinkInfo(String ddcName, String linkId, Map<String, Object> nameValuePairs, 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
-
-
Method Details
-
getLinkId
Gets the id (Hdoc) of linked document.- Returns:
- the link id
-
setLinkId
Sets the id (Hdoc) of linked document.- Parameters:
xhdoc
- the new document link id
-