org.jbpm.formbuilder.shared.task
Class MockTaskDefinitionService

java.lang.Object
  extended by org.jbpm.formbuilder.shared.task.MockTaskDefinitionService
All Implemented Interfaces:
TaskDefinitionService

public class MockTaskDefinitionService
extends Object
implements TaskDefinitionService


Constructor Summary
MockTaskDefinitionService()
           
 
Method Summary
 TaskRef getBPMN2Task(String bpmn2ProcessContent, String processName, String userTask)
           
 String getContainingPackage(String uuid)
           
 TaskRef getTaskByUUID(String pkgName, String userTask, String uuid)
           
 List<TaskRef> getTasksByName(String pkgName, String processName, String taskName)
           
 List<TaskRef> query(String pkgName, String filter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockTaskDefinitionService

public MockTaskDefinitionService()
Method Detail

query

public List<TaskRef> query(String pkgName,
                           String filter)
Specified by:
query in interface TaskDefinitionService

getTasksByName

public List<TaskRef> getTasksByName(String pkgName,
                                    String processName,
                                    String taskName)
Specified by:
getTasksByName in interface TaskDefinitionService

getTaskByUUID

public TaskRef getTaskByUUID(String pkgName,
                             String userTask,
                             String uuid)
                      throws TaskServiceException
Specified by:
getTaskByUUID in interface TaskDefinitionService
Throws:
TaskServiceException

getContainingPackage

public String getContainingPackage(String uuid)
                            throws TaskServiceException
Specified by:
getContainingPackage in interface TaskDefinitionService
Throws:
TaskServiceException

getBPMN2Task

public TaskRef getBPMN2Task(String bpmn2ProcessContent,
                            String processName,
                            String userTask)
                     throws TaskServiceException
Specified by:
getBPMN2Task in interface TaskDefinitionService
Throws:
TaskServiceException


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.