org.jbpm.command
Class GetTokenLogCommand

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

public class GetTokenLogCommand
extends AbstractBaseCommand

Retrieve the ProcessLog for the token with the given tokenId returns a List with ProcessLogs.

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

Constructor Summary
GetTokenLogCommand()
           
GetTokenLogCommand(long tokenId)
           
 
Method Summary
 java.lang.Object execute(JbpmContext jbpmContext)
           
 java.lang.String getAdditionalToStringInformation()
           
 long getTokenId()
           
protected  java.util.List loadLogFromList(java.util.List logList)
          access everything on all ProcessLog objects, which is not in the default fetch group from hibernate, but needs to be accessible from the client overwrite this method, if you need more details in your client
 void retrieveProcessLog(ProcessLog pl)
           
 void setTokenId(long tokenId)
           
 GetTokenLogCommand tokenId(long tokenId)
           
 
Methods inherited from class org.jbpm.command.AbstractBaseCommand
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetTokenLogCommand

public GetTokenLogCommand()

GetTokenLogCommand

public GetTokenLogCommand(long tokenId)
Method Detail

execute

public java.lang.Object execute(JbpmContext jbpmContext)
                         throws java.lang.Exception
Throws:
java.lang.Exception

loadLogFromList

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


retrieveProcessLog

public void retrieveProcessLog(ProcessLog pl)

getTokenId

public long getTokenId()

setTokenId

public void setTokenId(long tokenId)

getAdditionalToStringInformation

public java.lang.String getAdditionalToStringInformation()
Overrides:
getAdditionalToStringInformation in class AbstractBaseCommand

tokenId

public GetTokenLogCommand tokenId(long tokenId)


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.