mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged 5.2.N (5.2.1) to HEAD (5.2)
128386 jvonka: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1) 128375 jvonka: MNT-16446: Edit Comment permission (part 3) - for CMIS (and also future v1 Nodes REST API) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@128730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -31,6 +31,8 @@ import org.alfresco.query.PagingRequest;
|
||||
import org.alfresco.query.PagingResults;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A service for handling comments.
|
||||
*
|
||||
@@ -93,4 +95,16 @@ public interface CommentService
|
||||
* @param commentNodeRef the node in Share which is being commented on.
|
||||
*/
|
||||
void deleteComment(NodeRef commentNodeRef);
|
||||
|
||||
/**
|
||||
* canEdit / canDelete
|
||||
*
|
||||
* @param discussableNode
|
||||
* @param commentNodeRef
|
||||
* @return
|
||||
*/
|
||||
Map<String, Boolean> getCommentPermissions(NodeRef discussableNode, NodeRef commentNodeRef);
|
||||
|
||||
String CAN_EDIT = "canEdit";
|
||||
String CAN_DELETE = "canDelete";
|
||||
}
|
||||
|
Reference in New Issue
Block a user