com.mirth.match.client
Class WorkflowManager

java.lang.Object
  extended by com.mirth.match.client.WorkflowManager

public class WorkflowManager
extends java.lang.Object

Author:
davidp

Constructor Summary
WorkflowManager(MirthMatchClient client)
           
 
Method Summary
 Result<DtoWorkflow> create(DtoWorkflow workflow)
          Create a Workflow from raw parameters.
 DTOStatus delete(java.lang.String identifier, boolean cascadeWorkitems)
          Deletes the workflow with the matching identifier
 Result<DtoWorkflow> find(java.lang.String identifier)
          Returns the DtoWorkflow with the matching identifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowManager

public WorkflowManager(MirthMatchClient client)
Method Detail

create

public Result<DtoWorkflow> create(DtoWorkflow workflow)
Create a Workflow from raw parameters.

Parameters:
workflow - The raw parameters defining the Workflow to be
Returns:
the result containing the created workflow

find

public Result<DtoWorkflow> find(java.lang.String identifier)
Returns the DtoWorkflow with the matching identifier

Parameters:
identifier - the identifier of the workflow
Returns:
the result containing the identifier

delete

public DTOStatus delete(java.lang.String identifier,
                        boolean cascadeWorkitems)
Deletes the workflow with the matching identifier

Parameters:
identifier - the identifier of the workflow to delete
cascadeWorkitems - true, if workflow's workitems should also be deleted
Returns:
status conditions


Copyright © 2011 Mirth Corp. All Rights Reserved.