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