Packageweavejs.api.core
Interfacepublic interface ILinkableCompositeObject extends ILinkableObject

This is an interface to a composite object with dynamic state, meaning child objects can be dynamically added or removed. The session state for this type of object is defined as an Array of DynamicState objects. DynamicState objects are defined as having exactly three properties: objectName, className, and sessionState.

See also

weave.api.core.DynamicState


Public Methods
 MethodDefined By
  
This gets the session state of this composite object.
ILinkableCompositeObject
  
setSessionState(newState:Array, removeMissingDynamicObjects:Boolean):void
This sets the session state of this composite object.
ILinkableCompositeObject
Method Detail
getSessionState()method
public function getSessionState():Array

This gets the session state of this composite object.

Returns
Array — An Array of DynamicState objects which compose the session state for this object.

See also

weave.api.core.DynamicState
setSessionState()method 
public function setSessionState(newState:Array, removeMissingDynamicObjects:Boolean):void

This sets the session state of this composite object.

Parameters

newState:Array — An Array of child name Strings or DynamicState objects containing the new values and types for child ILinkableObjects.
 
removeMissingDynamicObjects:Boolean — If true, this will remove any child objects that do not appear in the session state. As a special case, a null session state will result in no change regardless of the removeMissingDynamicObjects value.

See also

weave.api.core.DynamicState