public class WorkflowServiceClientImpl extends Object implements WorkflowServiceClient
WorkflowServiceClient
.Constructor and Description |
---|
WorkflowServiceClientImpl(WorkflowDefinitionService workflowDefinitionService,
WorkflowInboxService workflowInboxService,
WorkflowProcessService workflowProcessService,
WorkflowTaskService workflowTaskService) |
Modifier and Type | Method and Description |
---|---|
WorkflowInboxServiceClient |
getInboxClient()
This method returns a client offering functionality concerning workflow inboxes.
|
WorkflowTaskClient |
getTask(TaskReferenceType reference)
This method returns a client for the workflow task with the provided id.
|
WorkflowDefinitionClient |
getWorkflowDefinition(String definition)
This method returns a client for the definition with the given name.
|
WorkflowDefinitionClient |
getWorkflowDefinition(WorkflowDefinitionReferenceType reference)
This method returns a client for the workflow definition with the provided id.
|
SearchClient<WorkflowProcessListItemType> |
getWorkflowProcesses()
This method returns a search client for the workflow processes in the system.
|
WorkflowProcessType |
loadWorkflowProcess(WorkflowProcessReferenceType workflowReference)
This method loads a workflow process.
|
SearchClient<WorkflowDefinitionListItemType> |
searchWorkflowDefinitions()
This method returns a resource client for the workflow definition collection.
|
public WorkflowServiceClientImpl(WorkflowDefinitionService workflowDefinitionService, WorkflowInboxService workflowInboxService, WorkflowProcessService workflowProcessService, WorkflowTaskService workflowTaskService)
public WorkflowTaskClient getTask(TaskReferenceType reference)
WorkflowServiceClient
getTask
in interface WorkflowServiceClient
reference
- the task idpublic WorkflowDefinitionClient getWorkflowDefinition(String definition) throws EcmException
WorkflowServiceClient
getWorkflowDefinition
in interface WorkflowServiceClient
definition
- the definition nameEcmException
- indicates an arbitrary system errorpublic WorkflowDefinitionClient getWorkflowDefinition(WorkflowDefinitionReferenceType reference)
WorkflowServiceClient
getWorkflowDefinition
in interface WorkflowServiceClient
reference
- the workflow definition idpublic SearchClient<WorkflowDefinitionListItemType> searchWorkflowDefinitions()
WorkflowServiceClient
searchWorkflowDefinitions
in interface WorkflowServiceClient
public WorkflowInboxServiceClient getInboxClient()
WorkflowServiceClient
getInboxClient
in interface WorkflowServiceClient
public WorkflowProcessType loadWorkflowProcess(WorkflowProcessReferenceType workflowReference) throws EcmException
WorkflowServiceClient
loadWorkflowProcess
in interface WorkflowServiceClient
workflowReference
- a reference to the workflow process to loadEcmException
public SearchClient<WorkflowProcessListItemType> getWorkflowProcesses()
WorkflowServiceClient
getWorkflowProcesses
in interface WorkflowServiceClient
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.