Package | org.spicefactory.parsley.core.state |
Interface | public interface GlobalScopeState |
Method | Defined 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 |
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
|
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
|
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
|
String — the next uuid for the specified scope name
|