|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TokenService
Method Summary | |
---|---|
java.util.List |
getActiveTokensForInstance(InstanceID instanceID)
Returns all tokens active for a given execution instance of a business process |
java.util.List |
getParallelTokens(TokenID tokenID)
Returns a set of tokens that are considered 'parallel' to a given tokenID Parallel tokens are any tokens that can trace their lineage to the first common ancestor N T1 T2 <- parallel tokens N N1 T1 T2 N2 | T3 T4 | N3 | T5 | N4 So N4 asking about T2 could get T1 or T3 and/or T4 or T5, depending on execution timing. |
Token |
getTokenByID(TokenID tokenID)
Fetches a token from the token store |
Token |
newToken(InstanceID instanceID,
NodeID nodeID,
int tokenState)
token factory - creates a new token with valid token ID. |
Token[] |
nextToken(Connection[] connSet,
Token parentToken)
Returns a set of tokens, advanced along the connections given. |
boolean |
saveToken(Token t)
Saves the state of a token after modification or update |
Method Detail |
---|
java.util.List getActiveTokensForInstance(InstanceID instanceID)
instanceID
-
Token newToken(InstanceID instanceID, NodeID nodeID, int tokenState)
Token[] nextToken(Connection[] connSet, Token parentToken)
connSet
- parentToken
-
boolean saveToken(Token t)
t
-
Token getTokenByID(TokenID tokenID)
tokenID
-
java.util.List getParallelTokens(TokenID tokenID)
tokenID
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |