org.alfresco.service.cmr.discussion
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, use DiscussionService.getPrimaryPost(TopicInfo) and DiscussionService#listPostReplies(TopicInfo, int, org.alfresco.query.PagingRequest)

Since:
4.0

Method Summary
 org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
           
 java.util.Date getCreatedAt()
           
 java.lang.String getCreator()
           
 java.util.Date getModifiedAt()
           
 java.lang.String getModifier()
           
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Get the underlying node value that needs to be permission checked.
 java.lang.String getSystemName()
           
 java.util.List getTags()
           
 java.lang.String getTitle()
           
 void setTitle(java.lang.String title)
          Sets the Title of the topic.
 

Method Detail

getNodeRef

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
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 getTags()
Returns:
the Tags associated with the topic


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.