Class PlatformCommentService
java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.comment.PlatformCommentService
- All Implemented Interfaces:
PermissionServiceRegistryAware,Aware
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CasePermissionServiceprotected org.flowable.cmmn.api.CmmnHistoryServicestatic final Stringprotected CommentServiceprotected Integerprotected org.flowable.engine.HistoryServiceprotected ProcessPermissionServiceprotected TaskPermissionServiceFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<CommentInstanceRepresentation> commentMapper(List<Comment> comments) protected booleancommentsOnlyOnRoot(String scopeType, String scopeId) createComment(String scopeId, String scopeType, String commentContent) voiddeleteComment(Comment comment, String scopeId, String scopeType) getComment(String commentId) org.flowable.common.rest.api.DataResponse<CommentInstanceRepresentation> getComments(CommentQueryRequest request) protected org.flowable.entitylink.api.EntityLinkInfogetRootEntityLink(String scopeType, String scopeId) updateComment(Comment comment, String scopeId, String scopeType, String updatedContent) Methods inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
addAdditionalPermissions, 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
public org.flowable.common.rest.api.DataResponse<CommentInstanceRepresentation> getComments(CommentQueryRequest request) -
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
-