Class WorkflowDefinitionClientImpl
- java.lang.Object
- 
- com.lexmark.saperion.client.implementation.workflow.WorkflowDefinitionClientImpl
 
- 
- All Implemented Interfaces:
- WorkflowDefinitionClient
 
 public class WorkflowDefinitionClientImpl extends java.lang.Object implements WorkflowDefinitionClient This is the default implementation ofWorkflowDefinitionClient.- Author:
- jschwarz
 
- 
- 
Constructor SummaryConstructors Constructor Description WorkflowDefinitionClientImpl(WorkflowDefinitionService workflowDefinitionService, WorkflowDefinitionReferenceType reference)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TransitionDefinitionTypegetInitialTransition()This method returns the initial transition definition for the workflow definition.WorkflowDefinitionTypeload()This method returns a representation of the workflow definition.WorkflowProcessReferenceTypestartWorkflow(com.lexmark.saperion.document.DocumentReferenceType document, java.lang.String comment, java.util.List<com.lexmark.saperion.administration.ActorReferenceType> actors)This method starts a workflow for the given document.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.lexmark.saperion.client.workflow.WorkflowDefinitionClientstartWorkflow
 
- 
 
- 
- 
- 
Constructor Detail- 
WorkflowDefinitionClientImplpublic WorkflowDefinitionClientImpl(WorkflowDefinitionService workflowDefinitionService, WorkflowDefinitionReferenceType reference) 
 
- 
 - 
Method Detail- 
loadpublic WorkflowDefinitionType load() throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:WorkflowDefinitionClientThis method returns a representation of the workflow definition.- Specified by:
- loadin interface- WorkflowDefinitionClient
- Returns:
- the workflow definition representation.
- Throws:
- com.lexmark.saperion.exceptions.system.SystemException- indicates that a system exception occurred
- com.lexmark.saperion.exceptions.EcmException
 
 - 
getInitialTransitionpublic TransitionDefinitionType getInitialTransition() throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:WorkflowDefinitionClientThis method returns the initial transition definition for the workflow definition. The initial transition definition contains additional information which input must be provided in order to start a workflow process.- Specified by:
- getInitialTransitionin interface- WorkflowDefinitionClient
- Returns:
- the initial transition definition
- Throws:
- com.lexmark.saperion.exceptions.system.SystemException- indicates that a system exception occurred
- com.lexmark.saperion.exceptions.EcmException
 
 - 
startWorkflowpublic WorkflowProcessReferenceType startWorkflow(com.lexmark.saperion.document.DocumentReferenceType document, java.lang.String comment, java.util.List<com.lexmark.saperion.administration.ActorReferenceType> actors) throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:WorkflowDefinitionClientThis method starts a workflow for the given document.- Specified by:
- startWorkflowin interface- WorkflowDefinitionClient
- Parameters:
- document- the document for which the workflow is started.
- comment- the workflow start comment
- actors- list of actors for the next workflow step
- Returns:
- a reference to the new process
- Throws:
- com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
 
 
- 
 
-