public interface WorkflowManager
|Modifier and Type||Method and Description|
returns a workItem by its uniuqeID ($uniqueID)
This method processes a workItem.
The method removes the provide Workitem form the persistence unit managed by the WorkflowManager implementation.
ItemCollection processWorkItem(ItemCollection workitem) throws AccessDeniedException, ProcessingErrorException, PluginException, ModelException
The method is responsible to persist the workItem after successfully processing. The method returns the workItem with additional workflow informations defined by the workfowManager Implementation.
The Method throws an InvalidWorkitemException if the provided workItem is invalid or the provided attributes $taskID and $EventID (integer) did not match an valid modelEntity the workItem can be processed to.
workitem- a workItem instance which should be processed
AccessDeniedException- - thrown if the user has insufficient access to update the workItem
ProcessingErrorException- - thrown if the workitem could not be processed by the workflowKernel
AdapterExceptionAdapterException- - thrown if processing by an adapter fails
PluginException- - thrown if processing by a plugin fails
ItemCollection getWorkItem(String uniqueid)
void removeWorkItem(ItemCollection workitem) throws AccessDeniedException
uniqueid- of the WorkItem to be removed
Copyright © 2006–2022 Imixs Software Solutions GmbH. All rights reserved.