| Package | com.esri.bacore.domain |
| Class | public class CookieStorage |
| Inheritance | CookieStorage Object |
| Implements | IStorage |
| Since : | Community Analyst API for Flex 2.2. |
| Property | Defined By | ||
|---|---|---|---|
| storageTag : String
Tag of the shared object to be used as the storage. | CookieStorage | ||
| Method | Defined By | ||
|---|---|---|---|
CookieStorage(tag:String = null)
Creates a new instance of the CookieStorage class. | CookieStorage | ||
flush():void
Immediatelly writes the storage content to the persistent storage location. | CookieStorage | ||
getData(key:String):*
Gets a data item from the storage. | CookieStorage | ||
putData(key:String, value:*):Boolean
Puts a data item to the storage. | CookieStorage | ||
| storageTag | property |
storageTag:StringTag of the shared object to be used as the storage.
The default value is "BACookieStorage".
public function get storageTag():String public function set storageTag(value:String):void| CookieStorage | () | Constructor |
public function CookieStorage(tag:String = null)
Creates a new instance of the CookieStorage class.
If tag parameter is missing, the storage will be created with
the default tag.
tag:String (default = null) — Tag of the shared object to be used as the storage.
|
| flush | () | method |
public function flush():voidImmediatelly writes the storage content to the persistent storage location.
| getData | () | method |
public function getData(key:String):*Gets a data item from the storage.
Parameters
key:String — Key identifying the item.
|
* — Required item or null.
|
| putData | () | method |
public function putData(key:String, value:*):BooleanPuts a data item to the storage.
Parameters
key:String — Key identifying the item.
| |
value:* — Item to be stored.
|
Boolean — True if the item was successfully stored.
|