Package com.lexmark.saperion.delegate
Class AbstractWorkflowProcessDelegateService
java.lang.Object
com.lexmark.saperion.delegate.AbstractDelegateService<WorkflowProcessService>
com.lexmark.saperion.delegate.AbstractWorkflowProcessDelegateService
- All Implemented Interfaces:
com.lexmark.saperion.search.SearchExecutionService<WorkflowProcessListItemType>,WorkflowProcessService
- Direct Known Subclasses:
WorkflowProcessDelegateService
public abstract class AbstractWorkflowProcessDelegateService
extends AbstractDelegateService<WorkflowProcessService>
implements WorkflowProcessService
This
WorkflowProcessService simply delegates to another instance.- Author:
- jschwarz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadProcess(WorkflowProcessReferenceType reference) Loads the details of a workflow process with the given reference.com.lexmark.saperion.search.SearchResultPage<WorkflowProcessListItemType>search(com.lexmark.saperion.search.query.Statement statement, com.lexmark.saperion.search.PageDefinition pageDefinition) voidterminate(WorkflowProcessReferenceType processReference) This method terminates the workflow process given.Methods inherited from class com.lexmark.saperion.delegate.AbstractDelegateService
getDelegate, wrapSearchExecutionService
-
Constructor Details
-
AbstractWorkflowProcessDelegateService
public AbstractWorkflowProcessDelegateService()
-
-
Method Details
-
loadProcess
public WorkflowProcessType loadProcess(WorkflowProcessReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:WorkflowProcessServiceLoads the details of a workflow process with the given reference.- Specified by:
loadProcessin interfaceWorkflowProcessService- Parameters:
reference- the workflow process reference in base64 encoded form of {"id":"xxx"}- Returns:
- the process information
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
terminate
public void terminate(WorkflowProcessReferenceType processReference) throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:WorkflowProcessServiceThis method terminates the workflow process given.- Specified by:
terminatein interfaceWorkflowProcessService- Parameters:
processReference- a reference to the process to terminate in base64 encoded form of {"id":"xxx"}- Throws:
com.lexmark.saperion.exceptions.EcmException
-
search
public com.lexmark.saperion.search.SearchResultPage<WorkflowProcessListItemType> search(com.lexmark.saperion.search.query.Statement statement, com.lexmark.saperion.search.PageDefinition pageDefinition) throws com.lexmark.saperion.exceptions.EcmException - Specified by:
searchin interfacecom.lexmark.saperion.search.SearchExecutionService<WorkflowProcessListItemType>- Throws:
com.lexmark.saperion.exceptions.EcmException
-