public class WorkflowService extends Object
Constructor and Description |
---|
WorkflowService() |
public void registerProcessDefinition(String token, byte[] pda) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, IOException
public void deleteProcessDefinition(String token, long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public ProcessDefinition getProcessDefinition(String token, long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public byte[] getProcessDefinitionImage(String token, long pdId, String node) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public ProcessInstance runProcessDefinition(String token, long pdId, String uuid, FormElementComplex[] values) throws WorkflowException, AccessDeniedException, RepositoryException, DatabaseException
public ProcessInstance sendProcessInstanceSignal(String token, long piId, String transName) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void endProcessInstance(String token, long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void deleteProcessInstance(String token, long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public ProcessInstance[] findProcessInstances(String token, long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public ProcessDefinition[] findAllProcessDefinitions(String token) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public ProcessDefinition[] findLatestProcessDefinitions(String token) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public ProcessDefinition[] findAllProcessDefinitionVersions(String token, String name) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public long findLastProcessDefinitionId(String token, String name) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public ProcessInstance getProcessInstance(String token, long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void suspendProcessInstance(String token, long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void resumeProcessInstance(String token, long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void addProcessInstanceVariable(String token, long piId, String name, Object value) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void deleteProcessInstanceVariable(String token, long piId, String name) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public TaskInstance[] findUserTaskInstances(String token) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public TaskInstance[] findPooledTaskInstances(String token) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public TaskInstance[] findTaskInstances(String token, long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void setTaskInstanceValues(String token, long tiId, String transName, FormElementComplex[] values) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void addTaskInstanceComment(String token, long tiId, String message) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public TaskInstance getTaskInstance(String token, long tiId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void setTaskInstanceActorId(String token, long tiId, String actorId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void addTaskInstanceVariable(String token, long tiId, String name, Object value) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void deleteTaskInstanceVariable(String token, long tiId, String name) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void startTaskInstance(String token, long tiId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void endTaskInstance(String token, long tiId, String transName) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void suspendTaskInstance(String token, long tiId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void resumeTaskInstance(String token, long tiId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public Token getToken(String token, long tkId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void addTokenComment(String token, long tkId, String message) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void suspendToken(String token, long tkId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void resumeToken(String token, long tkId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public Token sendTokenSignal(String token, long tkId, String transName) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void setTokenNode(String token, long tkId, String nodeName) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
public void endToken(String token, long tkId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException
Copyright © 2018 Open Knowledge Management System S.L.. All rights reserved.