Packagemain.model.proxies
Classpublic class SharedObjectProxy
InheritanceSharedObjectProxy Inheritance ListProxy Inheritance org.puremvc.as3.multicore.utilities.fabrication.patterns.proxy.FabricationProxy



Public Properties
 PropertyDefined By
 Inheritedlist : ArrayCollection
[read-only]
ListProxy
Public Methods
 MethodDefined By
  
SharedObjectProxy(name:String, _list:ArrayCollection = null)
SharedObjectProxy
 Inherited
add(element:IListElement):void
ListProxy
  
addByDescriptor(sharedObjectDescriptor:ISharedObjectDescriptor, bootstrapPeer:String, netGroupID:String):void
SharedObjectProxy
 Inherited
exists(element:IListElement):Boolean
ListProxy
 Inherited
find(elementID:String):IListElement
ListProxy
  
findAllByNetGroupID(id:String):Array
SharedObjectProxy
  
SharedObjectProxy
  
SharedObjectProxy
  
load(fileReference:FileReference):void
SharedObjectProxy
  
[override]
SharedObjectProxy
  
[override]
SharedObjectProxy
 Inherited
remove(element:IListElement):void
ListProxy
 Inherited
removeAll():void
ListProxy
  
save(sharedObject:ISharedObject):void
SharedObjectProxy
  
share(fileReference:FileReference):void
SharedObjectProxy
Public Constants
 ConstantDefined By
 InheritedADDED_TO_LIST : String = addedToList
[static]
ListProxy
  NAME : String = SharedObjectProxy
[static]
SharedObjectProxy
 InheritedREMOVED_FROM_LIST : String = removedFromList
[static]
ListProxy
  SHARED_OBJECT_ADDED : String = sharedObjectAdded
[static]
SharedObjectProxy
  SHARED_OBJECT_COMPLETED : String = sharedObjectCompleted
[static]
SharedObjectProxy
  SHARED_OBJECT_REMOVED : String = sharedObjectRemoved
[static]
SharedObjectProxy
  SHARED_OBJECT_UPDATED : String = sharedObjectUpdated
[static]
SharedObjectProxy
Constructor Detail
SharedObjectProxy()Constructor
public function SharedObjectProxy(name:String, _list:ArrayCollection = null)



Parameters
name:String (default = NaN)
 
_list:ArrayCollection (default = null)
Method Detail
addByDescriptor()method
public function addByDescriptor(sharedObjectDescriptor:ISharedObjectDescriptor, bootstrapPeer:String, netGroupID:String):void

Parameters

sharedObjectDescriptor:ISharedObjectDescriptor
 
bootstrapPeer:String
 
netGroupID:String

findAllByNetGroupID()method 
public function findAllByNetGroupID(id:String):Array

Parameters

id:String

Returns
Array
findByGroupSpec()method 
public function findByGroupSpec(groupSpec:IGroupSpec):ISharedObject

Parameters

groupSpec:IGroupSpec

Returns
ISharedObject
findBySha256()method 
public function findBySha256(sha256:String):ISharedObject

Parameters

sha256:String

Returns
ISharedObject
load()method 
public function load(fileReference:FileReference):void

Parameters

fileReference:FileReference

onElementAdded()method 
override public function onElementAdded(element:IListElement):void

Parameters

element:IListElement

onElementRemoved()method 
override public function onElementRemoved(element:IListElement):void

Parameters

element:IListElement

save()method 
public function save(sharedObject:ISharedObject):void

Parameters

sharedObject:ISharedObject

share()method 
public function share(fileReference:FileReference):void

Parameters

fileReference:FileReference

Constant Detail
NAMEConstant
public static const NAME:String = SharedObjectProxy

SHARED_OBJECT_ADDEDConstant 
public static const SHARED_OBJECT_ADDED:String = sharedObjectAdded

SHARED_OBJECT_COMPLETEDConstant 
public static const SHARED_OBJECT_COMPLETED:String = sharedObjectCompleted

SHARED_OBJECT_REMOVEDConstant 
public static const SHARED_OBJECT_REMOVED:String = sharedObjectRemoved

SHARED_OBJECT_UPDATEDConstant 
public static const SHARED_OBJECT_UPDATED:String = sharedObjectUpdated