Package org.alfresco.rest.api.model
Class Comment
- java.lang.Object
-
- org.alfresco.rest.api.model.Comment
-
public class Comment extends Object
A representation of a Comment in the system.- Author:
- Gethin James, steveglover
-
-
Field Summary
Fields Modifier and Type Field Description static QNamePROP_COMMENT_CONTENTstatic QNamePROP_COMMENT_CREATED_BYstatic QNamePROP_COMMENT_MODIFIED_BY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCanDelete()booleangetCanEdit()StringgetContent()DategetCreatedAt()PersongetCreatedBy()BooleangetEdited()StringgetId()DategetModifiedAt()PersongetModifiedBy()StringgetTitle()protected voidmapProperties(Map<QName,Serializable> nodeProps)voidsetContent(String content)voidsetId(String id)StringtoString()
-
-
-
Constructor Detail
-
Comment
public Comment()
-
Comment
public Comment(String id, Map<QName,Serializable> nodeProps, boolean canEdit, boolean canDelete)
-
-
Method Detail
-
setId
public void setId(String id)
-
getCanEdit
public boolean getCanEdit()
-
getCanDelete
public boolean getCanDelete()
-
getTitle
public String getTitle()
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getCreatedAt
public Date getCreatedAt()
-
getCreatedBy
public Person getCreatedBy()
-
getModifiedBy
public Person getModifiedBy()
-
getModifiedAt
public Date getModifiedAt()
-
getEdited
public Boolean getEdited()
-
mapProperties
protected void mapProperties(Map<QName,Serializable> nodeProps)
-
-