org.jbpm.formbuilder.server.task
Class FSTaskDefinitionService

java.lang.Object
  extended by org.jbpm.formbuilder.server.task.FSTaskDefinitionService
All Implemented Interfaces:
TaskDefinitionService, org.springframework.beans.factory.InitializingBean

public class FSTaskDefinitionService
extends Object
implements TaskDefinitionService, org.springframework.beans.factory.InitializingBean


Constructor Summary
FSTaskDefinitionService()
           
 
Method Summary
 void afterPropertiesSet()
           
 String getBaseUrl()
           
 TaskRef getBPMN2Task(String bpmn2ProcessContent, String processName, String userTask)
           
 String getContainingPackage(String uuid)
           
 File getProcessById(String pkgName, String processName)
           
protected  List<TaskRef> getProcessTasks(String bpmn2Content, String processName)
           
 TaskRef getTaskByUUID(String pkgName, String userTask, String uuid)
           
 List<TaskRef> getTasksByName(String pkgName, String processName, String taskName)
           
 List<TaskRef> query(String pkgName, String filter)
           
 void setBaseUrl(String baseUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSTaskDefinitionService

public FSTaskDefinitionService()
Method Detail

query

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

getTasksByName

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

getProcessById

public File getProcessById(String pkgName,
                           String processName)
                    throws TaskServiceException
Throws:
TaskServiceException

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

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getBaseUrl

public String getBaseUrl()

setBaseUrl

public void setBaseUrl(String baseUrl)

getProcessTasks

protected List<TaskRef> getProcessTasks(String bpmn2Content,
                                        String processName)


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