public interface IlpExpansionStrategy
IlpDefaultTreeNode,
IlpDefaultNetworkNode,
IlpDefaultNetworkLink,
IlpDefaultEquipmentNode,
IlpDefaultEquipmentLink,
IlpExpansionStrategyFactory| Modifier and Type | Method and Description |
|---|---|
boolean |
areChildrenLoaded(IlpRepresentationObject representation)
Indicates whether the child objects are already loaded with this expansion
strategy.
|
boolean |
isLoadingOnDemand()
Indicates whether this strategy enables loading on demand.
|
void |
loadChildren(IlpRepresentationObject representation)
Loads the children objects of the given representation object so that
they are added to the model and are visible to the attached views.
|
boolean |
mayHaveChild(IlpRepresentationObject representation)
Indicates whether the parameter may have children.
|
void |
releaseChildren(IlpRepresentationObject representation)
Signals that the model and the attached views do not need the
child objects of the given object anymore.
|
void loadChildren(IlpRepresentationObject representation)
This method should load all child objects that are currently available in the back-end. When loading child objects asynchronously, they should all be loaded at once.
This method may be called more than once to a certain representation object.
representation - The representation object with children that are
being queried.void releaseChildren(IlpRepresentationObject representation)
This method may be called more than once to a certain representation object.
representation - The representation object with children that are
being released.boolean areChildrenLoaded(IlpRepresentationObject representation)
true if the child
objects have been queried at least once. This method is used to:
loadChildren.
representation - The representation object.loadChildren(ilog.cpl.model.IlpRepresentationObject)boolean isLoadingOnDemand()
boolean mayHaveChild(IlpRepresentationObject representation)
true.representation - Representation object© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.