Interface LinkInfo

All Superinterfaces:
PermissionCheckValue, Serializable
All Known Implementing Classes:
LinkInfoImpl

public interface LinkInfo extends Serializable, PermissionCheckValue
This class represents a Link in a site
Since:
4.0
Author:
Nick Burch
  • Method Details

    • getNodeRef

      NodeRef getNodeRef()
      Description copied from interface: PermissionCheckValue
      Get the underlying node value that needs to be permission checked.
      Specified by:
      getNodeRef in interface PermissionCheckValue
      Returns:
      the NodeRef of the underlying link
    • getContainerNodeRef

      NodeRef getContainerNodeRef()
      Returns:
      the NodeRef of the site container this belongs to
    • getSystemName

      String getSystemName()
      Returns:
      the System generated name for the link
    • getTitle

      String getTitle()
      Returns:
      the Title of the link
    • setTitle

      void setTitle(String title)
      Sets the Title of the link
    • getDescription

      String getDescription()
      Returns:
      the Description of the link
    • setDescription

      void setDescription(String description)
      Sets the Description of the link
    • getURL

      String getURL()
      Returns:
      the URL of the link
    • setURL

      void setURL(String url)
      Sets the URL of the link
    • getCreator

      String getCreator()
      Returns:
      the creator of the link
    • getCreatedAt

      Date getCreatedAt()
      Returns:
      the creation date and time
    • getModifiedAt

      Date getModifiedAt()
      Returns:
      the modification date and time
    • isInternal

      boolean isInternal()
      Is this a internal link?
    • setInternal

      void setInternal(boolean internal)
      Sets if this is an internal link or not
    • getTags

      List<String> getTags()
      Returns:
      the Tags associated with the link