@Transactional
public class PlatformProcessInstanceService
extends com.flowable.platform.security.service.AbstractPlatformSecurityService
Modifier and Type | Field and Description |
---|---|
protected AuditService |
auditService |
protected org.flowable.cmmn.api.CmmnHistoryService |
cmmnHistoryService |
protected com.flowable.core.content.api.CoreContentService |
contentService |
protected DocumentMetadataHandler |
documentMetadataHandler |
protected com.flowable.core.content.api.DocumentRepositoryService |
documentRepositoryService |
protected boolean |
enableAuditLog |
protected org.flowable.spring.SpringProcessEngineConfiguration |
engineConfiguration |
protected org.flowable.form.api.FormRepositoryService |
formRepositoryService |
protected org.flowable.form.api.FormService |
formService |
protected org.flowable.engine.HistoryService |
historyService |
protected com.flowable.core.content.api.MetadataService |
metadataService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected PlatformCommentService |
platformCommentService |
protected PlatformContentItemService |
platformContentItemService |
protected PlatformTranslationService |
platformTranslationService |
protected com.flowable.platform.security.permission.ProcessPermissionService |
processPermissionService |
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 |
---|
PlatformProcessInstanceService(boolean enableAuditLog) |
Modifier and Type | Method and Description |
---|---|
protected void |
addTranslations(ProcessInstanceRepresentation processInstanceRepresentation,
org.flowable.engine.repository.ProcessDefinition processDefinition) |
void |
assign(String processInstanceId,
String userId) |
CommentInstanceRepresentation |
createProcessInstanceComment(String processInstanceId,
String commentContent) |
void |
deleteProcessInstanceComment(String processInstanceId,
String commentId) |
protected org.flowable.engine.runtime.ProcessInstance |
fetchProcessInstance(String processInstanceId) |
protected ProcessInstanceInfo |
fetchProcessInstanceWithHistory(String processInstanceId) |
protected org.flowable.form.api.FormInfo |
getFormInfo(String processInstanceId,
String deploymentId,
String processDefinitionId,
String tenantId) |
protected Map<String,Object> |
getHistoricVariables(String processInstanceId) |
ProcessInstanceRepresentation |
getProcessInstance(String processInstanceId,
boolean includeTranslations) |
org.flowable.common.rest.api.DataResponse<CommentInstanceRepresentation> |
getProcessInstanceComments(CommentQueryRequest request) |
protected Map<String,Object> |
getProcessVariables(String processInstanceId) |
Map<String,Object> |
getStartFormVariablesByProcessInstanceId(String processInstanceId) |
Map<String,Object> |
getVariablesByProcessInstanceId(String processInstanceId,
String subScopeId) |
Map<String,Object> |
getVariablesByProcessInstanceIdWithPermissionCheck(String processInstanceId,
String subScopeId) |
org.flowable.form.api.FormInfo |
getWorkFormForProcessInstanceId(String processInstanceId) |
protected String |
getWorkFormValidationExpression(String processDefinitionId) |
protected boolean |
isFormFieldValidationEnabled(org.flowable.common.engine.api.variable.VariableContainer variableContainer,
String workFormValidationExpression) |
protected void |
logSaveProcessEvent(org.flowable.engine.runtime.ProcessInstance processInstance) |
void |
saveDocuments(String processInstanceId,
Map<String,Object> variables) |
void |
saveWorkForm(String processInstanceId,
Map<String,Object> variables) |
ProcessInstanceRepresentation |
startNewProcessInstance(CreateProcessInstanceRepresentation startRequest,
boolean includeTranslations) |
protected void |
transformVariables(Map<String,Object> variables) |
CommentInstanceRepresentation |
updateProcessInstanceComment(String processInstanceId,
String commentId,
String commentContent) |
currentUserHasAdminRights, currentUserIsSuperAdmin, fetchCasePermissionMappings, fetchCasePermissionMappings, fetchCaseSecurityPolicyModel, fetchPermissions, fetchPermissionsForTask, fetchProcessPermissionMappings, fetchProcessPermissionMappings, fetchProcessSecurityPolicyModel, fetchSecurityPolicyModel, fetchSecurityPolicyModel, fetchSecurityPolicyModelForTask, fetchSecurityPolicyModelForTask, fetchTaskPermissionMappings, fetchTaskPermissionMappings, fetchTaskPermissionMappings, fetchTaskPermissionMappingsForCase, fetchTaskPermissionMappingsForProcess, fetchTaskSecurityPolicyModelForCase, fetchTaskSecurityPolicyModelForProcess, filterPermissionsForRole, getCmmnExtensionElementValue, getCurrentGroupKeys, getCurrentTenantId, getCurrentUserId, getDefaultSecurityPolicyModel, getExtensionElementValue, getSecurityPolicyModelByKey, groupOrUserMatches, hasAnyMatchingIdentityLink, hasAssigneeOrOwnerIdentityLink, hasPermissionForEntityLinks, hasPermissionForHistoricEntityLinks, setPermissionServiceRegistry, translatePermissionForScope
protected final boolean enableAuditLog
@Autowired protected com.flowable.platform.security.permission.ProcessPermissionService processPermissionService
@Autowired protected org.flowable.engine.HistoryService historyService
@Autowired protected org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService
@Autowired protected org.flowable.form.api.FormService formService
@Autowired protected org.flowable.form.api.FormRepositoryService formRepositoryService
@Autowired(required=false) protected PlatformTranslationService platformTranslationService
@Autowired(required=false) protected PlatformCommentService platformCommentService
@Autowired(required=false) protected AuditService auditService
@Autowired(required=false) protected PlatformContentItemService platformContentItemService
@Autowired(required=false) protected com.flowable.core.content.api.CoreContentService contentService
@Autowired(required=false) protected com.flowable.core.content.api.MetadataService metadataService
@Autowired(required=false) protected com.flowable.core.content.api.DocumentRepositoryService documentRepositoryService
@Autowired(required=false) protected DocumentMetadataHandler documentMetadataHandler
@Autowired protected PlatformRestVariableTransformer variableTransformer
@Autowired protected org.flowable.spring.SpringProcessEngineConfiguration engineConfiguration
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public PlatformProcessInstanceService(boolean enableAuditLog)
public ProcessInstanceRepresentation getProcessInstance(String processInstanceId, boolean includeTranslations)
protected void addTranslations(ProcessInstanceRepresentation processInstanceRepresentation, org.flowable.engine.repository.ProcessDefinition processDefinition)
public Map<String,Object> getStartFormVariablesByProcessInstanceId(String processInstanceId)
public ProcessInstanceRepresentation startNewProcessInstance(CreateProcessInstanceRepresentation startRequest, boolean includeTranslations)
public org.flowable.form.api.FormInfo getWorkFormForProcessInstanceId(String processInstanceId)
protected org.flowable.form.api.FormInfo getFormInfo(String processInstanceId, String deploymentId, String processDefinitionId, String tenantId)
public Map<String,Object> getVariablesByProcessInstanceIdWithPermissionCheck(String processInstanceId, String subScopeId)
public Map<String,Object> getVariablesByProcessInstanceId(String processInstanceId, String subScopeId)
protected org.flowable.engine.runtime.ProcessInstance fetchProcessInstance(String processInstanceId)
protected ProcessInstanceInfo fetchProcessInstanceWithHistory(String processInstanceId)
protected boolean isFormFieldValidationEnabled(org.flowable.common.engine.api.variable.VariableContainer variableContainer, String workFormValidationExpression)
protected String getWorkFormValidationExpression(String processDefinitionId)
protected void logSaveProcessEvent(org.flowable.engine.runtime.ProcessInstance processInstance)
public org.flowable.common.rest.api.DataResponse<CommentInstanceRepresentation> getProcessInstanceComments(CommentQueryRequest request)
public CommentInstanceRepresentation createProcessInstanceComment(String processInstanceId, String commentContent)
public CommentInstanceRepresentation updateProcessInstanceComment(String processInstanceId, String commentId, String commentContent)
Copyright © 2019. All rights reserved.