Uses of Class
org.jbpm.graph.exe.Token

Packages that use Token
org.jbpm central access to the jbpm database and other services. 
org.jbpm.command   
org.jbpm.context.exe contains ContextInstance, the central interface class for working with process variables. 
org.jbpm.context.exe.converter implementations of Converter. 
org.jbpm.db provides access the to jBPM database. 
org.jbpm.graph.action contains basic action implementations. 
org.jbpm.graph.def contains all structural elements of a process graph. 
org.jbpm.graph.exe contains the runtime structures for process executions. 
org.jbpm.graph.log graph execution logs. 
org.jbpm.graph.node contains basic node implementations. 
org.jbpm.instantiation is for instantiating delegation classes and making them persistable with class Delegation. 
org.jbpm.job   
org.jbpm.jpdl.exe jpdl runtime data structures. 
org.jbpm.logging.log   
org.jbpm.scheduler adds timers to processes. 
org.jbpm.scheduler.db   
org.jbpm.taskmgmt.def   
org.jbpm.taskmgmt.exe   
 

Uses of Token in org.jbpm
 

Methods in org.jbpm that return Token
 Token JbpmContext.getToken(long tokenId)
          gets a token from the db.
 Token JbpmContext.getTokenForUpdate(long tokenId)
          get a token from the db and registers it for auto-save.
 Token JbpmContext.loadToken(long tokenId)
          loads a token from the db.
 Token JbpmContext.loadTokenForUpdate(long tokenId)
          loads a token from the db and registers it for auto-save.
 

Methods in org.jbpm with parameters of type Token
 void JbpmContext.addAutoSaveToken(Token token)
           
 void JbpmContext.save(Token token)
          saves the complete process instance for this token.
 

Uses of Token in org.jbpm.command
 

Methods in org.jbpm.command that return Token
 Token ResumeTokenCommand.execute(Token token)
           
 Token SuspendTokenCommand.execute(Token token)
           
protected  Token SignalCommand.getToken(JbpmContext jbpmContext)
           
 

Methods in org.jbpm.command with parameters of type Token
protected  void AbstractCancelCommand.cancelToken(Token token)
           
 Token ResumeTokenCommand.execute(Token token)
           
 Token SuspendTokenCommand.execute(Token token)
           
abstract  java.lang.Object AbstractTokenBaseCommand.execute(Token token)
           
 java.lang.Object BatchSignalCommand.execute(Token token)
           
 java.lang.Object UnlockTokenCommand.execute(Token token)
           
protected  java.util.List AbstractCancelCommand.getTasksForToken(Token token)
           
protected  VariableContainer VariablesCommand.getVariableContainer(Token token)
           
protected  void AbstractGetObjectBaseCommand.retrieveToken(Token token)
           
 

Uses of Token in org.jbpm.context.exe
 

Fields in org.jbpm.context.exe declared as Token
protected  Token TokenVariableMap.token
           
protected  Token VariableInstance.token
           
 

Fields in org.jbpm.context.exe with type parameters of type Token
protected  java.util.Map<Token,TokenVariableMap> ContextInstance.tokenVariableMaps
           
 

Methods in org.jbpm.context.exe that return Token
 Token TokenVariableMap.getToken()
           
abstract  Token VariableContainer.getToken()
           
 Token VariableInstance.getToken()
           
 

Methods in org.jbpm.context.exe that return types with arguments of type Token
 java.util.Map<Token,TokenVariableMap> ContextInstance.getTokenVariableMaps()
           
 

Methods in org.jbpm.context.exe with parameters of type Token
 void ContextInstance.addVariables(java.util.Map<java.lang.String,java.lang.Object> variables, Token token)
           
static VariableInstance VariableInstance.create(Token token, java.lang.String name, java.lang.Object value)
           
 void ContextInstance.createVariable(java.lang.String name, java.lang.Object value, Token token)
           
 void ContextInstance.deleteVariable(java.lang.String name, Token token)
           
 java.lang.Object ContextInstance.getLocalVariable(java.lang.String name, Token token)
           
 TokenVariableMap ContextInstance.getOrCreateTokenVariableMap(Token token)
           
 TokenVariableMap ContextInstance.getTokenVariableMap(Token token)
           
 java.lang.Object ContextInstance.getVariable(java.lang.String name, Token token)
           
 VariableInstance ContextInstance.getVariableInstance(java.lang.String name, Token token)
           
 java.lang.Object ContextInstance.getVariableLocally(java.lang.String name, Token token)
           
 java.util.Map<java.lang.String,java.lang.Object> ContextInstance.getVariables(Token token)
           
 boolean ContextInstance.hasVariable(java.lang.String name, Token token)
           
 S ContextConverter.revert(T o, Token token)
          reverts a persisted object to its original form, in the context of the given token.
 void ContextInstance.setVariable(java.lang.String name, java.lang.Object value, Token token)
           
 void ContextInstance.setVariableLocally(java.lang.String name, java.lang.Object value, Token token)
           
 void ContextInstance.setVariables(java.util.Map<java.lang.String,java.lang.Object> variables, Token token)
           
 

