@Service public class ActivitiTaskFormService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.activiti.form.api.FormRepositoryService |
formRepositoryService |
protected org.activiti.form.api.FormService |
formService |
protected HistoryService |
historyService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected PermissionService |
permissionService |
protected RepositoryService |
repositoryService |
protected TaskService |
taskService |
| Constructor and Description |
|---|
ActivitiTaskFormService() |
| Modifier and Type | Method and Description |
|---|---|
void |
completeTaskForm(String taskId,
CompleteFormRepresentation completeTaskFormRepresentation) |
List<ProcessInstanceVariableRepresentation> |
getProcessInstanceVariables(String taskId) |
FormDefinition |
getTaskForm(String taskId) |
@Autowired protected TaskService taskService
@Autowired protected RepositoryService repositoryService
@Autowired protected HistoryService historyService
@Autowired protected org.activiti.form.api.FormRepositoryService formRepositoryService
@Autowired protected org.activiti.form.api.FormService formService
@Autowired protected PermissionService permissionService
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public FormDefinition getTaskForm(String taskId)
public void completeTaskForm(String taskId, CompleteFormRepresentation completeTaskFormRepresentation)
public List<ProcessInstanceVariableRepresentation> getProcessInstanceVariables(String taskId)
Copyright © 2017 Alfresco. All rights reserved.