Class CMSNavigationNodePopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.cmsitems.populators.CMSNavigationNodePopulator
-
- All Implemented Interfaces:
Populator<java.util.Map<java.lang.String,java.lang.Object>,CMSNavigationNodeModel>
public class CMSNavigationNodePopulator extends java.lang.Object implements Populator<java.util.Map<java.lang.String,java.lang.Object>,CMSNavigationNodeModel>
CMS Navigation node model populator.
-
-
Constructor Summary
Constructors Constructor Description CMSNavigationNodePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSNavigationServicegetCmsNavigationService()voidpopulate(java.util.Map<java.lang.String,java.lang.Object> source, CMSNavigationNodeModel cmsNavigationNode)Populate the target instance with values from the source instance.voidsetCmsNavigationService(CMSNavigationService cmsNavigationService)protected voidsetSuperRootNode(CMSNavigationNodeModel cmsNavigationNode)Populates the super root node if no parent is provided.
-
-
-
Method Detail
-
populate
public void populate(java.util.Map<java.lang.String,java.lang.Object> source, CMSNavigationNodeModel cmsNavigationNode) throws ConversionExceptionDescription copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<java.util.Map<java.lang.String,java.lang.Object>,CMSNavigationNodeModel>- Parameters:
source- the source objectcmsNavigationNode- the target to fill- Throws:
ConversionException- if an error occurs
-
setSuperRootNode
protected void setSuperRootNode(CMSNavigationNodeModel cmsNavigationNode)
Populates the super root node if no parent is provided.- Parameters:
cmsNavigationNode- the node to populate
-
getCmsNavigationService
protected CMSNavigationService getCmsNavigationService()
-
setCmsNavigationService
public void setCmsNavigationService(CMSNavigationService cmsNavigationService)
-
-