Class PlatformCommentService
java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.comment.PlatformCommentService
- All Implemented Interfaces:
PermissionServiceRegistryAware
,Aware
-
Field Summary
Modifier and TypeFieldDescriptionprotected CasePermissionService
protected CmmnHistoryService
static final String
protected CommentService
protected Integer
protected HistoryService
protected ProcessPermissionService
protected TaskPermissionService
Fields inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
additionalAdminUsers, CASE_PREFIX, cmmnRepositoryService, cmmnRuntimeService, cmmnTaskService, defaultSecurityPolicyKey, defaultSecurityPolicyModel, EXTERNAL_WORKER_PREFIX, inspectEnabled, permissionServiceRegistry, platformSecurityInterceptor, policyRepositoryService, PROCESS_PREFIX, repositoryService, runtimeService, SECURITY_POLICY_MODEL, TASK_PREFIX, taskService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<CommentInstanceRepresentation>
commentMapper
(List<Comment> comments) protected boolean
commentsOnlyOnRoot
(String scopeType, String scopeId) createComment
(String scopeId, String scopeType, String commentContent) void
deleteComment
(Comment comment, String scopeId, String scopeType) getComment
(String commentId) getComments
(CommentQueryRequest request) protected EntityLinkInfo
getRootEntityLink
(String scopeType, String scopeId) updateComment
(Comment comment, String scopeId, String scopeType, String updatedContent) Methods inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
currentUserHasAdminRights, currentUserIsSuperAdmin, fetchCasePermissionMappings, fetchCasePermissionMappings, fetchCaseSecurityPolicyModel, fetchPermissions, fetchPermissionsForTask, fetchProcessPermissionMappings, fetchProcessPermissionMappings, fetchProcessSecurityPolicyModel, fetchSecurityPolicyModel, fetchSecurityPolicyModel, fetchSecurityPolicyModelForCaseInstance, fetchSecurityPolicyModelForProcessInstance, fetchSecurityPolicyModelForTask, fetchSecurityPolicyModelForTask, fetchTaskPermissionMappings, fetchTaskPermissionMappings, fetchTaskPermissionMappings, fetchTaskPermissionMappingsForCase, fetchTaskPermissionMappingsForProcess, fetchTaskSecurityPolicyModelForCase, fetchTaskSecurityPolicyModelForProcess, filterPermissionsForRole, getCmmnExtensionElementValue, getCurrentGroupKeys, getCurrentSecurityScope, getCurrentTenantId, getCurrentUserId, getDefaultSecurityPolicyModel, getExtensionElementValue, getSecurityPolicyModelByKey, groupOrUserMatches, groupOrUserMatches, hasAnyMatchingIdentityLink, hasAssigneeOrOwnerIdentityLink, hasPermissionForEntityLinks, hasPermissionForHistoricEntityLinks, setPermissionServiceRegistry, translatePermissionForScope
-
Field Details
-
COMMENTS_ONLY_ON_ROOT
- See Also:
-
defaultListResponseSize
-
commentService
-
taskPermissionService
-
processPermissionService
-
casePermissionService
-
historyService
-
cmmnHistoryService
-
-
Constructor Details
-
PlatformCommentService
public PlatformCommentService()
-
-
Method Details
-
getComments
-
createComment
public CommentInstanceRepresentation createComment(String scopeId, String scopeType, String commentContent) -
getComment
-
updateComment
public CommentInstanceRepresentation updateComment(Comment comment, String scopeId, String scopeType, String updatedContent) -
deleteComment
-
commentsOnlyOnRoot
-
getRootEntityLink
-
commentMapper
-