Class SmartEditComponentPropertiesSupplier
- java.lang.Object
-
- de.hybris.platform.cmsoccaddon.properties.suppliers.AbstractSmarteditItemPropertiesSupplier
-
- de.hybris.platform.cmsoccaddon.properties.suppliers.SmartEditContentSlotPropertiesSupplier
-
- de.hybris.platform.cmsoccaddon.properties.suppliers.SmartEditComponentPropertiesSupplier
-
- All Implemented Interfaces:
CMSItemPropertiesSupplier
public class SmartEditComponentPropertiesSupplier extends SmartEditContentSlotPropertiesSupplier
Default implementation ofCMSItemPropertiesSupplierto handleAbstractCMSComponentModel.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cmsoccaddon.properties.suppliers.AbstractSmarteditItemPropertiesSupplier
CLASSES, GROUP_NAME
-
-
Constructor Summary
Constructors Constructor Description SmartEditComponentPropertiesSupplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisContainer(CMSItemModel itemModel)Verifies that theCMSItemModelis a container.booleanisEnabled(CMSItemModel itemModel)Method to verify whether properties should be applied or not toCMSItemModel.-
Methods inherited from class de.hybris.platform.cmsoccaddon.properties.suppliers.SmartEditContentSlotPropertiesSupplier
getProperties
-
Methods inherited from class de.hybris.platform.cmsoccaddon.properties.suppliers.AbstractSmarteditItemPropertiesSupplier
getConstrainedBy, getItemModelPredicate, getSessionService, getUniqueItemIdentifierService, groupName, setItemModelPredicate, setSessionService, setUniqueItemIdentifierService
-
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled(CMSItemModel itemModel)
Description copied from interface:CMSItemPropertiesSupplierMethod to verify whether properties should be applied or not toCMSItemModel.- Specified by:
isEnabledin interfaceCMSItemPropertiesSupplier- Overrides:
isEnabledin classAbstractSmarteditItemPropertiesSupplier- Parameters:
itemModel- theCMSItemModel.- Returns:
- true if properties should be applied, false otherwise; default is true.
-
isContainer
protected boolean isContainer(CMSItemModel itemModel)
Verifies that theCMSItemModelis a container.- Parameters:
itemModel- theCMSItemModelto verify- Returns:
- true if the
CMSItemModelis a container, false otherwise.
-
-