Package | org.spicefactory.parsley.core.binding.impl |
Class | public class LocalPersistenceManager |
Inheritance | LocalPersistenceManager flash.events.EventDispatcher |
Implements | PersistenceManager, ScopeAware |
Method | Defined By | ||
---|---|---|---|
LocalPersistenceManager(name:String = parsley_persistence) | LocalPersistenceManager | ||
deleteValue(key:Object):void
Deletes the value mapping to the specified key. | LocalPersistenceManager | ||
getValue(key:Object):Object
Returns the value mapping to the specified type and id. | LocalPersistenceManager | ||
Invoked once after the extension has been instantiated. | LocalPersistenceManager | ||
saveValue(key:Object, value:Object):void
Saves the specified value. | LocalPersistenceManager |
LocalPersistenceManager | () | Constructor |
public function LocalPersistenceManager(name:String = parsley_persistence)
name:String (default = parsley_persistence )
|
deleteValue | () | method |
public function deleteValue(key:Object):void
Deletes the value mapping to the specified key.
Parameters
key:Object — the key of the value to delete
|
getValue | () | method |
public function getValue(key:Object):Object
Returns the value mapping to the specified type and id.
Parameters
key:Object — the key of the value to retrieve
|
Object — the value mapping to the specified key
|
init | () | method |
public function init(scope:Scope):void
Invoked once after the extension has been instantiated. The Scope instance passed to this method represents the scope that this extension is associated with.
Parameters
scope:Scope — the scope this extension is associated with
|
saveValue | () | method |
public function saveValue(key:Object, value:Object):void
Saves the specified value.
Parameters
key:Object — the key of the value to save
| |
value:Object — the value to save
|