Create a comment service to add comments to documents.
Here is the technical solution to implement this component.
Storage: Comment are stored into Nuxeo Core, in a children (type: Folder) of current document's domain, called "Comments". The "Comments" folder has to be created if it does not exist when a comment is created.
Inside the Comment folder, folder are stored into subfolders named after the month of the comment creation.
So we would have something like:
- Domain
`-- Comments
`-- 2007-01
`-- COMMENT-user-timeWithMillisecond
Comments are attached to documents using relations. When a comment is created, it should be stored inside the comment folder and a create hasComment need to be created between the document and the comment.
The component add a new tab on document with the facet "Commentable". The new tab display comments and a form to add a new comment (like in JIRA).
In the near future, we will need to offer security setting on Comment to restrict visibility on group/folder.
Comment are deletable by their author.
Comment are not editable.
Name of the component: org.nuxeo.ecm.platform.comments
- depends on
-
NXP-645 platform-api exception: URI is not hierarchical
- Resolved