Packageorg.restfulx.events
Classpublic class CacheUpdateEvent
InheritanceCacheUpdateEvent Inheritance flash.events.Event

This event is dispatched Rx Models cache gets updated and can be used to selectively refresh data providers, etc.



Public Properties
 PropertyDefined by
  CREATE : int = 3
[static]
CacheUpdateEvent
  data : Object
Data associated with the operation
CacheUpdateEvent
  DESTROY : int = 5
[static]
CacheUpdateEvent
  fqn : String
Fully qualified name of the model class that got updated
CacheUpdateEvent
  ID : String = "cacheUpdate"
[static] Event identifier
CacheUpdateEvent
  INDEX : int = 1
[static]
CacheUpdateEvent
  opType : int
The operation that was performed
CacheUpdateEvent
  serviceProvider : IServiceProvider
CacheUpdateEvent
  SHOW : int = 2
[static]
CacheUpdateEvent
  UPDATE : int = 4
[static]
CacheUpdateEvent
Public Methods
 MethodDefined by
  
CacheUpdateEvent(fqn:String, opType:int, serviceProvider:IServiceProvider, data:Object = null)
CacheUpdateEvent
  
isCreate():Boolean
CacheUpdateEvent
  
isCreateFor(model:Class):Boolean
CacheUpdateEvent
  
isDestroy():Boolean
CacheUpdateEvent
  
isDestroyFor(model:Class):Boolean
CacheUpdateEvent
  
isFor(model:Class):Boolean
CacheUpdateEvent
  
isIndex():Boolean
CacheUpdateEvent
  
isIndexFor(model:Class):Boolean
CacheUpdateEvent
  
isShow():Boolean
CacheUpdateEvent
  
isShowFor(model:Class):Boolean
CacheUpdateEvent
  
isUpdate():Boolean
CacheUpdateEvent
  
isUpdateFor(model:Class):Boolean
CacheUpdateEvent
Property detail
CREATEproperty
public static var CREATE:int = 3
dataproperty 
public var data:Object

Data associated with the operation

DESTROYproperty 
public static var DESTROY:int = 5
fqnproperty 
public var fqn:String

Fully qualified name of the model class that got updated

IDproperty 
public static var ID:String = "cacheUpdate"

Event identifier

INDEXproperty 
public static var INDEX:int = 1
opTypeproperty 
public var opType:int

The operation that was performed

serviceProviderproperty 
public var serviceProvider:IServiceProvider
SHOWproperty 
public static var SHOW:int = 2
UPDATEproperty 
public static var UPDATE:int = 4
Constructor detail
CacheUpdateEvent()constructor
public function CacheUpdateEvent(fqn:String, opType:int, serviceProvider:IServiceProvider, data:Object = null)Parameters
fqn:String
 
opType:int
 
serviceProvider:IServiceProvider
 
data:Object (default = null)
Method detail
isCreate()method
public function isCreate():Boolean

Returns
Boolean
isCreateFor()method 
public function isCreateFor(model:Class):BooleanParameters
model:Class

Returns
Boolean
isDestroy()method 
public function isDestroy():Boolean

Returns
Boolean
isDestroyFor()method 
public function isDestroyFor(model:Class):BooleanParameters
model:Class

Returns
Boolean
isFor()method 
public function isFor(model:Class):BooleanParameters
model:Class

Returns
Boolean
isIndex()method 
public function isIndex():Boolean

Returns
Boolean
isIndexFor()method 
public function isIndexFor(model:Class):BooleanParameters
model:Class

Returns
Boolean
isShow()method 
public function isShow():Boolean

Returns
Boolean
isShowFor()method 
public function isShowFor(model:Class):BooleanParameters
model:Class

Returns
Boolean
isUpdate()method 
public function isUpdate():Boolean

Returns
Boolean
isUpdateFor()method 
public function isUpdateFor(model:Class):BooleanParameters
model:Class

Returns
Boolean