Class PlatformCommentService
java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.comment.PlatformCommentService
- All Implemented Interfaces:
com.flowable.platform.security.permission.PermissionServiceRegistryAware,org.springframework.beans.factory.Aware
public class PlatformCommentService
extends com.flowable.platform.security.service.AbstractPlatformSecurityService
-
Field Summary
Fields Modifier and Type Field Description protected CommentServicecommentServiceprotected java.lang.IntegerdefaultListResponseSizeFields inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
additionalAdminUsers, CASE_PREFIX, cmmnRepositoryService, cmmnRuntimeService, cmmnTaskService, defaultSecurityPolicyKey, defaultSecurityPolicyModel, permissionServiceRegistry, platformSecurityInterceptor, policyRepositoryService, PROCESS_PREFIX, repositoryService, runtimeService, SECURITY_POLICY_MODEL, TASK_PREFIX, taskService -
Constructor Summary
Constructors Constructor Description PlatformCommentService() -
Method Summary
Modifier and Type Method Description protected java.util.List<CommentInstanceRepresentation>commentMapper(java.util.List<Comment> comments)CommentInstanceRepresentationcreateComment(java.lang.String scopeId, java.lang.String scopeType, java.lang.String commentContent)voiddeleteComment(Comment comment, java.lang.String scopeId, java.lang.String scopeType)CommentgetComment(java.lang.String commentId)org.flowable.common.rest.api.DataResponse<CommentInstanceRepresentation>getComments(CommentQueryRequest request)CommentInstanceRepresentationupdateComment(Comment comment, java.lang.String scopeId, java.lang.String scopeType, java.lang.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, getCurrentTenantId, getCurrentUserId, getDefaultSecurityPolicyModel, getExtensionElementValue, getSecurityPolicyModelByKey, groupOrUserMatches, hasAnyMatchingIdentityLink, hasAssigneeOrOwnerIdentityLink, hasPermissionForEntityLinks, hasPermissionForHistoricEntityLinks, setPermissionServiceRegistry, translatePermissionForScope
-
Field Details
-
defaultListResponseSize
@Value("${flowable.platform.rest.default-list-response-size:100}") protected java.lang.Integer defaultListResponseSize -
commentService
-
-
Constructor Details
-
PlatformCommentService
public PlatformCommentService()
-
-
Method Details
-
getComments
public org.flowable.common.rest.api.DataResponse<CommentInstanceRepresentation> getComments(CommentQueryRequest request) -
createComment
public CommentInstanceRepresentation createComment(java.lang.String scopeId, java.lang.String scopeType, java.lang.String commentContent) -
getComment
-
updateComment
public CommentInstanceRepresentation updateComment(Comment comment, java.lang.String scopeId, java.lang.String scopeType, java.lang.String updatedContent) -
deleteComment
-
commentMapper
protected java.util.List<CommentInstanceRepresentation> commentMapper(java.util.List<Comment> comments)
-