public class WorkflowImpl extends ClientImpl implements BaseWorkflow
Constructor and Description |
---|
WorkflowImpl(String host,
String user,
String password,
BeanHelper beanHelper)
OKMAuth
|
Modifier and Type | Method and Description |
---|---|
void |
deleteProcessDefinition(long pdId) |
void |
endTaskInstance(long tiId,
String transName) |
List<ProcessDefinition> |
findAllProcessDefinitions() |
ProcessDefinition |
findLastProcessDefinition(String name) |
List<ProcessDefinition> |
findLatestProcessDefinitions() |
List<ProcessInstance> |
findProcessInstances(long pdId) |
List<TaskInstance> |
findTaskInstances(long piId) |
List<TaskInstance> |
findUserTaskInstances() |
ProcessDefinition |
getProcessDefinition(long pdId) |
Map<String,List<FormElement>> |
getProcessDefinitionForms(long pdId) |
ProcessInstance |
getProcessInstance(long piId) |
TaskInstance |
getTaskInstance(long tiId) |
void |
registerProcessDefinition(InputStream is) |
ProcessInstance |
runProcessDefinition(long pdId,
String uuid,
List<FormElement> values) |
void |
setTaskInstanceActorId(long tiId,
String actorId) |
void |
setTaskInstanceValues(long tiId,
String transName,
List<FormElement> values) |
void |
startTaskInstance(long tiId) |
getClient
public WorkflowImpl(String host, String user, String password, BeanHelper beanHelper)
public void registerProcessDefinition(InputStream is) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, WorkflowException, IOException, UnknowException, WebserviceException
registerProcessDefinition
in interface BaseWorkflow
AccessDeniedException
ParseException
RepositoryException
DatabaseException
WorkflowException
IOException
UnknowException
WebserviceException
public void deleteProcessDefinition(long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
deleteProcessDefinition
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public ProcessDefinition getProcessDefinition(long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessDefinition
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public ProcessInstance runProcessDefinition(long pdId, String uuid, List<FormElement> values) throws WorkflowException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
runProcessDefinition
in interface BaseWorkflow
WorkflowException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<ProcessInstance> findProcessInstances(long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findProcessInstances
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public List<ProcessDefinition> findAllProcessDefinitions() throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findAllProcessDefinitions
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public List<ProcessDefinition> findLatestProcessDefinitions() throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findLatestProcessDefinitions
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public ProcessDefinition findLastProcessDefinition(String name) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findLastProcessDefinition
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public ProcessInstance getProcessInstance(long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessInstance
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public List<TaskInstance> findUserTaskInstances() throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findUserTaskInstances
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public List<TaskInstance> findTaskInstances(long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findTaskInstances
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public void setTaskInstanceValues(long tiId, String transName, List<FormElement> values) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
setTaskInstanceValues
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public TaskInstance getTaskInstance(long tiId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getTaskInstance
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public void setTaskInstanceActorId(long tiId, String actorId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
setTaskInstanceActorId
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public void startTaskInstance(long tiId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
startTaskInstance
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public void endTaskInstance(long tiId, String transName) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
endTaskInstance
in interface BaseWorkflow
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public Map<String,List<FormElement>> getProcessDefinitionForms(long pdId) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessDefinitionForms
in interface BaseWorkflow
ParseException
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
Copyright © 2017 Open Knowledge Management System S.L.. All Rights Reserved.