public class Comment extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.alfresco.service.namespace.QName |
PROP_COMMENT_CONTENT |
| Constructor and Description |
|---|
Comment() |
Comment(String id,
Map<org.alfresco.service.namespace.QName,Serializable> nodeProps,
boolean canEdit,
boolean canDelete) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCanDelete() |
boolean |
getCanEdit() |
String |
getContent() |
Date |
getCreatedAt() |
String |
getCreatedBy() |
Boolean |
getEdited() |
String |
getId() |
Date |
getModifiedAt() |
String |
getModifiedBy() |
String |
getTitle() |
protected void |
mapProperties(Map<org.alfresco.service.namespace.QName,Serializable> nodeProps) |
void |
setContent(String content) |
void |
setId(String id) |
String |
toString() |
public static final org.alfresco.service.namespace.QName PROP_COMMENT_CONTENT
public Comment()
public Comment(String id, Map<org.alfresco.service.namespace.QName,Serializable> nodeProps, boolean canEdit, boolean canDelete)
public void setId(String id)
public boolean getCanEdit()
public boolean getCanDelete()
public String getTitle()
public String getContent()
public void setContent(String content)
public Date getCreatedAt()
@EmbeddedEntityResource(propertyName="createdBy", entityResource=PeopleEntityResource.class) public String getCreatedBy()
@EmbeddedEntityResource(propertyName="modifiedBy", entityResource=PeopleEntityResource.class) public String getModifiedBy()
public Date getModifiedAt()
public Boolean getEdited()
protected void mapProperties(Map<org.alfresco.service.namespace.QName,Serializable> nodeProps)
Copyright © 2005–2014 Alfresco Software. All rights reserved.