Class LinkInfoImpl

    • Constructor Detail

      • LinkInfoImpl

        public LinkInfoImpl()
        Creates a new, empty LinkInfo
      • LinkInfoImpl

        public LinkInfoImpl​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                            org.alfresco.service.cmr.repository.NodeRef containerNodeRef,
                            String systemName)
        Createa a LinkInfo object from an existing node
    • Method Detail

      • getContainerNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
        Specified by:
        getContainerNodeRef in interface LinkInfo
        Returns:
        the NodeRef of the site container this belongs to
      • getNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
        Description copied from interface: PermissionCheckValue
        Get the underlying node value that needs to be permission checked.
        Specified by:
        getNodeRef in interface LinkInfo
        Specified by:
        getNodeRef in interface PermissionCheckValue
        Returns:
        the NodeRef of the underlying link
      • getSystemName

        public String getSystemName()
        Specified by:
        getSystemName in interface LinkInfo
        Returns:
        the System generated name for the link
      • getTitle

        public String getTitle()
        Specified by:
        getTitle in interface LinkInfo
        Returns:
        the Title of the link
      • getURL

        public String getURL()
        Specified by:
        getURL in interface LinkInfo
        Returns:
        the URL of the link
      • getCreator

        public String getCreator()
        Specified by:
        getCreator in interface LinkInfo
        Returns:
        the creator of the link
      • getCreatedAt

        public Date getCreatedAt()
        Specified by:
        getCreatedAt in interface LinkInfo
        Returns:
        the creation date and time
      • getModifiedAt

        public Date getModifiedAt()
        Specified by:
        getModifiedAt in interface LinkInfo
        Returns:
        the modification date and time
      • isInternal

        public boolean isInternal()
        Description copied from interface: LinkInfo
        Is this a internal link?
        Specified by:
        isInternal in interface LinkInfo
      • getTags

        public List<String> getTags()
        Specified by:
        getTags in interface LinkInfo
        Returns:
        the Tags associated with the link
      • setTitle

        public void setTitle​(String title)
        Description copied from interface: LinkInfo
        Sets the Title of the link
        Specified by:
        setTitle in interface LinkInfo
      • setDescription

        public void setDescription​(String description)
        Description copied from interface: LinkInfo
        Sets the Description of the link
        Specified by:
        setDescription in interface LinkInfo
      • setURL

        public void setURL​(String url)
        Description copied from interface: LinkInfo
        Sets the URL of the link
        Specified by:
        setURL in interface LinkInfo
      • setInternal

        public void setInternal​(boolean internal)
        Description copied from interface: LinkInfo
        Sets if this is an internal link or not
        Specified by:
        setInternal in interface LinkInfo
      • setCreator

        public void setCreator​(String creator)
      • setCreatedAt

        public void setCreatedAt​(Date createdAt)
      • setModifiedAt

        public void setModifiedAt​(Date modifiedAt)
      • setTags

        public void setTags​(List<String> tags)