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, waitstartWorkflowpublic WorkflowDefinitionClientImpl(WorkflowDefinitionService workflowDefinitionService, WorkflowDefinitionReferenceType reference)
public WorkflowDefinitionType load() throws com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionClientload in interface WorkflowDefinitionClientcom.lexmark.saperion.exceptions.system.SystemException - indicates that a system exception occurredcom.lexmark.saperion.exceptions.EcmExceptionpublic TransitionDefinitionType getInitialTransition() throws com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionClientgetInitialTransition in interface WorkflowDefinitionClientcom.lexmark.saperion.exceptions.system.SystemException - indicates that a system exception occurredcom.lexmark.saperion.exceptions.EcmExceptionpublic WorkflowProcessReferenceType startWorkflow(com.lexmark.saperion.document.DocumentReferenceType document, String comment, List<com.lexmark.saperion.administration.ActorReferenceType> actors) throws com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionClientstartWorkflow in interface WorkflowDefinitionClientdocument - 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.