|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.task.service.TaskService
public class TaskService
Nested Class Summary | |
---|---|
static class |
TaskService.ScheduledTaskDeadline
|
Constructor Summary | |
---|---|
TaskService()
Default constructor needed for Spring |
|
TaskService(javax.persistence.EntityManagerFactory emf,
SystemEventListener systemEventListener)
Constructor in which no EscalatedDeadlineHandler is given. |
|
TaskService(javax.persistence.EntityManagerFactory emf,
SystemEventListener systemEventListener,
EscalatedDeadlineHandler escalationHandler)
Default constructor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskService(javax.persistence.EntityManagerFactory emf, SystemEventListener systemEventListener)
emf
- the EntityManagerFactorysystemEventListener
- the Drools SystemEventListenerpublic TaskService(javax.persistence.EntityManagerFactory emf, SystemEventListener systemEventListener, EscalatedDeadlineHandler escalationHandler)
emf
- systemEventListener
- escalationHandler
- public TaskService()
Method Detail |
---|
public void initialize()
public void setSystemEventListener(SystemEventListener systemEventListener)
SystemEventListener
field for Spring.
emf
- an SystemEventListener
instancepublic void setTaskSessionFactory(TaskSessionFactory taskSessionFactory)
TaskSessionFactory
field for Spring.
emf
- an TaskSessionFactory
instancepublic TaskServiceSession createSession()
public TasksAdmin createTaskAdmin()
public TaskEventsAdmin createTaskEventsAdmin()
public void schedule(TaskService.ScheduledTaskDeadline deadline, long delay)
public void unschedule(long taskId)
public Map<Operation,List<OperationCommand>> getOperations()
public List<OperationCommand> getCommandsForOperation(Operation operation)
public EventKeys getEventKeys()
public void addEventListener(TaskEventListener listener)
public void removeEventListener(TaskEventListener listener)
public List<TaskEventListener> getWorkingMemoryEventListeners()
public TaskEventSupport getEventSupport()
public UserInfo getUserinfo()
public void setUserinfo(UserInfo userInfo)
public void setEscalatedDeadlineHandler(EscalatedDeadlineHandler escalatedDeadlineHandler)
public void executeEscalatedDeadline(long taskId, long deadlineId)
public void addUsersAndGroups(Map<String,User> users, Map<String,Group> groups)
public static String toString(Reader reader) throws IOException
IOException
public static Map<String,Class<?>> getInputs()
public static Object eval(Reader reader)
public static Object eval(Reader reader, Map<String,Object> vars)
public static Object eval(String str, Map<String,Object> vars)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |