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
Default implementation of
CMSItemPropertiesSupplier to handle AbstractCMSComponentModel.-
Field Summary
Fields inherited from class de.hybris.platform.cmsoccaddon.properties.suppliers.AbstractSmarteditItemPropertiesSupplier
CLASSES, GROUP_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
getPropertiesMethods inherited from class de.hybris.platform.cmsoccaddon.properties.suppliers.AbstractSmarteditItemPropertiesSupplier
getConstrainedBy, getItemModelPredicate, getSessionService, getUniqueItemIdentifierService, groupName, setItemModelPredicate, setSessionService, setUniqueItemIdentifierService
-
Constructor Details
-
SmartEditComponentPropertiesSupplier
public SmartEditComponentPropertiesSupplier()
-
-
Method Details
-
isEnabled
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
Verifies that theCMSItemModelis a container.- Parameters:
itemModel- theCMSItemModelto verify- Returns:
- true if the
CMSItemModelis a container, false otherwise.
-