public class WorkflowImpl extends ClientImpl implements BaseWorkflow
Constructor and Description |
---|
WorkflowImpl(String host,
String user,
String password)
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) |
ProcessInstance |
getProcessInstance(long piId) |
TaskInstance |
getTaskInstance(long tiId) |
void |
registerProcessDefinition(InputStream is) |
ProcessInstance |
runProcessDefinition(long pdId,
String uuid,
FormElementComplexList values) |
void |
setTaskInstanceActorId(long tiId,
String actorId) |
void |
setTaskInstanceValues(long tiId,
String transName,
FormElementComplexList values) |
void |
startTaskInstance(long tiId) |
getClient
public void registerProcessDefinition(InputStream is) throws ParseException, RepositoryException, DatabaseException, WorkflowException, IOException, UnknowException, WebserviceException
registerProcessDefinition
in interface BaseWorkflow
ParseException
RepositoryException
DatabaseException
WorkflowException
IOException
UnknowException
WebserviceException
public void deleteProcessDefinition(long pdId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
deleteProcessDefinition
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public ProcessDefinition getProcessDefinition(long pdId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessDefinition
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public ProcessInstance runProcessDefinition(long pdId, String uuid, FormElementComplexList 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 RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findProcessInstances
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public List<ProcessDefinition> findAllProcessDefinitions() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findAllProcessDefinitions
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public List<ProcessDefinition> findLatestProcessDefinitions() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findLatestProcessDefinitions
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public ProcessDefinition findLastProcessDefinition(String name) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findLastProcessDefinition
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public ProcessInstance getProcessInstance(long piId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessInstance
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public List<TaskInstance> findUserTaskInstances() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findUserTaskInstances
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public List<TaskInstance> findTaskInstances(long piId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findTaskInstances
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public void setTaskInstanceValues(long tiId, String transName, FormElementComplexList values) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
setTaskInstanceValues
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public TaskInstance getTaskInstance(long tiId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getTaskInstance
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public void setTaskInstanceActorId(long tiId, String actorId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
setTaskInstanceActorId
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public void startTaskInstance(long tiId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
startTaskInstance
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
public void endTaskInstance(long tiId, String transName) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
endTaskInstance
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
Copyright © 2015. All rights reserved.