|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ebasetech.ufs.workflow.server.external.WorkflowManager
public class WorkflowManager
A singleton that is used to support the external tasklist and other job management applications. All of the operations required by the application are already defined in the WorkflowManagement interface
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ebasetech.api.workflow.WorkflowManagement |
---|
com.ebasetech.api.workflow.WorkflowManagement.DecisionEnactmentDescriptor, com.ebasetech.api.workflow.WorkflowManagement.EscalatorEnactmentDescriptor, com.ebasetech.api.workflow.WorkflowManagement.FallibleEnactmentDescriptor, com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor, com.ebasetech.api.workflow.WorkflowManagement.PauseEnactmentDescriptor, com.ebasetech.api.workflow.WorkflowManagement.SystemTaskEnactmentDescriptor, com.ebasetech.api.workflow.WorkflowManagement.TaskEnactmentDescriptor |
Field Summary |
---|
Fields inherited from interface com.ebasetech.api.workflow.Constants |
---|
ASSIGNMENT_ERROR, BAD_PARAMETER_VALUE_TYPE, CANNOT_LOAD_OBJECT, COLON, DOWNCAST_ERROR, EMBEDDED_SQL_EXCEPTION, ENACTMENT_INITIALISATION_EXCEPTION, ENACTMENT_NOT_ACTIVE, FAILED_SETTING_OUT_PARAM, ILLFORMED_PARAMETERS, INVALID_ASSIGNMENT, INVALID_ASSIGNMENT_EXCEPTION, INVALID_COMPLETION, INVALID_POST_EXCEPTION, INVALID_STATE_TRANSITION, INVALID_STATE_TRANSITION_EXCEPTION, MISSING_CALLER, NO_ROLLBACK, NO_SUCH_TASK, NULL_RESOURCE, NULL_TASK_NAME, NULL_VARIABLE_NAME, POOL_ASSIGNMENT_FAILED, PROCESS_ATTRIBUTE_EXCEPTION, PROCESS_STRUCTURE_EXCEPTION, RESOURCE_MANAGEMENT_EXCEPTION, SCRIPT_EXCEPTION_ERROR, SECURITY_EXCEPTION, SETUP_PROPERTIES_EXCEPTION, TRANSACTION_EXCEPTION, UNINITIALISED |
Constructor Summary | |
---|---|
WorkflowManager()
|
Method Summary | |
---|---|
void |
activateProcess(java.lang.String processName,
java.lang.String reason,
java.lang.String caller)
Sets the state of the named process to be active. |
void |
assign(java.lang.String taskEnactmentDescriptorId,
java.lang.String actorId,
boolean onlyIfUnassigned,
java.lang.String reason,
java.lang.String caller)
Assign a particular actor to the denoted task enactment |
void |
assign(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String actorId,
boolean onlyIfUnassigned,
java.lang.String reason,
java.lang.String caller)
Assign a particular actor to the denoted task enactment |
void |
cancel(java.lang.String taskEnactmentDescriptor,
java.lang.String reason,
java.lang.String caller)
Moves the identified task to the cancelled state. |
void |
cancel(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String reason,
java.lang.String caller)
Moves the identified task to the cancelled state. |
void |
cancelJob(java.lang.String jobDescriptor,
java.lang.String reason,
java.lang.String caller)
Cancels a currently executing job |
void |
cancelJob(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor,
java.lang.String reason,
java.lang.String caller)
Cancels a currently executing job |
void |
complete(java.lang.String taskEnactmentDescriptor,
java.lang.String completionState,
java.util.Map outParams,
java.lang.String reason,
java.lang.String caller)
Sets the output parameters as defined in the supplied map and Notifies the Job that the enactment has been completed with the given completion state. |
void |
complete(java.lang.String taskEnactmentDescriptor,
java.lang.String completionState,
java.lang.String reason,
java.lang.String caller)
Notifies the Job that the enactment has been completed with the given completion state. |
void |
complete(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String completionState,
java.util.Map outParams,
java.lang.String reason,
java.lang.String caller)
Sets the output parameters as defined in the supplied map and notifies the Job that the enactment has been completed with the given completion state. |
void |
complete(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String completionState,
java.lang.String reason,
java.lang.String caller)
Notifies the Job that the enactment has been completed with the given completion state. |
java.lang.String |
descriptionOf(java.lang.String taskEnactmentDescriptor,
java.lang.String language,
java.lang.String caller)
Answers the description of the described task. |
java.lang.String |
descriptionOf(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String caller)
Answers the description of the described task. |
com.ebasetech.ufs.workflow.server.enactment.ExecutionDescriptor |
descriptorFor(java.lang.String taskEnactmentDescriptorId,
java.lang.String language,
java.lang.String caller)
Re-get the execution descriptor for the defined task. |
com.ebasetech.ufs.workflow.server.enactment.ExecutionDescriptor |
descriptorFor(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String language,
java.lang.String caller)
Re-get the execution descriptor for the defined task. |
void |
forceAssign(java.lang.String taskEnactmentDescriptorId,
java.lang.String actorId,
java.lang.String reason,
java.lang.String caller)
Assign a particular actor to the denoted task enactment using a stringified identifier, forcing the assignment to be accepted, if the supplied actor exists, by the underlying assignment handler |
void |
forceAssign(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String actorId,
java.lang.String reason,
java.lang.String caller)
Assign a particular actor to the denoted task enactment, forcing the assignment to be accepted, if the supplied actor exists, by the underlying assignment handler |
void |
forceCompletion(java.lang.String fallibleDescriptor,
java.lang.String reason,
java.lang.String caller)
Force the completion of a previously failed node enactment as identified by a stringified descriptor |
void |
forceCompletion(com.ebasetech.api.workflow.WorkflowManagement.FallibleEnactmentDescriptor fallibleDescriptor,
java.lang.String reason,
java.lang.String caller)
Force the completion of a previously failed node enactment |
java.util.Collection |
getCandidateActors(java.lang.String taskEnactmentDescriptorId,
java.lang.String caller)
Answers a collection of the possible actor assignments to the identified task enactment |
java.util.Collection |
getCandidateActors(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String caller)
Answers a collection of the possible actor assignments to the identified task enactment |
java.util.List |
getFailedNodes(java.lang.String language,
java.lang.String caller)
Answers a list of FallibleEnactmentDescriptors, each of which describes a particular failed system task. |
java.util.List |
getFilteredAuditRecords(java.lang.String processName,
java.lang.String jobId,
java.lang.String taskId,
java.lang.Integer level,
java.lang.String auditCaller,
java.lang.String reason,
java.lang.String source,
java.util.Date loggedBefore,
java.util.Date loggedAfter,
int maxRecords,
java.lang.String language,
java.lang.String caller)
Answer a list of Audit objects which meet the supplied filter criteria |
java.util.List |
getFilteredJobs(java.lang.String jobId,
java.lang.String process,
java.lang.String opener,
java.lang.String owner,
java.lang.Boolean finished,
java.util.Date creationDate1,
java.util.Date creationDate2,
java.util.Date modifiedDate1,
java.util.Date modifiedDate2,
java.util.Map<java.lang.String,java.lang.String> processAttributes,
boolean ignoreSubJobs,
boolean includeStepMode,
java.lang.String language,
java.lang.String caller)
Answer a list of implementations of the JobDescriptor interface, each of which describes a current job in the system that meets the supplied filter criteria |
java.util.List |
getFilteredPendingEscalators(java.lang.String escalatedNodeName,
java.lang.String escalatedEnactment,
java.lang.String contingentEnactment,
java.lang.String jobDescriptor,
java.lang.String processName,
java.lang.String actorId,
java.util.Date dueBefore,
java.util.Date dueAfter,
boolean waiting,
boolean active,
boolean completed,
boolean cancelled,
boolean skipped,
java.lang.String language,
java.lang.String caller)
Answer a list of implementations of the EscalatorEnactmentDescriptors interface, each of which describes a current extant escalator in the system that meets the supplied filter criteria. |
java.util.List |
getFilteredTasks(java.lang.String nodeClass,
java.lang.String taskId,
java.lang.String jobId,
java.lang.String processName,
java.lang.String actorId,
java.lang.String assignableToActor,
boolean includeActorTasks,
boolean includePooledTasks,
java.lang.String assignableToRole,
boolean unassigned,
boolean waiting,
boolean active,
boolean paused,
boolean completed,
boolean cancelled,
boolean failed,
boolean skipped,
java.lang.String language,
java.lang.String caller)
Finds out the extant node enactments which meet the supplied filter criteria. |
java.util.List |
getJobs(boolean includeStepMode,
java.lang.String language,
java.lang.String caller)
|
java.util.List |
getJobs(java.lang.String language,
java.lang.String caller)
Answer the list of all currently executing Jobs, each described by a JobDescriptor This list will include sub-jobs |
java.util.List |
getJobsForOwner(java.lang.String owner,
java.lang.String language,
java.lang.String caller)
Answer a list of implementations of the JobDescriptor interface, each of which describes a current job in the system that's owned by the named owner This will include sub jobs. |
java.util.List |
getPendingEscalators(java.lang.String language,
java.lang.String caller)
Answers a list of EscalatorEnactmentDescriptors that list each of the escalators that are extant within the system |
java.lang.Object |
getProcessAttributeValue(java.lang.String jobDescriptor,
java.lang.String name,
java.lang.String caller)
Gets the value for the named process attribute. |
java.lang.Object |
getProcessAttributeValue(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor,
java.lang.String name,
java.lang.String caller)
Gets the value for the named process attribute. |
java.util.Map |
getProcessAttributeValues(java.lang.String jobDescriptor,
java.lang.String caller)
Gets a map of name value pairs for process attributes. |
java.lang.String |
getProcessDescription(java.lang.String processName,
java.lang.String language,
java.lang.String caller)
Answers the description of the latest released version of the named process. |
java.util.List |
getProcesses(java.lang.String name,
java.lang.Boolean quiescent,
java.lang.String owner,
java.lang.String creator,
java.lang.Boolean deleted,
java.lang.String caller,
java.lang.String language)
Answer the list of all latest process versions matching the supplied filter criteria each described by a ProcessDescriptor. |
java.util.List |
getProcessInParameters(java.lang.String processName,
java.lang.String caller)
Answers a list of input parameter names for the given process. |
java.util.List |
getTasks(java.lang.String jobDescriptor,
java.lang.String language,
java.lang.String caller)
Finds out the extant interactive task enactments for a given job using a stringified descriptor |
java.util.List |
getTasks(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor,
java.lang.String language,
java.lang.String caller)
Finds out the extant interactive task enactments for a given job. |
java.util.List |
getTasksForActor(java.lang.String actor,
boolean unassigned,
java.lang.String language,
java.lang.String caller)
Answers a list of TaskEnactmentDescriptors, each of which describes a particular item which is either on, or could appear on, a users tasklist. |
java.util.List |
getTasksForActor(java.lang.String actor,
java.lang.String language,
java.lang.String caller)
Answers a list of TaskEnactmentDescriptors, each of which describes a particular item which is either on, or could appear on, a users tasklist. |
java.util.List |
getTasksForRole(java.lang.String role,
boolean unassigned,
java.lang.String language,
java.lang.String caller)
Answers a list of TaskEnactmentDescriptors, each of which describes a particular item which is either on, or could appear on, a users tasklist. |
static void |
Initialise(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
Some customer _must_ initialise this singleton before using it |
static com.ebasetech.api.workflow.WorkflowManagement |
Instance()
Answer the single instance of this class |
com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor |
open(java.lang.String processName,
java.lang.String opener,
java.lang.String owner,
java.util.Map inParams,
java.lang.String reason,
java.lang.String caller)
Starts a new job on an existing process, supplying the input parameters. |
com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor |
open(java.lang.String processName,
java.lang.String opener,
java.lang.String owner,
java.lang.String reason,
java.lang.String caller)
Starts a new job on a defined process specifying both the opener and the owner. |
java.util.List |
openedJobs(java.lang.String opener,
java.lang.String caller,
java.lang.String language)
Answer a list of implementations of the JobDescriptor interface, each of which describes a current job in the system that's owned by the defined user |
com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor |
openJobAndCompleteFirstTask(java.lang.String processName,
java.lang.String opener,
java.lang.String owner,
java.lang.String taskName,
java.lang.String completionState,
java.util.Map jobInParams,
java.util.Map firstTaskOutParams,
java.lang.String language,
java.lang.String reason,
java.lang.String caller)
Starts a new job on an existing process and signals that the first interactive task, which must be uniquely determinable, has been completed with the supplied completion state. |
com.ebasetech.ufs.workflow.server.enactment.ExecutionDescriptor |
openTask(java.lang.String taskEnactmentDescriptorId,
java.lang.String language,
java.lang.String reason,
java.lang.String caller)
Open an assigned task. |
com.ebasetech.ufs.workflow.server.enactment.ExecutionDescriptor |
openTask(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String language,
java.lang.String reason,
java.lang.String caller)
Open an assigned task. |
void |
pause(java.lang.String taskEnactmentDescriptor,
java.lang.String reason,
java.lang.String caller)
Sets the identified task to the paused state. |
void |
pause(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String reason,
java.lang.String caller)
Sets the identified task to the paused state. |
void |
post(java.lang.String process,
java.util.Map<java.lang.String,java.lang.String> processAttributes,
java.lang.String eventId,
java.lang.String reason,
java.lang.String caller)
Posts the pause node identified by the event id, which runs the script associated with the node. |
void |
post(java.lang.String jobDescriptor,
java.lang.String eventId,
java.lang.String reason,
java.lang.String caller)
Posts the pause node identified by the event id, which runs the script associated with the node. |
void |
post(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor,
java.lang.String eventId,
java.lang.String reason,
java.lang.String caller)
Posts the pause node identified by the event id, which runs the script associated with the node. |
void |
quiesceProcess(java.lang.String processName,
java.lang.String reason,
java.lang.String caller)
Sets the state of the named process to be quiescent. |
void |
reexecute(java.lang.String fallibleDescriptor,
java.lang.String reason,
java.lang.String caller)
Re-execute a previously failed node enactment as identified by a stringified descriptor |
void |
reexecute(com.ebasetech.api.workflow.WorkflowManagement.FallibleEnactmentDescriptor fallibleDescriptor,
java.lang.String reason,
java.lang.String caller)
Re-execute a previously failed node enactment |
void |
reinstateProcess(java.lang.String processName,
java.lang.String reason,
java.lang.String caller)
Clears the "deleted" flag on the process. |
void |
setJobOwner(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor,
java.lang.String actorId,
java.lang.String reason,
java.lang.String caller)
Assign a particular owner to the denoted job |
void |
setOutputParameter(java.lang.String taskEnactmentDescriptor,
java.lang.String name,
java.lang.Object value,
java.lang.String reason,
java.lang.String caller)
Sets a value for the named activity output parameter to be used in subsequent processing. |
void |
setOutputParameter(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String name,
java.lang.Object value,
java.lang.String reason,
java.lang.String caller)
Sets a value for the named activity output parameter to be used in subsequent processing. |
void |
setOutputParameters(java.lang.String taskEnactmentDescriptor,
java.util.Map outParams,
java.lang.String reason,
java.lang.String caller)
Sets a value for the named activity output parameter to be used in subsequent processing. |
void |
setOutputParameters(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.util.Map outParams,
java.lang.String reason,
java.lang.String caller)
Sets a value for the named activity output parameter to be used in subsequent processing. |
void |
setPriority(java.lang.String taskEnactmentDescriptor,
int priority,
java.lang.String reason,
java.lang.String caller)
Changes the priority of the identified task enactment. |
void |
setPriority(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
int priority,
java.lang.String reason,
java.lang.String caller)
Changes the priority of the identified task enactment. |
void |
setProcessAttributeValue(java.lang.String jobDescriptor,
java.lang.String name,
java.lang.Object value,
java.lang.String reason,
java.lang.String caller)
Sets the value for the named process attribute. |
void |
setProcessAttributeValue(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor,
java.lang.String name,
java.lang.Object value,
java.lang.String reason,
java.lang.String caller)
Sets the value for the named process attribute. |
void |
setWaiting(java.lang.String taskEnactmentDescriptor,
java.lang.String reason,
java.lang.String caller)
Sets the identified task to the waiting state. |
void |
setWaiting(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String reason,
java.lang.String caller)
Sets the identified task to the waiting state. |
com.ebasetech.ufs.workflow.server.enactment.state.State |
stateOf(java.lang.String enactmentDescriptor,
java.lang.String caller)
Answers the state of the described task. |
com.ebasetech.ufs.workflow.server.enactment.state.State |
stateOf(com.ebasetech.api.workflow.WorkflowManagement.FallibleEnactmentDescriptor enactmentDescriptor,
java.lang.String caller)
Answers the state of the described enactment. |
void |
unassign(java.lang.String taskEnactmentDescriptor,
java.lang.String reason,
java.lang.String caller)
Remove any current actor assignment to the identified task. |
void |
unassign(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String reason,
java.lang.String caller)
Remove any current actor assignment to the identified task |
void |
unpause(java.lang.String taskEnactmentDescriptor,
java.lang.String reason,
java.lang.String caller)
Moves the identified task from the paused state. |
void |
unpause(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor,
java.lang.String reason,
java.lang.String caller)
Moves the identified task from the paused state. |
void |
unsetJobOwner(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor,
java.lang.String reason,
java.lang.String caller)
Clears the owner for the denoted job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowManager()
Method Detail |
---|
public static void Initialise(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy) throws com.ebasetech.ufs.kernel.SetupPropertiesException
com.ebasetech.ufs.kernel.SetupPropertiesException
public static com.ebasetech.api.workflow.WorkflowManagement Instance() throws WorkflowManagementException
WorkflowManagementException
public java.util.List getTasksForActor(java.lang.String actor, boolean unassigned, java.lang.String language, java.lang.String caller) throws WorkflowManagementException, com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getTasksForActor
in interface com.ebasetech.api.workflow.WorkflowManagement
actor
- The actor for which the tasklist is intendedunassigned
- If true, answer all task enactments that are currently in state Unassigned
and which could be undertaken by the supplied actor. If false, then only those tasks
which have the given actor allocated as their actorId are returned.caller
- language
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List getTasksForActor(java.lang.String actor, java.lang.String language, java.lang.String caller) throws WorkflowManagementException, com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getTasksForActor
in interface com.ebasetech.api.workflow.WorkflowManagement
actor
- The actor for which the tasklist is intendedcaller
- language
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List getFailedNodes(java.lang.String language, java.lang.String caller) throws WorkflowManagementException, com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getFailedNodes
in interface com.ebasetech.api.workflow.WorkflowManagement
language
- the language code for the language in use by the callercaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic void reexecute(com.ebasetech.api.workflow.WorkflowManagement.FallibleEnactmentDescriptor fallibleDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
reexecute
in interface com.ebasetech.api.workflow.WorkflowManagement
fallibleDescriptor
- a descriptor of the failed enactmentreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.getFailedNodes(String, String)
,
WorkflowManagement.reexecute(String, String, String)
public void reexecute(java.lang.String fallibleDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
reexecute
in interface com.ebasetech.api.workflow.WorkflowManagement
fallibleDescriptor
- a descriptor of the failed enactment, acquired from getIdentifier()reason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.reexecute(com.ebasetech.api.workflow.WorkflowManagement.FallibleEnactmentDescriptor, String, String)
,
WorkflowManagement.FallibleEnactmentDescriptor.getIdentifier()
public void forceCompletion(com.ebasetech.api.workflow.WorkflowManagement.FallibleEnactmentDescriptor fallibleDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
forceCompletion
in interface com.ebasetech.api.workflow.WorkflowManagement
fallibleDescriptor
- a descriptor of the failed enactmentreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.forceCompletion(String, String, String)
public void forceCompletion(java.lang.String fallibleDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
forceCompletion
in interface com.ebasetech.api.workflow.WorkflowManagement
fallibleDescriptor
- a descriptor of the failed enactmentreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.forceCompletion(com.ebasetech.api.workflow.WorkflowManagement.FallibleEnactmentDescriptor, String, String)
,
WorkflowManagement.FallibleEnactmentDescriptor.getIdentifier()
public java.util.List getTasksForRole(java.lang.String role, boolean unassigned, java.lang.String language, java.lang.String caller) throws WorkflowManagementException, com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getTasksForRole
in interface com.ebasetech.api.workflow.WorkflowManagement
role
- The role which is of interestunassigned
- If true, answer all task enactments that are currently in state Unassigned
and which could be taken up by an actor playing the defined role. If false,
answer those enactments which could be taken up by an actor playing the defined role and which
have already been assigned to a particular actorcaller
- language
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic void assign(java.lang.String taskEnactmentDescriptorId, java.lang.String actorId, boolean onlyIfUnassigned, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowManagementException, WorkflowSecurityException
assign
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptorId
- Handle of the descriptor of the assignable object that is to be updatedactorId
- The name of the actor to assign to the enactmentonlyIfUnassigned
- If true, this will throw an exception if the task is already assignedreason
- caller
-
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.assign(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor,String,boolean,String,String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void assign(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String actorId, boolean onlyIfUnassigned, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowManagementException, WorkflowSecurityException
assign
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- The assignable object that is to be updatedactorId
- The name of the actor to assign to the enactmentonlyIfUnassigned
- If true, this will throw an exception if the task is already assignedreason
- caller
-
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.assign(String,String,boolean,String,String)
public void forceAssign(java.lang.String taskEnactmentDescriptorId, java.lang.String actorId, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowManagementException, WorkflowSecurityException
forceAssign
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptorId
- Handle of the descriptor of the assignable object that is to be updatedactorId
- The name of the actor to assign to the enactmentreason
- caller
-
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.assign(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor,String,boolean,String,String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void forceAssign(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String actorId, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowManagementException, WorkflowSecurityException
forceAssign
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- The assignable object that is to be updatedactorId
- The name of the actor to assign to the enactmentreason
- caller
-
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.assign(String,String,boolean,String,String)
public void unassign(java.lang.String taskEnactmentDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
unassign
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- Handle to the object to be unassignedreason
- caller
-
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.unassign(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String, String)
public void unassign(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
unassign
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- Handle to the assignable object to updatereason
- caller
-
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.unassign(String, String, String)
public com.ebasetech.ufs.workflow.server.enactment.ExecutionDescriptor openTask(java.lang.String taskEnactmentDescriptorId, java.lang.String language, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
openTask
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptorId
- Descriptor of the task enactment to be openedreason
- caller
- language
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public com.ebasetech.ufs.workflow.server.enactment.ExecutionDescriptor openTask(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String language, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
openTask
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- Descriptor of the task enactment to be openedreason
- caller
- language
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.openTask(String,String,String,String)
public com.ebasetech.ufs.workflow.server.enactment.ExecutionDescriptor descriptorFor(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
descriptorFor
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- Descriptor of the task enactment to be openedcaller
- language
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.descriptorFor(String,String,String)
public com.ebasetech.ufs.workflow.server.enactment.ExecutionDescriptor descriptorFor(java.lang.String taskEnactmentDescriptorId, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
descriptorFor
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptorId
- Descriptor of the task enactment to be openedcaller
- language
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.descriptorFor(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public com.ebasetech.ufs.workflow.server.enactment.state.State stateOf(java.lang.String enactmentDescriptor, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
stateOf
in interface com.ebasetech.api.workflow.WorkflowManagement
enactmentDescriptor
- handle to the descriptor of the enactment whose state is requiredcaller
- the id of the caller of the method.
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.stateOf(com.ebasetech.api.workflow.WorkflowManagement.FallibleEnactmentDescriptor, String)
,
WorkflowManagement.FallibleEnactmentDescriptor.getIdentifier()
public com.ebasetech.ufs.workflow.server.enactment.state.State stateOf(com.ebasetech.api.workflow.WorkflowManagement.FallibleEnactmentDescriptor enactmentDescriptor, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
stateOf
in interface com.ebasetech.api.workflow.WorkflowManagement
enactmentDescriptor
- descriptor of the enactment whose state is requiredcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.stateOf(String, String)
public java.lang.String getProcessDescription(java.lang.String processName, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getProcessDescription
in interface com.ebasetech.api.workflow.WorkflowManagement
processName
- name of the processlanguage
- the language code for the language in use by the callercaller
- The id of the user invoking this method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic void activateProcess(java.lang.String processName, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
activateProcess
in interface com.ebasetech.api.workflow.WorkflowManagement
processName
- name of the process whose state is to be changedreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic void quiesceProcess(java.lang.String processName, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
quiesceProcess
in interface com.ebasetech.api.workflow.WorkflowManagement
processName
- name of the process whose state is to be changedreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic void reinstateProcess(java.lang.String processName, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
reinstateProcess
in interface com.ebasetech.api.workflow.WorkflowManagement
processName
- name of the process whose state is to be changedreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.Collection getCandidateActors(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getCandidateActors
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the target enactmentcaller
- The id of the user invoking this method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.getCandidateActors(String, String)
public java.util.Collection getCandidateActors(java.lang.String taskEnactmentDescriptorId, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getCandidateActors
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptorId
- handle to the descriptor of the target enactmentcaller
- The id of the user invoking this method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.getCandidateActors(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public java.lang.String descriptionOf(java.lang.String taskEnactmentDescriptor, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
descriptionOf
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the target enactmentlanguage
- the language code for the language in use by the callercaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.descriptionOf(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public java.lang.String descriptionOf(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
descriptionOf
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the target enactmentcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.descriptionOf(String, String, String)
public void setWaiting(java.lang.String taskEnactmentDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
setWaiting
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- handle to the descriptor of the enactment to set waitingreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.setWaiting(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void setWaiting(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
setWaiting
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the enactment to set waitingreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.setWaiting(String, String, String)
public void pause(java.lang.String taskEnactmentDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
pause
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- handle to the descriptor of the enactment to pausereason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.pause(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void pause(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
pause
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the enactment to pausereason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.pause(String, String, String)
public void unpause(java.lang.String taskEnactmentDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
unpause
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- handle to the descriptor of the enactment to unpausereason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.unpause(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void unpause(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
unpause
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the enactment to unpausereason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.unpause(String, String, String)
public void cancel(java.lang.String taskEnactmentDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
cancel
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- handle to the descriptor of the enactment to unpausereason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.cancel(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void cancel(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
cancel
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the enactment to unpausereason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.cancel(String, String, String)
public void post(java.lang.String jobDescriptor, java.lang.String eventId, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
post
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- stringified form of the job descriptoreventId
- the event id of the pause node to be postedreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic void post(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor, java.lang.String eventId, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
post
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- descriptor of the job to canceleventId
- the event id of the pause node to be postedreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic void post(java.lang.String process, java.util.Map<java.lang.String,java.lang.String> processAttributes, java.lang.String eventId, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
post
in interface com.ebasetech.api.workflow.WorkflowManagement
process
- name of the processprocessAttributes
- a map of names and values of process attributes to uniquely identify a single jobeventId
- the event id of the pause node to be postedreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic void setPriority(java.lang.String taskEnactmentDescriptor, int priority, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
setPriority
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the enactment to unpausepriority
- new priority for the selected enactment.reason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.setPriority(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, int, String, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void setPriority(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, int priority, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
setPriority
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the enactment to unpausepriority
- new priority for the selected enactment.reason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.setPriority(String, int, String, String)
public com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor open(java.lang.String processName, java.lang.String opener, java.lang.String owner, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
open
in interface com.ebasetech.api.workflow.WorkflowManagement
processName
- the name of the process on which to open a jobopener
- the resource who is opening this jobowner
- the resource who owns this jobreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor open(java.lang.String processName, java.lang.String opener, java.lang.String owner, java.util.Map inParams, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
open
in interface com.ebasetech.api.workflow.WorkflowManagement
processName
- the name of the process on which to open a jobopener
- the resource who is opening this jobowner
- the resource who owns this jobinParams
- Map of process input parameter names and valuesreason
- caller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List getProcessInParameters(java.lang.String processName, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowManagementException, WorkflowSecurityException
getProcessInParameters
in interface com.ebasetech.api.workflow.WorkflowManagement
processName
- the name of the processcaller
- the id of the caller of the method
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor openJobAndCompleteFirstTask(java.lang.String processName, java.lang.String opener, java.lang.String owner, java.lang.String taskName, java.lang.String completionState, java.util.Map jobInParams, java.util.Map firstTaskOutParams, java.lang.String language, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
openJobAndCompleteFirstTask
in interface com.ebasetech.api.workflow.WorkflowManagement
processName
- the name of the process on which to open a new jobopener
- the textual name of the person openign the jobtaskName
- the name of the interactive task that has also been completedcompletionState
- the completion state of the denoted taskjobInParams
- the input parameters for the new job or null of there are nonefirstTaskOutParams
- the output parameters from the completed task or null if there are nonelanguage
- the language code for the language in use by the callerreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List openedJobs(java.lang.String opener, java.lang.String caller, java.lang.String language) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
openedJobs
in interface com.ebasetech.api.workflow.WorkflowManagement
opener
- The opener of the new joblanguage
- caller
- The id of the user invoking this method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List getJobs(java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getJobs
in interface com.ebasetech.api.workflow.WorkflowManagement
caller
- The id of the user invoking this methodlanguage
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List getJobs(boolean includeStepMode, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
com.ebasetech.ufs.utility.PersistenceException
WorkflowManagementException
com.ebasetech.ufs.utility.ConcurrentUpdateException
WorkflowSecurityException
public java.util.List getProcesses(java.lang.String name, java.lang.Boolean quiescent, java.lang.String owner, java.lang.String creator, java.lang.Boolean deleted, java.lang.String caller, java.lang.String language) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getProcesses
in interface com.ebasetech.api.workflow.WorkflowManagement
caller
- The id of the user invoking this methodname
- the name of the processquiescent
- the required state of the versions, or null if don't careowner
- the owner of the process versions, or null if don't carecreator
- the creator of the process versions, or null if don't caredeleted
- the state of the versions' deleted flag, or null if don't carelanguage
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List getPendingEscalators(java.lang.String language, java.lang.String caller) throws WorkflowManagementException, com.ebasetech.ufs.utility.PersistenceException, WorkflowSecurityException, com.ebasetech.ufs.utility.ConcurrentUpdateException
getPendingEscalators
in interface com.ebasetech.api.workflow.WorkflowManagement
caller
- The id of the user invoking this methodlanguage
- the language code for the language in use by the caller
WorkflowManagementException
com.ebasetech.ufs.utility.PersistenceException
WorkflowSecurityException
com.ebasetech.ufs.utility.ConcurrentUpdateException
public java.util.List getTasks(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getTasks
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- caller
- language
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.getTasks(String, String, String)
public java.util.List getTasks(java.lang.String jobDescriptor, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getTasks
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- caller
- language
- the language code for the language in use by the caller
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.getTasks(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor, String, String)
,
WorkflowManagement.JobDescriptor.getIdentifier()
public java.util.List getFilteredTasks(java.lang.String nodeClass, java.lang.String taskId, java.lang.String jobId, java.lang.String processName, java.lang.String actorId, java.lang.String assignableToActor, boolean includeActorTasks, boolean includePooledTasks, java.lang.String assignableToRole, boolean unassigned, boolean waiting, boolean active, boolean paused, boolean completed, boolean cancelled, boolean failed, boolean skipped, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getFilteredTasks
in interface com.ebasetech.api.workflow.WorkflowManagement
nodeClass
- the class name of the node types for which task enactments are required. If null
then all nodes are allowedtaskId
- stringified form of the descriptor for the specific node enactment we're looking for. If
null then all enactments are requuredjobId
- stringified form of job for which enactments are required. If null then enactments for all
jobs are required.processName
- name of process for desired enactments, or null if all processes are acceptableactorId
- name of assigned actor for desired enactments, or null if all are acceptableassignableToActor
- name of actor to which the desired enactments may successfully assigned, or null if all
are acceptableincludeActorTasks
- If true and assignableToActor is set, this will return all tasks which are potentially
assignable to the named actor and are not already assigned to another actor.includePooledTasks
- If true and assignableToActor is set, this will return all tasks which
are potentially assignable to the named actor and are not already assigned to another actor.assignableToRole
- name of role to which the desired enactments may successfully assigned, or null if all
are acceptableunassigned
- if true, return only those enactments that are unassigned. If false, then return all enactments.waiting
- if true, return only those enactments that are waiting. If false, then return all enactments.active
- if true, return only those enactments that are active. If false, then return all enactments.paused
- if true, return only those enactments that are paused. If false, then return all enactments.completed
- if true, return only those enactments that are completed. If false, then return all enactments.cancelled
- if true, return only those enactments that are cancelled. If false, then return all enactments.failed
- if true, return only those enactments that are failed. If false, then return all enactments.skipped
- if true, return only those enactments that are skipped. If false, then return all enactments.language
- the language code for the language in use by the callercaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic void cancelJob(java.lang.String jobDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
cancelJob
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- reason
- caller
-
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.cancelJob(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor, String, String)
,
WorkflowManagement.JobDescriptor.getIdentifier()
public void cancelJob(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
cancelJob
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- descriptor of the job to cancelreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.cancelJob(String, String, String)
public void complete(java.lang.String taskEnactmentDescriptor, java.lang.String completionState, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
complete
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- handle to the descriptor of the enactment that has completedcompletionState
- string representation of the completion state of the enactmentreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.complete(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String, String, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void complete(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String completionState, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
complete
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the enactment that has completedcompletionState
- string representation of the completion state of the enactmentreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.complete(String, String, String, String)
public void complete(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String completionState, java.util.Map outParams, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
complete
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- the descriptor of the enactment that has completedcompletionState
- string representation of the completion state of the enactmentoutParams
- map of the output parameter names and their valuesreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.complete(String, String, java.util.Map, String, String)
public void complete(java.lang.String taskEnactmentDescriptor, java.lang.String completionState, java.util.Map outParams, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
complete
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- handle to the descriptor of the enactment that has completedcompletionState
- string representation of the completion state of the enactmentoutParams
- map of the output parameter names and their valuesreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.complete(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String, java.util.Map, String, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void setOutputParameter(java.lang.String taskEnactmentDescriptor, java.lang.String name, java.lang.Object value, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
setOutputParameter
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the target enactmentname
- the name of the output parametervalue
- the new value of the output parameterreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.setOutputParameter(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, String, Object, String, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void setOutputParameter(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.lang.String name, java.lang.Object value, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
setOutputParameter
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- descriptor of the target enactmentname
- the name of the output parametervalue
- the new value of the output parameterreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.setOutputParameter(String, String, Object, String, String)
public void setOutputParameters(java.lang.String taskEnactmentDescriptor, java.util.Map outParams, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
setOutputParameters
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- stringified form of the descriptor of the target enactmentoutParams
- map of the output parameters names and valuesreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.setOutputParameters(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor, java.util.Map, String, String)
,
WorkflowManagement.InteractiveTaskEnactmentDescriptor.getIdentifier()
public void setOutputParameters(com.ebasetech.api.workflow.WorkflowManagement.InteractiveTaskEnactmentDescriptor taskEnactmentDescriptor, java.util.Map outParams, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
setOutputParameters
in interface com.ebasetech.api.workflow.WorkflowManagement
taskEnactmentDescriptor
- the descriptor of the target enactmentoutParams
- map of the output parameters names and valuesreason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.setOutputParameters(String, java.util.Map, String, String)
public java.lang.Object getProcessAttributeValue(java.lang.String jobDescriptor, java.lang.String name, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getProcessAttributeValue
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- handle to the descriptor of the target jobname
- name of the desired attributecaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.getProcessAttributeValue(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor, String, String)
,
WorkflowManagement.JobDescriptor.getIdentifier()
public java.lang.Object getProcessAttributeValue(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor, java.lang.String name, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getProcessAttributeValue
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- descriptor of the target jobname
- name of the desired attributecaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.getProcessAttributeValue(String, String, String)
public java.util.Map getProcessAttributeValues(java.lang.String jobDescriptor, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getProcessAttributeValues
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- descriptor of the target jobcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.getProcessAttributeValue(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor, String, String)
,
WorkflowManagement.JobDescriptor.getIdentifier()
public void setProcessAttributeValue(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor, java.lang.String name, java.lang.Object value, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
setProcessAttributeValue
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- descriptor of the target jobname
- name of the desired attributevalue
- new value for the named attibutereason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.setProcessAttributeValue(String, String, Object, String, String)
public void setProcessAttributeValue(java.lang.String jobDescriptor, java.lang.String name, java.lang.Object value, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
setProcessAttributeValue
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- handle to the descriptor of the target jobname
- name of the desired attributevalue
- new value for the named attibutereason
- a textual reason for invoking this methodcaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilityWorkflowManagement.setProcessAttributeValue(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor, String, Object, String, String)
,
WorkflowManagement.JobDescriptor.getIdentifier()
public void setJobOwner(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor, java.lang.String actorId, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowManagementException, WorkflowSecurityException
setJobOwner
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- The assignable object that is to be updatedactorId
- The name of the actor to assign to the enactmentreason
- caller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic void unsetJobOwner(com.ebasetech.api.workflow.WorkflowManagement.JobDescriptor jobDescriptor, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowManagementException, WorkflowSecurityException
unsetJobOwner
in interface com.ebasetech.api.workflow.WorkflowManagement
jobDescriptor
- The assignable object that is to be updatedreason
- caller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested objecy
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List getJobsForOwner(java.lang.String owner, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getJobsForOwner
in interface com.ebasetech.api.workflow.WorkflowManagement
owner
- The owner of the new joblanguage
- the language code for the language in use by the callercaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List getFilteredJobs(java.lang.String jobId, java.lang.String process, java.lang.String opener, java.lang.String owner, java.lang.Boolean finished, java.util.Date creationDate1, java.util.Date creationDate2, java.util.Date modifiedDate1, java.util.Date modifiedDate2, java.util.Map<java.lang.String,java.lang.String> processAttributes, boolean ignoreSubJobs, boolean includeStepMode, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getFilteredJobs
in interface com.ebasetech.api.workflow.WorkflowManagement
owner
- The owner of the new jobincludeStepMode
- jobId
- descriptor handle of the required job, of null if all jobs are requiredprocess
- name of the process for which result jobs are required, or null if jobs on all processes are requiredopener
- name of the opener of the desired jobs, or null if all openers are acceptablefinished
- the finished state of the desired jobs, or null if all are requiredcreationDate1
- when creationDateTo is not null, specifies the lower creation date range value for returned jobscreationDate2
- when creationDateFrom is not null, specifies the upper creation date range value for returned jobsmodifiedDate1
- when modifiedDateTo is not null, specifies the lower last modified date range value for returned jobsmodifiedDate2
- when modifiedDateFrom is not null, specifies the upper last modified date range value for returned jobsprocessAttributes
- a map of names and values of process attributes to filter the job byignoreSubJobs
- whether sub-jobs should be included in the results listlanguage
- the language code for the language in use by the callercaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List getFilteredAuditRecords(java.lang.String processName, java.lang.String jobId, java.lang.String taskId, java.lang.Integer level, java.lang.String auditCaller, java.lang.String reason, java.lang.String source, java.util.Date loggedBefore, java.util.Date loggedAfter, int maxRecords, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getFilteredAuditRecords
in interface com.ebasetech.api.workflow.WorkflowManagement
maxRecords
- The maximum number of records to be returned from this query (to avoid out of memory exceptions)processName
- the process name for which audit records are required, or null if any process is acceptable.jobId
- the stringified form of the job descriptor for which records are required, or null if all are acceptabletaskId
- the stringified form of the task descriptor for which records are required, or null if all are acceptablelevel
- the level integer for which records are required, or null if all are acceptableauditCaller
- the caller of the original operation for which records are required, or null if all are acceptablereason
- the desired reason for which records are required, or null if all are acceptablesource
- the source for which records are required, or null if all are acceptableloggedBefore
- the date before which records are required, or null if all are acceptableloggedAfter
- the date after which records are required, or null if all are acceptablelanguage
- the language code for the language in use by the callercaller
- the id of the caller of the method
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facilitypublic java.util.List getFilteredPendingEscalators(java.lang.String escalatedNodeName, java.lang.String escalatedEnactment, java.lang.String contingentEnactment, java.lang.String jobDescriptor, java.lang.String processName, java.lang.String actorId, java.util.Date dueBefore, java.util.Date dueAfter, boolean waiting, boolean active, boolean completed, boolean cancelled, boolean skipped, java.lang.String language, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, WorkflowManagementException, com.ebasetech.ufs.utility.ConcurrentUpdateException, WorkflowSecurityException
getFilteredPendingEscalators
in interface com.ebasetech.api.workflow.WorkflowManagement
escalatedNodeName
- the name of the node which is escalated by the related node of each of the returned
escalator enactments. If null then any node may be escalated by the resultsescalatedEnactment
- descriptor handle of the nodeEnactment which the returned escalators escalate. If null then
the returned escalators may escalate any enactment, subject to the other criteriacontingentEnactment
- descriptor handle of the nodeenactment upon which each returned escalator is
contingent, or null if all contingees are requiredjobDescriptor
- descriptor handle of a job within which the returned escalators must exist, or null
if all jobs are acceptableprocessName
- name of the process, jobs for which contain the returned escalators; or
null if all processes are acceptableactorId
- name of the user to whom the resulting escalators ARE ASSIGNABLE, or null if escalators
targetted at any user are acceptable (NB: This is different to the EscalatorEnactment.FilteredEscalatorEnactments() method)waiting
- if true, all returned escalators are in the waiting state, if false all are returned the finished state of the desired escalator, or null if all are requiredactive
- if true, all returned escalators are in the active state, if false all are returned the finished state of the desired escalator, or null if all are requiredcompleted
- if true, all returned escalators are in the completed state, if false all are returned the finished state of the desired escalator, or null if all are requiredcancelled
- if true, all returned escalators are in the cancelled state, if false all are returned the finished state of the desired escalator, or null if all are requiredskipped
- if true, all returned escalators are in the skipped state, if false all are returned the finished state of the desired escalator, or null if all are requiredlanguage
- the language code for the language in use by the callercaller
- the id of the caller of the methoddueBefore
- the date before which the escalation is due to fire, or null if all are acceptabledueAfter
- the date after which the escalation is due to fire, or null if all are acceptable
WorkflowManagementException
- if there is some problem with invoking the operation on the underlying objects. This
could be, for example, a request to transition the state in a disallowed manner.
com.ebasetech.ufs.utility.PersistenceException
- if there is a problem with the underlying persistence framework such as not
being able to find the requested object
com.ebasetech.ufs.utility.ConcurrentUpdateException
- if accessing the underlying database tables causes a conflict with some
other processer in the cluster
WorkflowSecurityException
- if the supplied caller is not allowed to access this facility
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |