Class PlatformTaskService
java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.task.PlatformTaskService
- All Implemented Interfaces:
PermissionServiceRegistryAware
,Aware
- Author:
- Yvo Swillens
-
Field Summary
Modifier and TypeFieldDescriptionprotected CmmnHistoryService
protected PlatformContentItemService
protected CoreContentService
protected CoreRestDataInterceptor
protected DocumentMetadataHandler
protected DocumentRepositoryService
protected boolean
protected FormRepositoryService
protected CoreFormService
protected FormServiceInvoker
protected HistoryService
protected PlatformIdentityService
protected ObjectProvider<InspectTaskInterceptor>
protected com.flowable.license.LicenseCheckService
protected MetadataService
protected com.fasterxml.jackson.databind.ObjectMapper
protected String
protected TaskPermissionService
protected PlatformCommentService
protected PlatformContentItemPermissionHandler
protected PlatformTranslationService
protected ScopedFormProvider
protected TranslationService
protected PlatformRestVariableTransformer
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
ConstructorDescriptionPlatformTaskService
(boolean enableLegacyHistoricTaskVariables, String participantCandidateGroups) -
Method Summary
Modifier and TypeMethodDescriptionaddIdentityLink
(String taskId, RestIdentityLink identityLink) void
completeTaskForm
(String taskId, CompleteFormRepresentation formRepresentation) protected PlatformUserQuery
createPotentialTaskParticipatingUsersQuery
(String taskId, PlatformUserQueryRequest request) createTaskCandidateQuery
(String taskId, PlatformUserQueryRequest request) createTaskComment
(String taskId, String commentContent) protected TaskRepresentation
protected TaskRepresentation
createTaskRepresentation
(Task task) protected TaskRepresentation
void
deleteTaskComment
(String taskId, String commentId) getContentItem
(String taskId, String contentItemId) protected String
getLatestContentItemVersion
(String taskId, String contentItemId) getNextTask
(String scopeId, String scopeType) getTaskComments
(CommentQueryRequest request) getTaskForm
(String taskId) getTaskVariables
(String taskId) mapAttachmentsToContentItems
(Map<String, Object> formVariables) void
saveDocuments
(String taskId, Map<String, Object> variables) void
saveTaskForm
(String taskId, SaveFormRepresentation saveFormRepresentation) protected void
transformVariables
(Map<String, Object> variables) updateTaskComment
(String taskId, String commentId, String commentContent) 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
-
historyService
-
cmmnHistoryService
-
formRepositoryService
-
formService
-
identityService
-
licenseCheckService
-
permissionService
-
translationService
-
platformTranslationService
-
platformCommentService
-
contentItemService
-
contentService
-
documentRepositoryService
-
metadataService
-
documentMetadataHandler
-
platformContentItemPermissionHandler
@Autowired(required=false) protected PlatformContentItemPermissionHandler platformContentItemPermissionHandler -
inspectTaskInterceptor
-
variableTransformer
-
objectMapper
-
scopedFormProvider
-
coreRestDataInterceptor
-
formServiceInvoker
-
enableLegacyHistoricTaskVariables
protected boolean enableLegacyHistoricTaskVariables -
participantCandidateGroups
-
-
Constructor Details
-
PlatformTaskService
public PlatformTaskService(boolean enableLegacyHistoricTaskVariables, String participantCandidateGroups)
-
-
Method Details
-
getTask
-
getTaskComments
-
createTaskComment
-
invokeFormFieldService
-
updateTaskComment
public CommentInstanceRepresentation updateTaskComment(String taskId, String commentId, String commentContent) -
deleteTaskComment
-
getContentItem
-
getLatestContentItemVersion
-
completeTaskForm
-
saveTaskForm
-
saveDocuments
-
getTaskVariablesWithPermissionCheck
-
getTaskVariables
-
getTaskForm
-
getNextTask
-
createTaskCandidateQuery
-
createPotentialTaskParticipatingUsersQuery
public PlatformUserQuery createPotentialTaskParticipatingUsersQuery(String taskId, PlatformUserQueryRequest request) -
addIdentityLink
-
transformVariables
-
mapAttachmentsToContentItems
-
createPlatformUserQuery
-
createTaskRepresentation
-
createTaskRepresentation
-
createTaskRepresentationFromInfo
-
getDelegationStateString
-