org.jbpm.db
Class TaskMgmtSession

java.lang.Object
  extended by org.jbpm.db.TaskMgmtSession

public class TaskMgmtSession
extends java.lang.Object


Constructor Summary
TaskMgmtSession(JbpmSession jbpmSession)
          Deprecated. use TaskMgmtSession(Session) instead
TaskMgmtSession(org.hibernate.Session session)
           
 
Method Summary
 java.util.List findPooledTaskInstances(java.util.List actorIds)
          get the task instances for which the given actor is in the pool.
 java.util.List findPooledTaskInstances(java.lang.String actorId)
          get the task instances for which the given actor is in the pool.
 java.util.List findTaskInstances(java.util.List actorIds)
          get all the task instances for all the given actor identifiers.
 java.util.List findTaskInstances(java.lang.String actorId)
          get the task list for a given actor.
 java.util.List findTaskInstances(java.lang.String[] actorIds)
          get all the task instances for all the given actorIds.
 java.util.List findTaskInstancesByIds(java.util.List taskInstanceIds)
           
 java.util.List findTaskInstancesByProcessInstance(ProcessInstance processInstance)
          get active task instances for a given process instance.
 java.util.List findTaskInstancesByToken(long tokenId)
          get active task instances for a given token.
 TaskInstance getTaskInstance(long taskInstanceId)
          get the task instance for a given task instance-id.
 TaskInstance loadTaskInstance(long taskInstanceId)
          get the task instance for a given task instance-id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskMgmtSession

public TaskMgmtSession(JbpmSession jbpmSession)
Deprecated. use TaskMgmtSession(Session) instead


TaskMgmtSession

public TaskMgmtSession(org.hibernate.Session session)
Method Detail

findTaskInstances

public java.util.List findTaskInstances(java.lang.String actorId)
get the task list for a given actor.


findTaskInstances

public java.util.List findTaskInstances(java.util.List actorIds)
get all the task instances for all the given actor identifiers.

Returns:
a list of task instances. An empty list is returned in case no task instances are found.

findTaskInstances

public java.util.List findTaskInstances(java.lang.String[] actorIds)
get all the task instances for all the given actorIds.


findPooledTaskInstances

public java.util.List findPooledTaskInstances(java.lang.String actorId)
get the task instances for which the given actor is in the pool.


findPooledTaskInstances

public java.util.List findPooledTaskInstances(java.util.List actorIds)
get the task instances for which the given actor is in the pool.


findTaskInstancesByToken

public java.util.List findTaskInstancesByToken(long tokenId)
get active task instances for a given token.


findTaskInstancesByProcessInstance

public java.util.List findTaskInstancesByProcessInstance(ProcessInstance processInstance)
get active task instances for a given process instance.


loadTaskInstance

public TaskInstance loadTaskInstance(long taskInstanceId)
get the task instance for a given task instance-id.


getTaskInstance

public TaskInstance getTaskInstance(long taskInstanceId)
get the task instance for a given task instance-id.


findTaskInstancesByIds

public java.util.List findTaskInstancesByIds(java.util.List taskInstanceIds)


Copyright © 2010 JBoss Community. All Rights Reserved.