Class NavigationNodeDataToModelPositionPopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.navigations.populator.data.NavigationNodeDataToModelPositionPopulator
-
- All Implemented Interfaces:
Populator<NavigationNodeData,CMSNavigationNodeModel>
@Deprecated public class NavigationNodeDataToModelPositionPopulator extends java.lang.Object implements Populator<NavigationNodeData,CMSNavigationNodeModel>
Deprecated.since 1811, please useCMSItemFacadeinstead.This populator will populate theCMSNavigationNodeModel's the position of the node in relation to its siblings.
-
-
Constructor Summary
Constructors Constructor Description NavigationNodeDataToModelPositionPopulator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected intgetFinalPosition(java.lang.Integer position, java.lang.Integer childrenSize)Deprecated.Returns the final position of the node to make sure the node's position is within parent's list boundariesprotected AbstractPopulatingConverter<CMSNavigationNodeModel,NavigationNodeData>getNavigationModelToDataConverter()Deprecated.voidpopulate(NavigationNodeData source, CMSNavigationNodeModel target)Deprecated.Populate the target instance with values from the source instance.voidsetNavigationModelToDataConverter(AbstractPopulatingConverter<CMSNavigationNodeModel,NavigationNodeData> navigationModelToDataConverter)Deprecated.
-
-
-
Method Detail
-
populate
public void populate(NavigationNodeData source, CMSNavigationNodeModel target) throws ConversionException
Deprecated.Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<NavigationNodeData,CMSNavigationNodeModel>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getFinalPosition
protected int getFinalPosition(java.lang.Integer position, java.lang.Integer childrenSize)Deprecated.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
-
getNavigationModelToDataConverter
protected AbstractPopulatingConverter<CMSNavigationNodeModel,NavigationNodeData> getNavigationModelToDataConverter()
Deprecated.
-
setNavigationModelToDataConverter
public void setNavigationModelToDataConverter(AbstractPopulatingConverter<CMSNavigationNodeModel,NavigationNodeData> navigationModelToDataConverter)
Deprecated.
-
-