Class TopicInfoImpl

    • Constructor Detail

      • TopicInfoImpl

        public TopicInfoImpl()
        Creates a new, empty TopicInfo
      • TopicInfoImpl

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

      • getContainerNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
        Specified by:
        getContainerNodeRef in interface TopicInfo
        Returns:
        the NodeRef of the container this belongs to (Site or Otherwise)
      • 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 PermissionCheckValue
        Specified by:
        getNodeRef in interface TopicInfo
        Returns:
        the NodeRef of the underlying topic
      • getSystemName

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

        public String getTitle()
        Specified by:
        getTitle in interface TopicInfo
        Returns:
        the Title of the topic.
      • getCreator

        public String getCreator()
        Specified by:
        getCreator in interface TopicInfo
        Returns:
        the creator of the topic
      • getModifier

        public String getModifier()
        Specified by:
        getModifier in interface TopicInfo
        Returns:
        the modifier of the wiki page
      • getCreatedAt

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

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

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

        public void setTitle​(String title)
        Description copied from interface: TopicInfo
        Sets the Title of the topic. The Title of the topic will be shared with the Primary Post
        Specified by:
        setTitle in interface TopicInfo
      • setCreator

        public void setCreator​(String creator)
      • setModifier

        public void setModifier​(String modifier)
      • setCreatedAt

        public void setCreatedAt​(Date createdAt)
      • setModifiedAt

        public void setModifiedAt​(Date modifiedAt)
      • setTags

        public void setTags​(List<String> tags)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getShortSiteName

        public String getShortSiteName()
        Specified by:
        getShortSiteName in interface TopicInfo
        Returns:
        the site this topic is associated with
      • setShortSiteName

        public void setShortSiteName​(String shortSiteName)