public abstract class AbstractWorkflowDefinitionDelegateService extends AbstractDelegateService<WorkflowDefinitionService> implements WorkflowDefinitionService
WorkflowDefinitionService
simply delegates to another instance.Constructor and Description |
---|
AbstractWorkflowDefinitionDelegateService() |
Modifier and Type | Method and Description |
---|---|
TransitionDefinitionType |
getInitialTransition(WorkflowDefinitionReferenceType reference)
This method returns the initial transition definition for the referenced workflow.
|
WorkflowDefinitionType |
getWorkflowDefinitionById(WorkflowDefinitionReferenceType reference)
This method returns further information for a workflow process given by its reference.
|
com.lexmark.saperion.search.SearchResultPage<WorkflowDefinitionListItemType> |
search(com.lexmark.saperion.search.query.Statement statement,
com.lexmark.saperion.search.PageDefinition pageDefinition)
This method returns a list of references for every workflow definition in the system accessible from the
current tenant.
|
WorkflowProcessReferenceType |
startWorkflowProcess(WorkflowDefinitionReferenceType workflowDefinitionReference,
WorkflowStartInputType input)
This method starts a workflow process given a workflow definition and a document (by its id).
|
getDelegate, wrapSearchExecutionService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
startWorkflowProcess
public AbstractWorkflowDefinitionDelegateService()
public com.lexmark.saperion.search.SearchResultPage<WorkflowDefinitionListItemType> search(com.lexmark.saperion.search.query.Statement statement, com.lexmark.saperion.search.PageDefinition pageDefinition) throws com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionService
search
in interface com.lexmark.saperion.search.SearchExecutionService<WorkflowDefinitionListItemType>
search
in interface WorkflowDefinitionService
com.lexmark.saperion.exceptions.EcmException
public WorkflowDefinitionType getWorkflowDefinitionById(WorkflowDefinitionReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionService
getWorkflowDefinitionById
in interface WorkflowDefinitionService
reference
- the workflow definition reference in base64 encoded form of {"name":"xxx"}com.lexmark.saperion.exceptions.EcmException
public WorkflowProcessReferenceType startWorkflowProcess(WorkflowDefinitionReferenceType workflowDefinitionReference, WorkflowStartInputType input) throws com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionService
startWorkflowProcess
in interface WorkflowDefinitionService
workflowDefinitionReference
- the workflow definition reference in base64 encoded form of {"name":"xxx"}input
- the parameters for starting a workflowcom.lexmark.saperion.exceptions.EcmException
public TransitionDefinitionType getInitialTransition(WorkflowDefinitionReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionService
ResourceNotFoundException
.
If the initial transition was not found the method returns null
.getInitialTransition
in interface WorkflowDefinitionService
reference
- the workflow definition reference in base64 encoded form of {"name":"xxx"}null
if not presentcom.lexmark.saperion.exceptions.EcmException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.