public class WorkflowImpl extends ClientImpl implements BaseWorkflow, Serializable
| Constructor and Description |
|---|
WorkflowImpl(String host)
OKMAuth
|
getClient, resource, resourcepublic WorkflowImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public void registerProcessDefinition(InputStream is) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
registerProcessDefinition in interface BaseWorkflowAccessDeniedExceptionParseExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionpublic void deleteProcessDefinition(long pdId)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
WorkflowException,
UnknownException,
WebserviceException
deleteProcessDefinition in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionpublic ProcessDefinition getProcessDefinition(long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
getProcessDefinition in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionpublic ProcessInstance runProcessDefinition(long pdId, String uuid, Map<String,String> propertiesMap) throws WorkflowException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
runProcessDefinition in interface BaseWorkflowWorkflowExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic List<ProcessInstance> findProcessInstances(long pdId) throws AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
findProcessInstances in interface BaseWorkflowAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionpublic List<ProcessDefinition> findAllProcessDefinitions() throws RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException, AccessDeniedException
findAllProcessDefinitions in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic List<ProcessDefinition> findLatestProcessDefinitions() throws RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException, AccessDeniedException
findLatestProcessDefinitions in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic ProcessDefinition findLastProcessDefinition(String name) throws RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException, AccessDeniedException
findLastProcessDefinition in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic ProcessInstance getProcessInstance(long piId) throws RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException, AccessDeniedException
getProcessInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic List<TaskInstance> findUserTaskInstances() throws RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException, AccessDeniedException
findUserTaskInstances in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic List<TaskInstance> findTaskInstances(long piId) throws RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException, AccessDeniedException
findTaskInstances in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic void setTaskInstanceValues(long pdId,
long tiId,
String tiName,
String transName,
Map<String,String> properties)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknownException,
WebserviceException,
AccessDeniedException
setTaskInstanceValues in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic TaskInstance getTaskInstance(long tiId) throws RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException, AccessDeniedException
getTaskInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic void setTaskInstanceActorId(long tiId,
String actorId)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknownException,
WebserviceException,
AccessDeniedException
setTaskInstanceActorId in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic void startTaskInstance(long tiId)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknownException,
WebserviceException,
AccessDeniedException
startTaskInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic void endTaskInstance(long tiId,
String transName)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknownException,
WebserviceException,
AccessDeniedException
endTaskInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionpublic Map<String,List<FormElement>> getProcessDefinitionForms(long pdId) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException
getProcessDefinitionForms in interface BaseWorkflowParseExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionpublic String getProcessDefinitionImage(String pdId, String uuid) throws PathNotFoundException, AccessDeniedException, ConversionException, AutomationException, RepositoryException, DatabaseException, UnknownException, WebserviceException
public List<TaskInstance> findPooledTaskInstances() throws RepositoryException, DatabaseException, WorkflowException, UnknownException, WebserviceException, AccessDeniedException
findPooledTaskInstances in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknownExceptionWebserviceExceptionAccessDeniedExceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.