Package org.alfresco.repo.discussion
Class PostInfoImpl
java.lang.Object
org.alfresco.repo.discussion.PostInfoImpl
- All Implemented Interfaces:
Serializable,PermissionCheckValue,PostInfo
An implementation of
PostInfo- Since:
- 4.0
- Author:
- Nick Burch (based on existing webscript controllers in the REST API)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the underlying node value that needs to be permission checked.getTitle()getTopic()voidsetContents(String contents) Sets the (HTML) Content of the postvoidsetCreatedAt(Date createdAt) voidsetCreator(String creator) voidsetModifiedAt(Date modifiedAt) voidsetModifier(String modifier) voidSets the Title of the post.voidsetUpdatedAt(Date updatedAt)
-
Constructor Details
-
Method Details
-
getTopic
-
getNodeRef
Description copied from interface:PermissionCheckValueGet the underlying node value that needs to be permission checked.- Specified by:
getNodeRefin interfacePermissionCheckValue- Specified by:
getNodeRefin interfacePostInfo- Returns:
- the NodeRef of the underlying post
-
getSystemName
- Specified by:
getSystemNamein interfacePostInfo- Returns:
- the System generated name for the post
-
getTitle
-
getContents
- Specified by:
getContentsin interfacePostInfo- Returns:
- the HTML Content of the post
-
getCreator
- Specified by:
getCreatorin interfacePostInfo- Returns:
- the creator of the post
-
getModifier
- Specified by:
getModifierin interfacePostInfo- Returns:
- the modifier of the wiki page
-
getCreatedAt
- Specified by:
getCreatedAtin interfacePostInfo- Returns:
- the creation date and time
-
getModifiedAt
- Specified by:
getModifiedAtin interfacePostInfo- Returns:
- the modification date and time
-
getUpdatedAt
- Specified by:
getUpdatedAtin interfacePostInfo- Returns:
- the updated-at date and time
-
setTitle
Description copied from interface:PostInfoSets the Title of the post. Normally only the Primary Post in a Topic has a Title set. -
setContents
Description copied from interface:PostInfoSets the (HTML) Content of the post- Specified by:
setContentsin interfacePostInfo
-
setCreator
-
setModifier
-
setCreatedAt
-
setModifiedAt
-
setUpdatedAt
-