Class PlatformCommentService
- java.lang.Object
-
- com.flowable.platform.security.service.AbstractPlatformSecurityService
-
- com.flowable.platform.service.comment.PlatformCommentService
-
- All Implemented Interfaces:
PermissionServiceRegistryAware
,Aware
public class PlatformCommentService extends AbstractPlatformSecurityService
-
-
Field Summary
Fields Modifier and Type Field Description protected CommentService
commentService
protected Integer
defaultListResponseSize
-
Fields inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
additionalAdminUsers, CASE_PREFIX, cmmnRepositoryService, cmmnRuntimeService, cmmnTaskService, defaultSecurityPolicyKey, defaultSecurityPolicyModel, inspectEnabled, permissionServiceRegistry, platformSecurityInterceptor, policyRepositoryService, PROCESS_PREFIX, repositoryService, runtimeService, SECURITY_POLICY_MODEL, TASK_PREFIX, taskService
-
-
Constructor Summary
Constructors Constructor Description PlatformCommentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<CommentInstanceRepresentation>
commentMapper(List<Comment> comments)
CommentInstanceRepresentation
createComment(String scopeId, String scopeType, String commentContent)
void
deleteComment(Comment comment, String scopeId, String scopeType)
Comment
getComment(String commentId)
DataResponse<CommentInstanceRepresentation>
getComments(CommentQueryRequest request)
CommentInstanceRepresentation
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 Detail
-
defaultListResponseSize
@Value("${flowable.platform.rest.default-list-response-size:100}") protected Integer defaultListResponseSize
-
commentService
@Autowired protected CommentService commentService
-
-
Method Detail
-
getComments
public DataResponse<CommentInstanceRepresentation> getComments(CommentQueryRequest request)
-
createComment
public CommentInstanceRepresentation createComment(String scopeId, String scopeType, String commentContent)
-
updateComment
public CommentInstanceRepresentation updateComment(Comment comment, String scopeId, String scopeType, String updatedContent)
-
commentMapper
protected List<CommentInstanceRepresentation> commentMapper(List<Comment> comments)
-
-