Class LinkInfo

java.lang.Object
com.saperion.structures.Description
com.saperion.structures.LinkInfo
All Implemented Interfaces:
Serializable

public class LinkInfo extends Description
Holds the information about a document link.
Extends the Description with the link id (HDoc).
See Also:
  • 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 definition
      linkId - The ID of the document (HDOC) to link
      nameValuePairs - A map containing the metadata. Only the contained properties will be updated.
      versionComment - The comment for the version
  • Method Details

    • getLinkId

      public String getLinkId()
      Gets the id (Hdoc) of linked document.
      Returns:
      the link id
    • setLinkId

      public void setLinkId(String xhdoc)
      Sets the id (Hdoc) of linked document.
      Parameters:
      xhdoc - the new document link id