站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.1.3 API 英文版文档

TaskMgmtSession (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档


org.jbpm.db
Class TaskMgmtSession

java.lang.Object
  extended by org.jbpm.db.TaskMgmtSession
All Implemented Interfaces:
java.io.Serializable

public class TaskMgmtSession
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
TaskMgmtSession(JbpmSession jbpmSession)
           
TaskMgmtSession(org.hibernate.Session session)
           
 
Method Summary
 java.util.List findPooledTaskInstances(java.util.List actorIds)
          get the taskinstances for which the given actor is in the pool.
 java.util.List findPooledTaskInstances(java.lang.String actorId)
          get the taskinstances 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 actorIds.
 java.util.List findTaskInstances(java.lang.String actorId)
          get the tasllist 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 findTaskInstancesByToken(long tokenId)
          get active taskinstances 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)

TaskMgmtSession

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

findTaskInstances

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


findTaskInstances

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

Throws:
java.lang.NullPointerException - if actorIds is null.

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 taskinstances for which the given actor is in the pool.


findPooledTaskInstances

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


findTaskInstancesByToken

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


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)


Version : jbpm-3.1.3