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 commands that can be used as an alternative to the try-finally blocks in the user code. 
org.jbpm.context.exe contains ContextInstance, the central interface class for working with process variables. 
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 JNDI helper for JCR compatibility. 
org.jbpm.jpdl.exe jpdl runtime data structures. 
org.jbpm.logging.log base model classes for the history events that get recorded by the DbLoggingService. 
org.jbpm.scheduler specifies the timer pluggability interface. 
org.jbpm.scheduler.db DB/JobExecutor implementation of the timer service. 
org.jbpm.taskmgmt.def process definition extensions for task management related information. 
org.jbpm.taskmgmt.exe extensions of runtime process instance data structure for tasks. 
 

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)
          gets 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 process instance of the given token.
 

Uses of Token in org.jbpm.command
 

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

Methods in org.jbpm.command with parameters of type Token
protected  void AbstractCancelCommand.cancelToken(Token token)
           
 Object BatchSignalCommand.execute(Token token)
           
 Object UnlockTokenCommand.execute(Token token)
           
 Object SuspendTokenCommand.execute(Token token)
           
abstract  Object AbstractTokenBaseCommand.execute(Token token)
           
 Object ResumeTokenCommand.execute(Token token)
           
protected  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
           
 

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

Methods in org.jbpm.context.exe with parameters of type Token
 void ContextInstance.addVariables(Map variables, Token token)
          adds all the variableInstances to the scope of the given token.
static VariableInstance VariableInstance.create(Token token, String name, Object value)
           
 void ContextInstance.createVariable(String name, Object value, Token token)
          creates a variable in the scope of the given token and calculates the actual VariableInstance-type from the value.
 void ContextInstance.deleteVariable(String name, Token token)
          deletes a variable from the given token.
 Object ContextInstance.getLocalVariable(String name, Token token)
          retrieves a variable which is local to the token.
 TokenVariableMap ContextInstance.getOrCreateTokenVariableMap(Token token)
          searches for the first token-variable-map for the given token and creates it on the root token if it doesn't exist.
 TokenVariableMap ContextInstance.getTokenVariableMap(Token token)
          looks for the first token-variable-map that is found up the token-parent hierarchy.
 Object ContextInstance.getVariable(String name, Token token)
          retrieves a variable in the scope of the token.
 VariableInstance ContextInstance.getVariableInstance(String name, Token token)
           
 Object ContextInstance.getVariableLocally(String name, Token token)
          retrieves a variable which is local to the token.
 Map ContextInstance.getVariables(Token token)
          retrieves all the variableInstances in scope of the given token.
 boolean ContextInstance.hasVariable(String name, Token token)
          checks if a variable is present with the given name in the scope of the token.
 void ContextInstance.setVariable(String name, Object value, Token token)
          sets a variable.
 void ContextInstance.setVariableLocally(String name, Object value, Token token)
          creates a variable in the scope of the given token and calculates the actual VariableInstance-type from the value.
 void ContextInstance.setVariables(Map variables, Token token)
          adds all the variableInstances to the scope of the given token.
 

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

Uses of Token in org.jbpm.db
 

Methods in org.jbpm.db that return Token
 Token GraphSession.getToken(long tokenId)
          returns the persistent token with the given identifier.
 Token GraphSession.loadToken(long tokenId)
          returns the persistent token with the given identifier, assuming the token exists.
 

Methods in org.jbpm.db with parameters of type Token
 void JobSession.deleteTimersByName(String name, Token token)
           
 List JobSession.findJobsByToken(Token token)
           
 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
 Map 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
           
 

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

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)
           
 

Constructors in org.jbpm.graph.exe with parameters of type Token
ExecutionContext(Token token)
           
Token(Token parent, 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, String transitionName)
           
 

Methods in org.jbpm.graph.node with parameters of type Token
 void MilestoneNode.addMilestoneListener(String milestoneName, Token token)
           
protected  void ProcessState.addNodeLog(Token token)
           
protected  Token Fork.createForkedToken(Token parent, String transitionName)
           
protected  String Fork.getTokenName(Token parent, String transitionName)
           
protected  Collection InterleaveStart.getTransitionNames(Token token)
           
 boolean MilestoneNode.isMilestoneReached(String milestoneName, Token token)
           
 boolean Join.mustParentBeReactivated(Token parentToken, Iterator childTokenNames)
           
 void TaskNode.removeTaskInstanceSynchronization(Token token)
           
 void InterleaveStart.removeTransitionNames(Token token)
           
 Collection InterleaveStart.retrieveTransitionNames(Token token)
           
protected  void InterleaveStart.storeTransitionNames(Collection 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)
           
SignalTokenJob(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(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(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(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 an instance of the given task, for the given token.
 TaskInstance TaskMgmtInstance.createTaskInstance(Token token)
           
 Collection 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 © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.