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.
since 1811, please use CMSItemFacade instead.
This populator will populate the CMSNavigationNodeModel's the position of the node in relation to its siblings.
  • Constructor Details

    • NavigationNodeDataToModelPositionPopulator

      public NavigationNodeDataToModelPositionPopulator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • populate

      public void populate(NavigationNodeData source, CMSNavigationNodeModel target) throws ConversionException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Populator
      Populate the target instance with values from the source instance.
      Specified by:
      populate in interface Populator<NavigationNodeData,CMSNavigationNodeModel>
      Parameters:
      source - the source object
      target - the target to fill
      Throws:
      ConversionException - if an error occurs
    • getFinalPosition

      protected int getFinalPosition(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 boundaries
      Parameters:
      position - the desired position
      childrenSize - 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, for removal: This API element is subject to removal in a future version.
    • setNavigationModelToDataConverter

      public void setNavigationModelToDataConverter(AbstractPopulatingConverter<CMSNavigationNodeModel,NavigationNodeData> navigationModelToDataConverter)
      Deprecated, for removal: This API element is subject to removal in a future version.