Package | org.spicefactory.parsley.core.binding |
Interface | public interface PersistenceManager extends flash.events.IEventDispatcher |
Implementors | LocalPersistenceManager |
Method | Defined By | ||
---|---|---|---|
deleteValue(key:Object):void
Deletes the value mapping to the specified key. | PersistenceManager | ||
getValue(key:Object):Object
Returns the value mapping to the specified type and id. | PersistenceManager | ||
saveValue(key:Object, value:Object):void
Saves the specified value. | PersistenceManager |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when the persistent values changed. | PersistenceManager |
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
|
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
|
change | Event |
flash.events.Event
flash.events.Event.CHANGE
Dispatched when the persistent values changed.