org.jbpm.command
Class GetProcessInstanceLogCommand

java.lang.Object
  extended by org.jbpm.command.GetProcessInstanceLogCommand
All Implemented Interfaces:
java.io.Serializable, Command

public class GetProcessInstanceLogCommand
extends java.lang.Object
implements Command

Retrieve the org.jbpm.logging.log.ProcessLog for the process with the given process-id returns a map that maps Tokens to Lists.

Author:
Bernd Ruecker (bernd.ruecker@camunda.com)
See Also:
Serialized Form

Constructor Summary
GetProcessInstanceLogCommand()
           
GetProcessInstanceLogCommand(long processInstanceId)
           
 
Method Summary
 java.lang.Object execute(JbpmContext jbpmContext)
           
 long getProcessId()
          Deprecated. use getProcessInstanceId instead
 long getProcessInstanceId()
           
protected  java.util.Map loadLogdFromMap(java.util.Map logMap)
          access everything on all ProcessLog objects, which is not in the default fetch group from hibernate, but needs to be accesible from the client overwrite this method, if you need more details in your client
 void setProcessId(long processId)
          Deprecated. use setProcessInstanceId instead
 void setProcessInstanceId(long processInstanceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetProcessInstanceLogCommand

public GetProcessInstanceLogCommand()

GetProcessInstanceLogCommand

public GetProcessInstanceLogCommand(long processInstanceId)
Method Detail

execute

public java.lang.Object execute(JbpmContext jbpmContext)
                         throws java.lang.Exception
Specified by:
execute in interface Command
Throws:
java.lang.Exception

loadLogdFromMap

protected java.util.Map loadLogdFromMap(java.util.Map logMap)
access everything on all ProcessLog objects, which is not in the default fetch group from hibernate, but needs to be accesible from the client overwrite this method, if you need more details in your client

Parameters:
m -

getProcessId

public long getProcessId()
Deprecated. use getProcessInstanceId instead


setProcessId

public void setProcessId(long processId)
Deprecated. use setProcessInstanceId instead


getProcessInstanceId

public long getProcessInstanceId()

setProcessInstanceId

public void setProcessInstanceId(long processInstanceId)