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

LoggingSession (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.db
Class LoggingSession

java.lang.Object
  extended byorg.jbpm.db.LoggingSession

public class LoggingSession
extends java.lang.Object


Constructor Summary
LoggingSession(JbpmSession jbpmSession)
           
 
Method Summary
 java.util.Map findLogsByProcessInstance(long processInstanceId)
          returns a map that maps Tokens to Lists.
 java.util.List findLogsByToken(long tokenId)
          collects the logs for a given token, ordered by creation time.
 ProcessLog loadProcessLog(long processLogId)
          get the process log for a given id.
 void saveProcessLog(ProcessLog processLog)
          saves the given process log to the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingSession

public LoggingSession(JbpmSession jbpmSession)
Method Detail

findLogsByProcessInstance

public java.util.Map findLogsByProcessInstance(long processInstanceId)
returns a map that maps Tokens to Lists. The lists contain the ordered logs for the given token. The lists are retrieved with findLogsByToken(long).


findLogsByToken

public java.util.List findLogsByToken(long tokenId)
collects the logs for a given token, ordered by creation time.


saveProcessLog

public void saveProcessLog(ProcessLog processLog)
saves the given process log to the database.


loadProcessLog

public ProcessLog loadProcessLog(long processLogId)
get the process log for a given id.



Version : jbpm-3.0.4