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
FieldsModifier and TypeFieldDescriptionprotected CmmnHistoryServiceprotected PlatformContentItemServiceprotected CoreContentServiceprotected CoreRestDataInterceptorprotected DocumentMetadataHandlerprotected DocumentRepositoryServiceprotected booleanprotected FormRepositoryServiceprotected CoreFormServiceprotected FormServiceInvokerprotected HistoryServiceprotected PlatformIdentityServiceprotected ObjectProvider<InspectTaskInterceptor>protected com.flowable.license.LicenseCheckServiceprotected MetadataServiceprotected com.fasterxml.jackson.databind.ObjectMapperprotected Stringprotected TaskPermissionServiceprotected PlatformCommentServiceprotected PlatformContentItemPermissionHandlerprotected PlatformTranslationServiceprotected ScopedFormProviderprotected TranslationServiceprotected PlatformRestVariableTransformerFields 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
ConstructorsConstructorDescriptionPlatformTaskService(boolean enableLegacyHistoricTaskVariables, String participantCandidateGroups) -
Method Summary
Modifier and TypeMethodDescriptionaddIdentityLink(String taskId, RestIdentityLink identityLink) voidcompleteTaskForm(String taskId, CompleteFormRepresentation formRepresentation) protected PlatformUserQuerycreatePotentialTaskParticipatingUsersQuery(String taskId, PlatformUserQueryRequest request) createTaskCandidateQuery(String taskId, PlatformUserQueryRequest request) createTaskComment(String taskId, String commentContent) protected TaskRepresentationprotected TaskRepresentationcreateTaskRepresentation(Task task) protected TaskRepresentationvoiddeleteTaskComment(String taskId, String commentId) getContentItem(String taskId, String contentItemId) protected StringgetLatestContentItemVersion(String taskId, String contentItemId) getNextTask(String scopeId, String scopeType) getTaskComments(CommentQueryRequest request) getTaskForm(String taskId) getTaskVariables(String taskId) mapAttachmentsToContentItems(Map<String, Object> formVariables) voidsaveDocuments(String taskId, Map<String, Object> variables) voidsaveTaskForm(String taskId, SaveFormRepresentation saveFormRepresentation) protected voidtransformVariables(Map<String, Object> variables) updateTaskComment(String taskId, String commentId, String commentContent) 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
-
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
-