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) voiddeleteComment(String nodeId, String commentNodeId) getComments(String nodeId, Paging paging, List<String> include) voidsetCommentService(CommentService commentService) voidsetContentService(ContentService contentService) voidvoidsetNodeService(NodeService nodeService) voidvoidsetTypeConstraint(TypeConstraint typeConstraint) updateComment(String nodeId, Comment comment)
-
Constructor Details
-
CommentsImpl
public CommentsImpl()
-
-
Method Details
-
setTypeConstraint
-
setNodes
-
setNodeService
-
setCommentService
-
setContentService
-
setPeople
-
createComment
- Specified by:
createCommentin interfaceComments
-
updateComment
- Specified by:
updateCommentin interfaceComments
-
getComments
public CollectionWithPagingInfo<Comment> getComments(String nodeId, Paging paging, List<String> include) - Specified by:
getCommentsin interfaceComments
-
deleteComment
- Specified by:
deleteCommentin interfaceComments
-