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 org.alfresco.service.namespace.QNamePROP_COMMENT_CONTENTstatic org.alfresco.service.namespace.QNamePROP_COMMENT_CREATED_BYstatic org.alfresco.service.namespace.QNamePROP_COMMENT_MODIFIED_BY
-
Constructor Summary
Constructors Constructor Description Comment()Comment(String id, Map<org.alfresco.service.namespace.QName,Serializable> nodeProps, boolean canEdit, boolean canDelete)
-
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<org.alfresco.service.namespace.QName,Serializable> nodeProps)voidsetContent(String content)voidsetId(String id)StringtoString()
-
-
-
Field Detail
-
PROP_COMMENT_CONTENT
public static final org.alfresco.service.namespace.QName PROP_COMMENT_CONTENT
-
PROP_COMMENT_CREATED_BY
public static final org.alfresco.service.namespace.QName PROP_COMMENT_CREATED_BY
-
PROP_COMMENT_MODIFIED_BY
public static final org.alfresco.service.namespace.QName PROP_COMMENT_MODIFIED_BY
-
-
Constructor Detail
-
Comment
public Comment()
-
Comment
public Comment(String id, Map<org.alfresco.service.namespace.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<org.alfresco.service.namespace.QName,Serializable> nodeProps)
-
-