Query API
Methods for locally accessing and iterating the token tree.
You access each of the query methods over:
getTokenState
getTokenState
Get a tokenState instance from the tokens token tree.
getGroupState
getGroupState
Get a groupState instance from the tokens token tree.
getCollectionState
getCollectionState
Get a collectionState instance from the tokens token tree.
getNearestCollectionState
getNearestCollectionState
Get the collectionState instance enclosing the given path.
getAllTokenStates
getAllTokenStates
Get all tokenState instances from the tokens token tree.
getAllGroupStates
getAllGroupStates
Get all groupState instances from the tokens token tree.
getAllCollectionStates
getAllCollectionStates
Get all collectionState instances from the tokens token tree.
getAllNodeStates
getAllNodeStates
Get all tokenState, groupState and collectionState instances from the tokens token tree.
getTokenChildrenOf
getTokenChildrenOf
Get the tokenState instances that are children of the given path.
getGroupChildrenOf
getGroupChildrenOf
Get the groupState instances that are children of the given path.
getCollectionChildrenOf
getCollectionChildrenOf
Get the collectionState instances that are children of the given path.
getChildrenOf
getChildrenOf
Get the tokenState, groupState and collectionState instances that are children of the given path.
getParentsOf
getParentsOf
Get the groupState and collectionState instances that are parents of the given path.
getGroupChildren
getGroupChildren
Get groupState instances that are direct children of the given path.
getTokenChildren
getTokenChildren
Get tokenState instances that are direct children of the given path.
getCollectionChildren
getCollectionChildren
Get collectionState instances that are direct children of the given path.
renderJSONTree
renderJSONTree
Get the JSON representation of the tokens token tree.
getAliasReference
getAliasReference
Get the aliasReference instance from given coordinates.
getAllAliasReferences
getAllAliasReferences
Get all aliasReference instances from the tokens token tree.
getAliasReferencesTo
getAliasReferencesTo
Get all aliasReference instances that reference the given "to" coordinates.
getAliasReferencesFrom
getAliasReferencesFrom
Get all aliasReference instances that reference the given "from" coordinates.
getStatefulAliasReference
getStatefulAliasReference
Get the statefulAliasReference instance of the given "from" coordinates.
getStatefulAliasReferencesTo
getStatefulAliasReferencesTo
Get the statefulAliasReference instances that reference the given "to" coordinates.
getStatefulAliasReferencesFrom
getStatefulAliasReferencesFrom
Get the statefulAliasReference instances that reference the given "from" coordinates.
Last updated