Packageorg.spicefactory.parsley.core.state
Interfacepublic interface GlobalScopeState

Global status information about currently active scopes.



Public Methods
 MethodDefined By
  
getScopeById(uuid:String):Scope
Returns the scope with the specified unique id.
GlobalScopeState
  
getScopesByName(name:String):Array
Returns all scopes with the specified name.
GlobalScopeState
  
nextUuidForName(scopeName:String):String
Returns the next uuid for the specified scope name.
GlobalScopeState
Method Detail
getScopeById()method
public function getScopeById(uuid:String):Scope

Returns the scope with the specified unique id.

Parameters

uuid:String — the unique id of the scope to look for

Returns
Scope — the scope with the specified unique id or null if no such scope exists.
getScopesByName()method 
public function getScopesByName(name:String):Array

Returns all scopes with the specified name.

Parameters

name:String — the name of the scopes to look for

Returns
Array — the scopes with the specified name or an empty Array if no such scope exists.
nextUuidForName()method 
public function nextUuidForName(scopeName:String):String

Returns the next uuid for the specified scope name.

Parameters

scopeName:String — the name of the scope

Returns
String — the next uuid for the specified scope name