| Pacote | spark.managers |
| Interface | public interface IPersistenceManager |
| Implementadores | PersistenceManager |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | AIR 2.5 |
Elementos da API relacionados
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
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 | ||
Detalhes do método
clear | () | método |
public function clear():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | AIR 2.5 |
Clears all the data that is being stored by the persistence manager.
getProperty | () | método |
public function getProperty(key:String):Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | AIR 2.5 |
Returns the value of a property stored in the persistence manager. Properties are saved as key:value pairs.
Parâmetros
key:String — The property key.
|
Object — The value of a property stored in the persistence manager.
|
load | () | método |
save | () | método |
setProperty | () | método |
public function setProperty(key:String, value:Object):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | AIR 2.5 |
Stores a value in the persistence manager. Properties are saved as key:value pairs.
Parâmetros
key:String — The key to use to store the value.
| |
value:Object — The value object to store.
|
Wed Jun 13 2018, 11:10 AM Z