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 QName
PROP_COMMENT_CONTENT
static QName
PROP_COMMENT_CREATED_BY
static QName
PROP_COMMENT_MODIFIED_BY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getCanDelete()
boolean
getCanEdit()
String
getContent()
Date
getCreatedAt()
Person
getCreatedBy()
Boolean
getEdited()
String
getId()
Date
getModifiedAt()
Person
getModifiedBy()
String
getTitle()
protected void
mapProperties(Map<QName,Serializable> nodeProps)
void
setContent(String content)
void
setId(String id)
String
toString()
-
-
-
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)
-
-