public class Comment extends Object
| Constructor and Description |
|---|
Comment() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEdit() |
String |
getContent() |
Date |
getCreatedAt() |
Person |
getCreatedBy() |
String |
getId() |
Date |
getModifiedAt() |
Person |
getModifiedBy() |
boolean |
isCanDelete() |
boolean |
isEdited() |
void |
setCanDelete(boolean canDelete)
Set True if this comment can be deleted by the current authenticated user.
|
void |
setCanEdit(boolean canEdit)
Set True if this comment can be edited by the current authenticated user.
|
void |
setContent(String content)
Set the comment
|
void |
setCreatedAt(Date createdAt)
Set the date time that the comment was created
|
void |
setCreatedBy(Person createdBy)
Set the People object describing the person who created this comment
|
void |
setEdited(boolean edited)
Set True if comment has been edited since it was first created
|
void |
setId(String id)
Set the unique opaque string id
|
void |
setModifiedAt(Date modifiedAt)
Set the date time that the comment was last modified
|
void |
setModifiedBy(Person modifiedBy)
Set the People object describing the person who last modified this comment
|
public boolean isEdited()
public void setEdited(boolean edited)
edited - public String getContent()
public void setContent(String content)
content - public String getId()
public void setId(String id)
id - public Date getModifiedAt()
public void setModifiedAt(Date modifiedAt)
modifiedAt - public Date getCreatedAt()
public void setCreatedAt(Date createdAt)
createdAt - public Person getCreatedBy()
public void setCreatedBy(Person createdBy)
createdBy - public boolean isCanDelete()
public void setCanDelete(boolean canDelete)
canDelete - public Person getModifiedBy()
public void setModifiedBy(Person modifiedBy)
modifiedBy - public boolean canEdit()
public void setCanEdit(boolean canEdit)
canEdit - Copyright © 2015 Alfresco Software Inc.. All Rights Reserved.