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) void
terminate
(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:WorkflowProcessService
Loads the details of a workflow process with the given reference.- Specified by:
loadProcess
in 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:WorkflowProcessService
This method terminates the workflow process given.- Specified by:
terminate
in 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:
search
in interfacecom.lexmark.saperion.search.SearchExecutionService<WorkflowProcessListItemType>
- Throws:
com.lexmark.saperion.exceptions.EcmException
-