public interface BaseWorkflow
| Modifier and Type | Method and Description |
|---|---|
void |
deleteProcessDefinition(long pdId)
Delete process definition.
|
void |
endTaskInstance(long tiId,
String transName)
End task instance.
|
List<ProcessDefinition> |
findAllProcessDefinitions()
Find all process definitions list.
|
ProcessDefinition |
findLastProcessDefinition(String name)
Find last process definition process definition.
|
List<ProcessDefinition> |
findLatestProcessDefinitions()
Find latest process definitions list.
|
TaskInstanceResultSet |
findPooledTaskInstances()
Find pooled task instances task instance result set.
|
List<ProcessInstance> |
findProcessInstances(long pdId)
Find process instances list.
|
List<ProcessInstance> |
findProcessInstancesByNode(String uuid)
Find process instances list by node
|
List<TaskInstance> |
findTaskInstances(long piId)
Find task instances list.
|
TaskInstanceResultSet |
findUserTaskInstances()
Find user task instances task instance result set.
|
ProcessDefinition |
getProcessDefinition(long pdId)
Gets process definition.
|
Map<String,List<FormElement>> |
getProcessDefinitionForms(long pdId)
Gets process definition forms.
|
String |
getProcessDefinitionImage(String pdId,
String uuid)
Gets process definition image.
|
ProcessInstance |
getProcessInstance(long piId)
Gets process instance.
|
TaskInstance |
getTaskInstance(long tiId)
Gets task instance.
|
void |
registerProcessDefinition(InputStream is)
Register process definition.
|
ProcessInstance |
runProcessDefinition(long pdId,
String uuid,
Map<String,String> propertiesMap)
Run process definition process instance.
|
void |
setTaskInstanceActorId(long tiId,
String actorId)
Sets task instance actor id.
|
void |
setTaskInstanceValues(long pdId,
long tiId,
String tiName,
String transName,
Map<String,String> properties)
Sets task instance values.
|
void |
startTaskInstance(long tiId)
Start task instance.
|
void registerProcessDefinition(InputStream is) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
is - the isAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid deleteProcessDefinition(long pdId)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknownException,
WebserviceException
pdId - the pd idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionProcessDefinition getProcessDefinition(long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
pdId - the pd idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionProcessInstance runProcessDefinition(long pdId, String uuid, Map<String,String> propertiesMap) throws WorkflowException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
pdId - the pd iduuid - the uuidpropertiesMap - the properties mapWorkflowException - the workflow exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<ProcessInstance> findProcessInstances(long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
pdId - the pd idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<ProcessDefinition> findAllProcessDefinitions() throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
AccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<ProcessDefinition> findLatestProcessDefinitions() throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
AccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionProcessDefinition findLastProcessDefinition(String name) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
name - the nameAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionProcessInstance getProcessInstance(long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
piId - the pi idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionTaskInstanceResultSet findUserTaskInstances() throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
AccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<TaskInstance> findTaskInstances(long piId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
piId - the pi idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid setTaskInstanceValues(long pdId,
long tiId,
String tiName,
String transName,
Map<String,String> properties)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknownException,
WebserviceException
pdId - the pd idtiId - the ti idtiName - the ti nametransName - the trans nameproperties - the propertiesAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionTaskInstance getTaskInstance(long tiId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
tiId - the ti idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid startTaskInstance(long tiId)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknownException,
WebserviceException
tiId - the ti idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid setTaskInstanceActorId(long tiId,
String actorId)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknownException,
WebserviceException
tiId - the ti idactorId - the actor idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid endTaskInstance(long tiId,
String transName)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknownException,
WebserviceException
tiId - the ti idtransName - the trans nameAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionMap<String,List<FormElement>> getProcessDefinitionForms(long pdId) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
pdId - the pd idParseException - the parse exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionString getProcessDefinitionImage(String pdId, String uuid) throws PathNotFoundException, AccessDeniedException, ConversionException, AutomationException, RepositoryException, DatabaseException, UnknownException, WebserviceException
pdId - the pd iduuid - the uuidPathNotFoundException - the path not found exceptionAccessDeniedException - the access denied exceptionConversionException - the conversion exceptionAutomationException - the automation exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionTaskInstanceResultSet findPooledTaskInstances() throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
AccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<ProcessInstance> findProcessInstancesByNode(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
uuid - the uuidAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWorkflowException - the workflow exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionCopyright © 2023 Open Knowledge Management System S.L.. All Rights Reserved.