Interface TopicInfo
-
- All Superinterfaces:
PermissionCheckValue,java.io.Serializable
- All Known Implementing Classes:
TopicInfoImpl
public interface TopicInfo extends java.io.Serializable, PermissionCheckValue
This class represents a Topic in a forum. To retrieve either the Primary Post, or all Posts, useDiscussionService.getPrimaryPost(TopicInfo)andDiscussionService.listPostReplies(TopicInfo, int)- Since:
- 4.0
- Author:
- Nick Burch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.NodeRefgetContainerNodeRef()java.util.DategetCreatedAt()java.lang.StringgetCreator()java.util.DategetModifiedAt()java.lang.StringgetModifier()org.alfresco.service.cmr.repository.NodeRefgetNodeRef()Get the underlying node value that needs to be permission checked.java.lang.StringgetShortSiteName()java.lang.StringgetSystemName()java.util.List<java.lang.String>getTags()java.lang.StringgetTitle()voidsetTitle(java.lang.String title)Sets the Title of the topic.
-
-
-
Method Detail
-
getNodeRef
org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Description copied from interface:PermissionCheckValueGet the underlying node value that needs to be permission checked.- Specified by:
getNodeRefin interfacePermissionCheckValue- Returns:
- the NodeRef of the underlying topic
-
getContainerNodeRef
org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
- Returns:
- the NodeRef of the container this belongs to (Site or Otherwise)
-
getSystemName
java.lang.String getSystemName()
- Returns:
- the System generated name for the topic
-
getTitle
java.lang.String getTitle()
- Returns:
- the Title of the topic.
-
setTitle
void setTitle(java.lang.String title)
Sets the Title of the topic. The Title of the topic will be shared with the Primary Post
-
getCreator
java.lang.String getCreator()
- Returns:
- the creator of the topic
-
getModifier
java.lang.String getModifier()
- Returns:
- the modifier of the wiki page
-
getCreatedAt
java.util.Date getCreatedAt()
- Returns:
- the creation date and time
-
getModifiedAt
java.util.Date getModifiedAt()
- Returns:
- the modification date and time
-
getTags
java.util.List<java.lang.String> getTags()
- Returns:
- the Tags associated with the topic
-
getShortSiteName
java.lang.String getShortSiteName()
- Returns:
- the site this topic is associated with
-
-