Packageorg.granite.tide.data
Classpublic class Conflicts

Holds conflict data when locally changed data is in conflict with data coming from the server



Public Properties
 PropertyDefined by
  allResolved : Boolean
[read-only]
Conflicts
  conflicts : Array
[read-only]
Conflicts
  empty : Boolean
[read-only]
Conflicts
Public Methods
 MethodDefined by
  
Conflicts(context:BaseContext, entityManager:EntityManager)
Conflicts
  
Conflicts
  
Conflicts
  
acceptClient(conflict:Conflict):void
Conflicts
  
acceptServer(conflict:Conflict):void
Conflicts
  
addConflict(localEntity:IEntity, receivedEntity:Object, properties:Array = null):void
Conflicts
Property detail
allResolvedproperty
allResolved:Boolean  [read-only]Implementation
    public function get allResolved():Boolean
conflictsproperty 
conflicts:Array  [read-only]Implementation
    public function get conflicts():Array
emptyproperty 
empty:Boolean  [read-only]Implementation
    public function get empty():Boolean
Constructor detail
Conflicts()constructor
public function Conflicts(context:BaseContext, entityManager:EntityManager)Parameters
context:BaseContext
 
entityManager:EntityManager
Method detail
acceptAllClient()method
public function acceptAllClient():void
acceptAllServer()method 
public function acceptAllServer():void
acceptClient()method 
public function acceptClient(conflict:Conflict):voidParameters
conflict:Conflict
acceptServer()method 
public function acceptServer(conflict:Conflict):voidParameters
conflict:Conflict
addConflict()method 
public function addConflict(localEntity:IEntity, receivedEntity:Object, properties:Array = null):voidParameters
localEntity:IEntity
 
receivedEntity:Object
 
properties:Array (default = null)