Paket | spark.managers |
Gränssnitt | public interface IPersistenceManager |
Implementorer | PersistenceManager |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | AIR 2.5 |
Relaterade API-element
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
Clears all the data that is being stored by the persistence
manager. | IPersistenceManager | ||
Returns the value of a property stored in the persistence manager. | IPersistenceManager | ||
Initializes the persistence manager. | IPersistenceManager | ||
Flushes the data being managed by the persistence manager to
disk, or to another external storage file. | IPersistenceManager | ||
Stores a value in the persistence manager. | IPersistenceManager |
Metoddetaljer
clear | () | metod |
public function clear():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | AIR 2.5 |
Clears all the data that is being stored by the persistence manager.
getProperty | () | metod |
public function getProperty(key:String):Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | AIR 2.5 |
Returns the value of a property stored in the persistence manager. Properties are saved as key:value pairs.
Parametrar
key:String — The property key.
|
Object — The value of a property stored in the persistence manager.
|
load | () | metod |
save | () | metod |
setProperty | () | metod |
public function setProperty(key:String, value:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | AIR 2.5 |
Stores a value in the persistence manager. Properties are saved as key:value pairs.
Parametrar
key:String — The key to use to store the value.
| |
value:Object — The value object to store.
|
Tue Jun 12 2018, 01:40 PM Z