Pacchetto | spark.managers |
Interfaccia | public interface IPersistenceManager |
Implementatori | PersistenceManager |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | AIR 2.5 |
Elementi API correlati
Metodi pubblici
Metodo | Definito da | ||
---|---|---|---|
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 |
Descrizione dei metodi
clear | () | metodo |
public function clear():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | AIR 2.5 |
Clears all the data that is being stored by the persistence manager.
getProperty | () | metodo |
public function getProperty(key:String):Object
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | AIR 2.5 |
Returns the value of a property stored in the persistence manager. Properties are saved as key:value pairs.
Parametri
key:String — The property key.
|
Object — The value of a property stored in the persistence manager.
|
load | () | metodo |
save | () | metodo |
setProperty | () | metodo |
public function setProperty(key:String, value:Object):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | AIR 2.5 |
Stores a value in the persistence manager. Properties are saved as key:value pairs.
Parametri
key:String — The key to use to store the value.
| |
value:Object — The value object to store.
|
Tue Jun 12 2018, 02:44 PM Z