public class WorkflowDefinitionClientImpl extends Object implements WorkflowDefinitionClient
WorkflowDefinitionClient
.Constructor and Description |
---|
WorkflowDefinitionClientImpl(WorkflowDefinitionService workflowDefinitionService,
WorkflowDefinitionReferenceType reference) |
Modifier and Type | Method and Description |
---|---|
TransitionDefinitionType |
getInitialTransition()
This method returns the initial transition definition for the workflow definition.
|
WorkflowDefinitionType |
load()
This method returns a representation of the workflow definition.
|
WorkflowProcessReferenceType |
startWorkflow(com.lexmark.saperion.document.DocumentReferenceType document,
String comment,
List<com.lexmark.saperion.administration.ActorReferenceType> actors)
This method starts a workflow for the given document.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
startWorkflow
public WorkflowDefinitionClientImpl(WorkflowDefinitionService workflowDefinitionService, WorkflowDefinitionReferenceType reference)
public WorkflowDefinitionType load() throws com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionClient
load
in interface WorkflowDefinitionClient
com.lexmark.saperion.exceptions.system.SystemException
- indicates that a system exception occurredcom.lexmark.saperion.exceptions.EcmException
public TransitionDefinitionType getInitialTransition() throws com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionClient
getInitialTransition
in interface WorkflowDefinitionClient
com.lexmark.saperion.exceptions.system.SystemException
- indicates that a system exception occurredcom.lexmark.saperion.exceptions.EcmException
public WorkflowProcessReferenceType startWorkflow(com.lexmark.saperion.document.DocumentReferenceType document, String comment, List<com.lexmark.saperion.administration.ActorReferenceType> actors) throws com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionClient
startWorkflow
in interface WorkflowDefinitionClient
document
- the document for which the workflow is started.comment
- the workflow start commentactors
- list of actors for the next workflow stepcom.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.