public class WorkflowImpl extends ClientImpl implements BaseWorkflow, Serializable
| Constructor and Description |
|---|
WorkflowImpl(String host)
OKMAuth
|
getClient, getClient, resource, resourcepublic WorkflowImpl(String host)
public void setAuthorizationToken(String authorizationToken)
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, Map<String,String> propertiesMap) 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 RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findAllProcessDefinitions in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic List<ProcessDefinition> findLatestProcessDefinitions() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findLatestProcessDefinitions in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic ProcessDefinition findLastProcessDefinition(String name) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findLastProcessDefinition in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic ProcessInstance getProcessInstance(long piId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
getProcessInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic List<TaskInstance> findUserTaskInstances() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findUserTaskInstances in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic List<TaskInstance> findTaskInstances(long piId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findTaskInstances in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic void setTaskInstanceValues(long pdId,
long tiId,
String tiName,
String transName,
Map<String,String> properties)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException,
AccessDeniedException
setTaskInstanceValues in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic TaskInstance getTaskInstance(long tiId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
getTaskInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic void setTaskInstanceActorId(long tiId,
String actorId)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException,
AccessDeniedException
setTaskInstanceActorId in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic void startTaskInstance(long tiId)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException,
AccessDeniedException
startTaskInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic void endTaskInstance(long tiId,
String transName)
throws RepositoryException,
DatabaseException,
WorkflowException,
UnknowException,
WebserviceException,
AccessDeniedException
endTaskInstance in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Map<String,List<FormElement>> getProcessDefinitionForms(long pdId) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessDefinitionForms in interface BaseWorkflowParseExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionpublic String getProcessDefinitionImage(String pdId, String uuid) throws PathNotFoundException, AccessDeniedException, ConversionException, AutomationException, RepositoryException, DatabaseException, IOException, UnknowException, WebserviceException
public List<TaskInstance> findPooledTaskInstances() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findPooledTaskInstances in interface BaseWorkflowRepositoryExceptionDatabaseExceptionWorkflowExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.