Class TopicInfoImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      TopicInfoImpl()
      Creates a new, empty TopicInfo
      TopicInfoImpl​(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef containerNodeRef, java.lang.String systemName)
      Create a TopicInfo object from an existing node
    • 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,
                             java.lang.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 java.lang.String getSystemName()
        Specified by:
        getSystemName in interface TopicInfo
        Returns:
        the System generated name for the topic
      • getTitle

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

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

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

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

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

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

        public void setTitle​(java.lang.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​(java.lang.String creator)
      • setModifier

        public void setModifier​(java.lang.String modifier)
      • setCreatedAt

        public void setCreatedAt​(java.util.Date createdAt)
      • setModifiedAt

        public void setModifiedAt​(java.util.Date modifiedAt)
      • setTags

        public void setTags​(java.util.List<java.lang.String> tags)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getShortSiteName

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

        public void setShortSiteName​(java.lang.String shortSiteName)