org.jbpm.formbuilder.server.task
Class GuvnorTaskDefinitionService

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

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


Constructor Summary
GuvnorTaskDefinitionService()
           
 
Method Summary
 void afterPropertiesSet()
           
 String getBaseUrl()
           
 TaskRef getBPMN2Task(String bpmn2ProcessContent, String processName, String userTask)
           
 String getContainingPackage(String uuid)
           
 GuvnorHelper getHelper()
           
 String getPassword()
           
protected  List<TaskRef> getProcessTasks(String bpmn2Content, String processName)
           
 TaskRef getTaskByUUID(String packageName, String userTask, String uuid)
           
 List<TaskRef> getTasksByName(String pkgName, String processId, String taskId)
           
 String getUser()
           
 List<TaskRef> query(String pkgName, String filter)
           
 void setBaseUrl(String baseUrl)
           
 void setHelper(GuvnorHelper helper)
           
 void setPassword(String password)
           
 void setUser(String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuvnorTaskDefinitionService

public GuvnorTaskDefinitionService()
Method Detail

getBaseUrl

public String getBaseUrl()

setBaseUrl

public void setBaseUrl(String baseUrl)

getUser

public String getUser()

setUser

public void setUser(String user)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

afterPropertiesSet

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

setHelper

public void setHelper(GuvnorHelper helper)

getHelper

public GuvnorHelper getHelper()

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 processId,
                                    String taskId)
                             throws TaskServiceException
Specified by:
getTasksByName in interface TaskDefinitionService
Throws:
TaskServiceException

getContainingPackage

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

getTaskByUUID

public TaskRef getTaskByUUID(String packageName,
                             String userTask,
                             String uuid)
                      throws TaskServiceException
Specified by:
getTaskByUUID 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

getProcessTasks

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


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