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(DocumentReferenceType documentReference,
String comment)
This method starts a workflow for the given document.
|
WorkflowProcessReferenceType |
startWorkflow(DocumentReferenceType document,
String comment,
List<ActorReferenceType> actors)
This method starts a workflow for the given document.
|
public WorkflowDefinitionClientImpl(WorkflowDefinitionService workflowDefinitionService, WorkflowDefinitionReferenceType reference)
public WorkflowDefinitionType load() throws EcmException
WorkflowDefinitionClientload in interface WorkflowDefinitionClientSystemException - indicates that a system exception occurredEcmExceptionpublic TransitionDefinitionType getInitialTransition() throws EcmException
WorkflowDefinitionClientgetInitialTransition in interface WorkflowDefinitionClientSystemException - indicates that a system exception occurredEcmExceptionpublic WorkflowProcessReferenceType startWorkflow(DocumentReferenceType documentReference, String comment) throws EcmException
WorkflowDefinitionClientstartWorkflow in interface WorkflowDefinitionClientdocumentReference - the document for which the workflow is started.comment - the workflow start commentEcmException - indicates that a system exception occurredpublic WorkflowProcessReferenceType startWorkflow(DocumentReferenceType document, String comment, List<ActorReferenceType> actors) throws 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 stepEcmException - indicates that a system exception occurredCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.