Class CascadingModelWalker
java.lang.Object
de.hybris.platform.servicelayer.internal.model.extractor.impl.CascadingModelWalker
Traverses the attributes of given model and finds newly added models.
Processes the full tree of models starting with a given model and ending in the bottom-most level of aggregation when no more new models can be found. For every newly found model it invokes the provided callbacks. Also, the callback is notified when a dependency is spotted between particular model and it's children.
Processes the full tree of models starting with a given model and ending in the bottom-most level of aggregation when no more new models can be found. For every newly found model it invokes the provided callbacks. Also, the callback is notified when a dependency is spotted between particular model and it's children.
-
Constructor Summary
ConstructorsConstructorDescriptionCascadingModelWalker(DefaultModelService modelService, ModelWalkerCallback callback) -
Method Summary
Modifier and TypeMethodDescriptionvoidwalkThrough(ModelWrapper toProcess, WrapperRegistry wrapperRegistry)
-
Constructor Details
-
CascadingModelWalker
-
-
Method Details
-
walkThrough
-