Constructors in org.jbpm.context.exe with parameters of type Token
TokenVariableMap(Token token, ContextInstance contextInstance)
           
 

Uses of Token in org.jbpm.context.exe.converter
 

Methods in org.jbpm.context.exe.converter with parameters of type Token
 java.io.Serializable SerializableToByteArrayConverter.revert(ByteArray o, Token token)
           
 

Uses of Token in org.jbpm.db
 

Methods in org.jbpm.db that return Token
 Token GraphSession.getToken(long tokenId)
          gets a token from the database by the identifier.
 Token GraphSession.loadToken(long tokenId)
          loads a token from the database by the identifier.
 

Methods in org.jbpm.db that return types with arguments of type Token
 java.util.Map<Token,java.util.List<ProcessLog>> LoggingSession.findLogsByProcessInstance(long processInstanceId)
          returns a map of tokens to lists.
 java.util.Map<Token,java.util.List<ProcessLog>> LoggingSession.findLogsByProcessInstance(ProcessInstance processInstance)
          returns a map of tokens to lists.
 

Methods in org.jbpm.db with parameters of type Token
 void JobSession.deleteTimersByName(java.lang.String name, Token token)
           
 java.util.List<Job> JobSession.findJobsByToken(Token token)
           
 java.util.List<ProcessLog> LoggingSession.findLogsByToken(Token token)
          collects the logs for a given token, ordered by creation time.
 void JobSession.resumeJobs(Token token)
           
 void JobSession.suspendJobs(Token token)
           
 

Uses of Token in org.jbpm.graph.action
 

Methods in org.jbpm.graph.action with parameters of type Token
 java.util.Map<java.lang.String,java.lang.Object> Script.eval(Token token)
           
 

Uses of Token in org.jbpm.graph.def
 

Methods in org.jbpm.graph.def with parameters of type Token
protected  void Node.addNodeLog(Token token)
           
protected  ExecuteActionJob GraphElement.createAsyncActionExecutionJob(Token token, Action action)
           
protected  ExecuteNodeJob Node.createAsyncContinuationJob(Token token)
           
 

Uses of Token in org.jbpm.graph.exe
 

Fields in org.jbpm.graph.exe declared as Token
protected  Token Token.parent
           
protected  Token ProcessInstance.rootToken
           
protected  Token ProcessInstance.superProcessToken
           
protected  Token ExecutionContext.token
           
protected  Token Comment.token
           
 

Fields in org.jbpm.graph.exe with type parameters of type Token
protected  java.util.Map<java.lang.String,Token> Token.children
           
 

Methods in org.jbpm.graph.exe that return Token
 Token Token.findToken(java.lang.String relativeTokenPath)
           
 Token ProcessInstance.findToken(java.lang.String tokenPath)
          looks up the token in the tree, specified by the slash-separated token path.
 Token Token.getChild(java.lang.String name)
           
 Token Token.getParent()
           
 Token ProcessInstance.getRootToken()
           
 Token ProcessInstance.getSuperProcessToken()
           
 Token ExecutionContext.getToken()
           
 Token Comment.getToken()
           
 

Methods in org.jbpm.graph.exe that return types with arguments of type Token
 java.util.List<Token> ProcessInstance.findAllTokens()
          collects all instances for this process instance.
 java.util.Map<java.lang.String,Token> Token.getActiveChildren()
           
 java.util.Map<java.lang.String,Token> Token.getChildren()
           
 java.util.List<Token> Token.getChildrenAtNode(Node aNode)
           
 

Methods in org.jbpm.graph.exe with parameters of type Token
 void Token.setParent(Token parent)
           
 void ProcessInstance.setRootToken(Token rootToken)
           
 void ProcessInstance.setSuperProcessToken(Token superProcessToken)
           
 void Comment.setToken(Token token)
           
 

Method parameters in org.jbpm.graph.exe with type arguments of type Token
 void Token.collectChildrenRecursively(java.util.List<Token> tokens)
           
 

Constructors in org.jbpm.graph.exe with parameters of type Token
ExecutionContext(Token token)
           
Token(Token parent, java.lang.String name)
          creates a child token.
 

Uses of Token in org.jbpm.graph.log
 

Fields in org.jbpm.graph.log declared as Token
protected  Token TokenCreateLog.child
           
protected  Token TokenEndLog.child
           
 

Methods in org.jbpm.graph.log that return Token
 Token TokenCreateLog.getChild()
           
 Token TokenEndLog.getChild()
           
 

Constructors in org.jbpm.graph.log with parameters of type Token
TokenCreateLog(Token child)
           
TokenEndLog(Token child)
           
 

Uses of Token in org.jbpm.graph.node
 

Methods in org.jbpm.graph.node that return Token
protected  Token Fork.createForkedToken(Token parent, java.lang.String transitionName)
           
 

Methods in org.jbpm.graph.node with parameters of type Token
 void MilestoneNode.addMilestoneListener(java.lang.String milestoneName, Token token)
           
protected  void ProcessState.addNodeLog(Token token)
           
