org.alfresco.repo.discussion
Class TopicInfoImpl

java.lang.Object
  extended by org.alfresco.repo.discussion.TopicInfoImpl
All Implemented Interfaces:
java.io.Serializable, PermissionCheckValue, TopicInfo

public class TopicInfoImpl
extends java.lang.Object
implements TopicInfo

An implementation of TopicInfo

Since:
4.0
See Also:
Serialized Form

Constructor Summary
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
 
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 setCreatedAt(java.util.Date createdAt)
           
 void setCreator(java.lang.String creator)
           
 void setModifiedAt(java.util.Date modifiedAt)
           
 void setModifier(java.lang.String modifier)
           
 void setTags(java.util.List tags)
           
 void setTitle(java.lang.String title)
          Sets the Title of the topic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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 tags)


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