public class PlatformCommentService extends AbstractPlatformSecurityService
Modifier and Type | Field and Description |
---|---|
protected CommentService |
commentService |
protected Integer |
defaultListResponseSize |
additionalAdminUsers, CASE_PREFIX, cmmnRepositoryService, cmmnRuntimeService, cmmnTaskService, defaultSecurityPolicyKey, defaultSecurityPolicyModel, inspectEnabled, permissionServiceRegistry, platformSecurityInterceptor, policyRepositoryService, PROCESS_PREFIX, repositoryService, runtimeService, SECURITY_POLICY_MODEL, TASK_PREFIX, taskService
Constructor and Description |
---|
PlatformCommentService() |
Modifier and Type | Method and 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) |
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, groupOrUserMatches, hasAnyMatchingIdentityLink, hasAssigneeOrOwnerIdentityLink, hasPermissionForEntityLinks, hasPermissionForHistoricEntityLinks, setPermissionServiceRegistry, translatePermissionForScope
@Value(value="${flowable.platform.rest.default-list-response-size:100}") protected Integer defaultListResponseSize
@Autowired protected CommentService commentService
public DataResponse<CommentInstanceRepresentation> getComments(CommentQueryRequest request)
public CommentInstanceRepresentation createComment(String scopeId, String scopeType, String commentContent)
public CommentInstanceRepresentation updateComment(Comment comment, String scopeId, String scopeType, String updatedContent)
protected List<CommentInstanceRepresentation> commentMapper(List<Comment> comments)