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()
PostInfo
public TopicInfo getTopic()
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
PermissionCheckValue
getNodeRef
in interface PermissionCheckValue
getNodeRef
in interface PostInfo
public String getSystemName()
getSystemName
in interface PostInfo
public String getTitle()
public String getContents()
getContents
in interface PostInfo
public String getCreator()
getCreator
in interface PostInfo
public String getModifier()
getModifier
in interface PostInfo
public Date getCreatedAt()
getCreatedAt
in interface PostInfo
public Date getModifiedAt()
getModifiedAt
in interface PostInfo
public Date getUpdatedAt()
getUpdatedAt
in interface PostInfo
public void setTitle(String title)
PostInfo
public void setContents(String contents)
PostInfo
setContents
in interface PostInfo
public 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–2017 Alfresco Software. All rights reserved.