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
WorkflowDefinitionClient
load
in interface WorkflowDefinitionClient
SystemException
- indicates that a system exception occurredEcmException
public TransitionDefinitionType getInitialTransition() throws EcmException
WorkflowDefinitionClient
getInitialTransition
in interface WorkflowDefinitionClient
SystemException
- indicates that a system exception occurredEcmException
public WorkflowProcessReferenceType startWorkflow(DocumentReferenceType documentReference, String comment) throws EcmException
WorkflowDefinitionClient
startWorkflow
in interface WorkflowDefinitionClient
documentReference
- 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
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 stepEcmException
- indicates that a system exception occurredCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.