public interface WorkflowDefinitionService extends SearchExecutionService<WorkflowDefinitionListItemType>
| Modifier and Type | Method and Description |
|---|---|
TransitionDefinitionType |
getInitialTransition(WorkflowDefinitionReferenceType reference)
This method returns the initial transition definition for the referenced workflow.
|
WorkflowDefinitionType |
getWorkflowDefinitionById(WorkflowDefinitionReferenceType reference)
This method returns further information for a workflow process given by its reference.
|
SearchResultPage<WorkflowDefinitionListItemType> |
search(Statement statement,
PageDefinition pageDefinition)
This method returns a list of references for every workflow definition in the system accessible from the
current tenant.
|
WorkflowProcessReferenceType |
startWorkflowProcess(WorkflowDefinitionReferenceType workflowDefinitionReference,
DocumentReferenceType documentId,
List<? extends ActorReferenceType> actors,
String comment)
This method starts a workflow process given a workflow definition and a document (by its id).
|
SearchResultPage<WorkflowDefinitionListItemType> search(Statement statement, PageDefinition pageDefinition) throws EcmException
search in interface SearchExecutionService<WorkflowDefinitionListItemType>statement - search expressionpageDefinition - result page offset and sizeSearchException - indicates any error during the search operationEcmExceptionWorkflowDefinitionType getWorkflowDefinitionById(WorkflowDefinitionReferenceType reference) throws EcmException
reference - a reference of the workflow process to obtain the information forEcmExceptionWorkflowProcessReferenceType startWorkflowProcess(WorkflowDefinitionReferenceType workflowDefinitionReference, DocumentReferenceType documentId, List<? extends ActorReferenceType> actors, String comment) throws EcmException
workflowDefinitionReference - a reference to the workflow definition to startdocumentId - the id of the document to start the process onactors - a list of the receivers of the next task, may be null depending on the workflow definitioncomment - a comment for the workflow process, may be null depending on the workflow definitionEcmExceptionTransitionDefinitionType getInitialTransition(WorkflowDefinitionReferenceType reference) throws EcmException
ResourceNotFoundException.
If the initial transition was not found the method returns null.reference - the workflow definition referencenull if not presentEcmExceptionCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.