@Transactional
public class PlatformTaskService
extends com.flowable.platform.security.service.AbstractPlatformSecurityService
Modifier and Type | Field and Description |
---|---|
protected org.flowable.cmmn.api.CmmnHistoryService |
cmmnHistoryService |
protected PlatformContentItemService |
contentItemService |
protected com.flowable.core.content.api.CoreContentService |
contentService |
protected DocumentMetadataHandler |
documentMetadataHandler |
protected com.flowable.core.content.api.DocumentRepositoryService |
documentRepositoryService |
protected org.flowable.form.api.FormRepositoryService |
formRepositoryService |
protected org.flowable.form.api.FormService |
formService |
protected org.flowable.engine.HistoryService |
historyService |
protected com.flowable.license.LicenseCheckService |
licenseCheckService |
protected com.flowable.core.content.api.MetadataService |
metadataService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected com.flowable.platform.security.permission.TaskPermissionService |
permissionService |
protected PlatformCommentService |
platformCommentService |
protected PlatformTranslationService |
platformTranslationService |
protected TranslationService |
translationService |
protected PlatformRestVariableTransformer |
variableTransformer |
additionalAdminUsers, CASE_PREFIX, cmmnRepositoryService, cmmnRuntimeService, cmmnTaskService, defaultSecurityPolicyKey, defaultSecurityPolicyModel, permissionServiceRegistry, platformSecurityInterceptor, policyRepositoryService, PROCESS_PREFIX, repositoryService, runtimeService, SECURITY_POLICY_MODEL, TASK_PREFIX, taskService
Constructor and Description |
---|
PlatformTaskService() |
Modifier and Type | Method and Description |
---|---|
org.flowable.rest.service.api.engine.RestIdentityLink |
addIdentityLink(String taskId,
org.flowable.rest.service.api.engine.RestIdentityLink identityLink) |
void |
completeTaskForm(String taskId,
CompleteFormRepresentation formRepresentation) |
CommentInstanceRepresentation |
createTaskComment(String taskId,
String commentContent) |
protected TaskRepresentation |
createTaskRepresentation(org.flowable.task.api.history.HistoricTaskInstance task) |
protected TaskRepresentation |
createTaskRepresentation(org.flowable.task.api.Task task) |
protected TaskRepresentation |
createTaskRepresentationFromInfo(org.flowable.task.api.TaskInfo task) |
void |
deleteTaskComment(String taskId,
String commentId) |
protected String |
getDelegationStateString(org.flowable.task.api.DelegationState state) |
TaskRepresentation |
getTask(String taskId,
boolean includeTranslations) |
org.flowable.common.rest.api.DataResponse<CommentInstanceRepresentation> |
getTaskComments(CommentQueryRequest request) |
org.flowable.form.api.FormInfo |
getTaskForm(String taskId) |
Map<String,Object> |
getTaskVariables(String taskId) |
Map<String,Object> |
getTaskVariablesWithPermissionCheck(String taskId) |
protected Map<String,Object> |
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) |
CommentInstanceRepresentation |
updateTaskComment(String taskId,
String commentId,
String commentContent) |
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
@Autowired protected org.flowable.engine.HistoryService historyService
@Autowired protected org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService
@Autowired protected org.flowable.form.api.FormRepositoryService formRepositoryService
@Autowired protected org.flowable.form.api.FormService formService
@Autowired protected com.flowable.license.LicenseCheckService licenseCheckService
@Autowired protected com.flowable.platform.security.permission.TaskPermissionService permissionService
@Autowired(required=false) protected TranslationService translationService
@Autowired(required=false) protected PlatformTranslationService platformTranslationService
@Autowired(required=false) protected PlatformCommentService platformCommentService
@Autowired(required=false) protected PlatformContentItemService contentItemService
@Autowired(required=false) protected com.flowable.core.content.api.CoreContentService contentService
@Autowired(required=false) protected com.flowable.core.content.api.DocumentRepositoryService documentRepositoryService
@Autowired(required=false) protected com.flowable.core.content.api.MetadataService metadataService
@Autowired(required=false) protected DocumentMetadataHandler documentMetadataHandler
@Autowired protected PlatformRestVariableTransformer variableTransformer
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public TaskRepresentation getTask(String taskId, boolean includeTranslations)
public org.flowable.common.rest.api.DataResponse<CommentInstanceRepresentation> getTaskComments(CommentQueryRequest request)
public CommentInstanceRepresentation createTaskComment(String taskId, String commentContent)
public CommentInstanceRepresentation updateTaskComment(String taskId, String commentId, String commentContent)
public void completeTaskForm(String taskId, CompleteFormRepresentation formRepresentation)
public void saveTaskForm(String taskId, SaveFormRepresentation saveFormRepresentation)
public Map<String,Object> getTaskVariablesWithPermissionCheck(String taskId)
public org.flowable.form.api.FormInfo getTaskForm(String taskId)
public org.flowable.rest.service.api.engine.RestIdentityLink addIdentityLink(String taskId, org.flowable.rest.service.api.engine.RestIdentityLink identityLink)
protected Map<String,Object> mapAttachmentsToContentItems(Map<String,Object> formVariables)
protected TaskRepresentation createTaskRepresentation(org.flowable.task.api.Task task)
protected TaskRepresentation createTaskRepresentation(org.flowable.task.api.history.HistoricTaskInstance task)
protected TaskRepresentation createTaskRepresentationFromInfo(org.flowable.task.api.TaskInfo task)
protected String getDelegationStateString(org.flowable.task.api.DelegationState state)
Copyright © 2019. All rights reserved.