Class NavigationNodeDataToModelPositionPopulator
java.lang.Object
de.hybris.platform.cmsfacades.navigations.populator.data.NavigationNodeDataToModelPositionPopulator
- All Implemented Interfaces:
Populator<NavigationNodeData,CMSNavigationNodeModel>
@Deprecated(since="1811",
forRemoval=true)
public class NavigationNodeDataToModelPositionPopulator
extends Object
implements Populator<NavigationNodeData,CMSNavigationNodeModel>
Deprecated, for removal: This API element is subject to removal in a future version.
This populator will populate the
CMSNavigationNodeModel's the position of the node in relation to its
siblings.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetFinalPosition(Integer position, Integer childrenSize) Deprecated, for removal: This API element is subject to removal in a future version.Returns the final position of the node to make sure the node's position is within parent's list boundariesDeprecated, for removal: This API element is subject to removal in a future version.voidpopulate(NavigationNodeData source, CMSNavigationNodeModel target) Deprecated, for removal: This API element is subject to removal in a future version.Populate the target instance with values from the source instance.voidsetNavigationModelToDataConverter(AbstractPopulatingConverter<CMSNavigationNodeModel, NavigationNodeData> navigationModelToDataConverter) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
NavigationNodeDataToModelPositionPopulator
public NavigationNodeDataToModelPositionPopulator()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getFinalPosition
Deprecated, for removal: This API element is subject to removal in a future version.Returns the final position of the node to make sure the node's position is within parent's list boundaries- Parameters:
position- the desired positionchildrenSize- the size of the parent's children list- Returns:
- the final position where the node will be put
CMSItemFacadeinstead.