Class Comment


  • public class Comment
    extends Object
    A representation of a Comment in the system.
    Author:
    Gethin James, steveglover
    • 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)