protected  Token Fork.createForkedToken(Token parent, java.lang.String transitionName)
           
protected  java.lang.String Fork.getTokenName(Token parent, java.lang.String transitionName)
           
protected  java.util.Collection<java.lang.String> InterleaveStart.getTransitionNames(Token token)
           
 boolean MilestoneNode.isMilestoneReached(java.lang.String milestoneName, Token token)
           
 boolean Join.mustParentBeReactivated(Token parentToken, java.util.Iterator<java.lang.String> childTokenNames)
           
 void TaskNode.removeTaskInstanceSynchronization(Token token)
           
 void InterleaveStart.removeTransitionNames(Token token)
           
 java.util.Collection<java.lang.String> InterleaveStart.retrieveTransitionNames(Token token)
           
protected  void InterleaveStart.storeTransitionNames(java.util.Collection<java.lang.String> transitionNames, Token token)
           
 

Uses of Token in org.jbpm.instantiation
 

Methods in org.jbpm.instantiation with parameters of type Token
 void UserCodeInterceptor.executeTaskControllerInitialization(TaskControllerHandler taskControllerHandler, TaskInstance taskInstance, ContextInstance contextInstance, Token token)
           
 void UserCodeInterceptor.executeTaskControllerSubmission(TaskControllerHandler taskControllerHandler, TaskInstance taskInstance, ContextInstance contextInstance, Token token)
           
 

Uses of Token in org.jbpm.job
 

Methods in org.jbpm.job that return Token
 Token Job.getToken()
           
 

Methods in org.jbpm.job with parameters of type Token
 void Job.setToken(Token token)
           
 

Constructors in org.jbpm.job with parameters of type Token
CleanUpProcessJob(Token token)
           
ExecuteActionJob(Token token)
           
ExecuteNodeJob(Token token)
           
Job(Token token)
           
Timer(Token token)
           
 

Uses of Token in org.jbpm.jpdl.exe
 

Fields in org.jbpm.jpdl.exe declared as Token
protected  Token MilestoneInstance.token
           
 

Methods in org.jbpm.jpdl.exe that return Token
 Token MilestoneInstance.getToken()
           
 

Methods in org.jbpm.jpdl.exe with parameters of type Token
 void MilestoneInstance.addListener(Token token)
           
static MilestoneInstance MilestoneInstance.getMilestoneInstance(java.lang.String milestoneName, Token token)
           
 void MilestoneInstance.setToken(Token token)
           
 

Uses of Token in org.jbpm.logging.log
 

Fields in org.jbpm.logging.log declared as Token
protected  Token ProcessLog.token
           
 

Methods in org.jbpm.logging.log that return Token
 Token ProcessLog.getToken()
           
 

Methods in org.jbpm.logging.log with parameters of type Token
 void ProcessLog.setToken(Token token)
           
 

Uses of Token in org.jbpm.scheduler
 

Methods in org.jbpm.scheduler with parameters of type Token
 void SchedulerService.deleteTimersByName(java.lang.String timerName, Token token)
           
 

Uses of Token in org.jbpm.scheduler.db
 

Methods in org.jbpm.scheduler.db with parameters of type Token
 void DbSchedulerService.deleteTimersByName(java.lang.String timerName, Token token)
           
 

Uses of Token in org.jbpm.taskmgmt.def
 

Methods in org.jbpm.taskmgmt.def with parameters of type Token
 void TaskControllerHandler.initializeTaskVariables(TaskInstance taskInstance, ContextInstance contextInstance, Token token)
          extracts all information from the process context (optionally indirect) and initializes the task instance variables.
 void TaskControllerHandler.submitTaskVariables(TaskInstance taskInstance, ContextInstance contextInstance, Token token)
          is called when a task completes.
 

Uses of Token in org.jbpm.taskmgmt.exe
 

Fields in org.jbpm.taskmgmt.exe declared as Token
protected  Token TaskInstance.token
           
 

Methods in org.jbpm.taskmgmt.exe that return Token
 Token TaskInstance.getToken()
           
 

Methods in org.jbpm.taskmgmt.exe with parameters of type Token
 TaskInstance TaskMgmtInstance.createTaskInstance(Task task, Token token)
          creates a new task instance on the given token, for the given task.
 TaskInstance TaskMgmtInstance.createTaskInstance(Token token)
           
 java.util.Collection<TaskInstance> TaskMgmtInstance.getUnfinishedTasks(Token token)
          is the collection of TaskInstances on the given token that are not ended.
 boolean TaskMgmtInstance.hasBlockingTaskInstances(Token token)
          is true if the given token has task instances that keep the token from leaving the current node.
 boolean TaskMgmtInstance.hasUnfinishedTasks(Token token)
          is true if the given token has task instances that are not yet ended.
 void TaskMgmtInstance.removeSignalling(Token token)
          removes signalling capabilities from all task instances related to the given token.
 void TaskMgmtInstance.resume(Token token)
          resumes all task instances for this process instance.
 void TaskInstance.setToken(Token token)
           
 void TaskMgmtInstance.suspend(Token token)
          suspends all task instances for this process instance.
 



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