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) |
getClientpublic 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 BaseWorkflowAccessDeniedExceptionParseExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionIOExceptionUnknowExceptionWebserviceExceptionpublic void deleteProcessDefinition(long pdId)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException
deleteProcessDefinition in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic ProcessDefinition getProcessDefinition(long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessDefinition in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic ProcessInstance runProcessDefinition(long pdId, String uuid, List<FormElement> values) throws WorkflowException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
runProcessDefinition in interface BaseWorkflowWorkflowExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<ProcessInstance> findProcessInstances(long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findProcessInstances in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic List<ProcessDefinition> findAllProcessDefinitions() throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findAllProcessDefinitions in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic List<ProcessDefinition> findLatestProcessDefinitions() throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findLatestProcessDefinitions in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic ProcessDefinition findLastProcessDefinition(String name) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findLastProcessDefinition in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic ProcessInstance getProcessInstance(long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessInstance in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic List<TaskInstance> findUserTaskInstances() throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findUserTaskInstances in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic List<TaskInstance> findTaskInstances(long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
findTaskInstances in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic void setTaskInstanceValues(long tiId,
String transName,
List<FormElement> values)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException
setTaskInstanceValues in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic TaskInstance getTaskInstance(long tiId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getTaskInstance in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic void setTaskInstanceActorId(long tiId,
String actorId)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException
setTaskInstanceActorId in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic void startTaskInstance(long tiId)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException
startTaskInstance in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic void endTaskInstance(long tiId,
String transName)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException
endTaskInstance in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic Map<String,List<FormElement>> getProcessDefinitionForms(long pdId) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessDefinitionForms in interface BaseWorkflowParseExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.