Packagecom.esri.bacore.domain
Interfacepublic interface IStorage
Implementors CookieStorage

Since : Community Analyst API for Flex 2.2.

The IStorage interface provides a storage for string values.



Public Methods
 MethodDefined By
  
flush():void
IStorage
  
getData(key:String):*
Gets a data item from the storage.
IStorage
  
putData(key:String, value:*):Boolean
Puts a data item to the storage.
IStorage
Method Detail
flush()method
public function flush():void

getData()method 
public function getData(key:String):*

Gets a data item from the storage.

Parameters

key:String — Key identifying the item.

Returns
* — Required item or null.
putData()method 
public function putData(key:String, value:*):Boolean

Puts a data item to the storage.

Parameters

key:String — Key identifying the item.
 
value:* — Item to be stored.

Returns
Boolean — True if the item was successfully stored.