Package org.alfresco.rest.api.impl
Class CommentsImpl
java.lang.Object
org.alfresco.rest.api.impl.CommentsImpl
- All Implemented Interfaces:
Comments
Centralises access to comment services and maps between representations.
- Since:
- publicapi1.0
- Author:
- steveglover
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateComment
(String nodeId, Comment comment) void
deleteComment
(String nodeId, String commentNodeId) getComments
(String nodeId, Paging paging, List<String> include) void
setCommentService
(CommentService commentService) void
setContentService
(ContentService contentService) void
void
setNodeService
(NodeService nodeService) void
void
setTypeConstraint
(TypeConstraint typeConstraint) updateComment
(String nodeId, Comment comment)
-
Constructor Details
-
CommentsImpl
public CommentsImpl()
-
-
Method Details
-
setTypeConstraint
-
setNodes
-
setNodeService
-
setCommentService
-
setContentService
-
setPeople
-
createComment
- Specified by:
createComment
in interfaceComments
-
updateComment
- Specified by:
updateComment
in interfaceComments
-
getComments
public CollectionWithPagingInfo<Comment> getComments(String nodeId, Paging paging, List<String> include) - Specified by:
getComments
in interfaceComments
-
deleteComment
- Specified by:
deleteComment
in interfaceComments
-