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) |
getClientpublic void registerProcessDefinition(InputStream is) throws ParseException, RepositoryException, DatabaseException, WorkflowException, IOException, UnknowException, WebserviceException
registerProcessDefinition in interface BaseWorkflowParseExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionIOExceptionUnknowExceptionWebserviceExceptionpublic void deleteProcessDefinition(long pdId)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException
deleteProcessDefinition in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic ProcessDefinition getProcessDefinition(long pdId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessDefinition in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic ProcessInstance runProcessDefinition(long pdId, String uuid, FormElementComplexList values) throws WorkflowException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
runProcessDefinition in interface BaseWorkflowWorkflowExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<ProcessInstance> findProcessInstances(long pdId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findProcessInstances in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic List<ProcessDefinition> findAllProcessDefinitions() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findAllProcessDefinitions in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic List<ProcessDefinition> findLatestProcessDefinitions() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findLatestProcessDefinitions in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic ProcessDefinition findLastProcessDefinition(String name) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findLastProcessDefinition in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic ProcessInstance getProcessInstance(long piId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic List<TaskInstance> findUserTaskInstances() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findUserTaskInstances in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic List<TaskInstance> findTaskInstances(long piId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findTaskInstances in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic void setTaskInstanceValues(long tiId,
String transName,
FormElementComplexList values)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException
setTaskInstanceValues in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic TaskInstance getTaskInstance(long tiId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getTaskInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic void setTaskInstanceActorId(long tiId,
String actorId)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException
setTaskInstanceActorId in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic void startTaskInstance(long tiId)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException
startTaskInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic void endTaskInstance(long tiId,
String transName)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException
endTaskInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionCopyright © 2015 Open Knowledge Management System S.L.. All rights reserved.