public class PostInfoImpl extends Object implements PostInfo
PostInfo| Constructor and Description |
|---|
PostInfoImpl()
Creates a new, empty
PostInfo |
PostInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String systemName,
TopicInfo topic)
Create a
PostInfo object from an existing node |
| Modifier and Type | Method and Description |
|---|---|
String |
getContents() |
Date |
getCreatedAt() |
String |
getCreator() |
Date |
getModifiedAt() |
String |
getModifier() |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
Get the underlying node value that needs to be permission checked.
|
String |
getSystemName() |
String |
getTitle() |
TopicInfo |
getTopic() |
Date |
getUpdatedAt() |
void |
setContents(String contents)
Sets the (HTML) Content of the post
|
void |
setCreatedAt(Date createdAt) |
void |
setCreator(String creator) |
void |
setModifiedAt(Date modifiedAt) |
void |
setModifier(String modifier) |
void |
setTitle(String title)
Sets the Title of the post.
|
void |
setUpdatedAt(Date updatedAt) |
public PostInfoImpl()
PostInfopublic TopicInfo getTopic()
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
PermissionCheckValuegetNodeRef in interface PermissionCheckValuegetNodeRef in interface PostInfopublic String getSystemName()
getSystemName in interface PostInfopublic String getTitle()
public String getContents()
getContents in interface PostInfopublic String getCreator()
getCreator in interface PostInfopublic String getModifier()
getModifier in interface PostInfopublic Date getCreatedAt()
getCreatedAt in interface PostInfopublic Date getModifiedAt()
getModifiedAt in interface PostInfopublic Date getUpdatedAt()
getUpdatedAt in interface PostInfopublic void setTitle(String title)
PostInfopublic void setContents(String contents)
PostInfosetContents in interface PostInfopublic void setCreator(String creator)
public void setModifier(String modifier)
public void setCreatedAt(Date createdAt)
public void setModifiedAt(Date modifiedAt)
public void setUpdatedAt(Date updatedAt)
Copyright © 2005–2018 Alfresco Software. All rights reserved.