Interface CMSItemPropertiesSupplier
- All Known Implementing Classes:
AbstractSmarteditItemPropertiesSupplier,AbstractSmarteditItemPropertiesSupplier,CxCMSDynamicAttributeService,CxScriptPropertiesSupplier,SmartEditComponentPropertiesSupplier,SmartEditComponentPropertiesSupplier,SmartEditContentSlotPropertiesSupplier,SmartEditContentSlotPropertiesSupplier,SmartEditPagePropertiesSupplier,SmartEditPagePropertiesSupplier
public interface CMSItemPropertiesSupplier
Supplier to provide a
Map of properties for CMSItemModel.-
Method Summary
Modifier and TypeMethodDescriptionThePredicateto test whether this supplier can be applied to providedCMSItemModelgetProperties(CMSItemModel itemModel) Returns aMapof properties.Method to provide the properties' group name.default booleanisEnabled(CMSItemModel itemModel) Method to verify whether properties should be applied or not toCMSItemModel.
-
Method Details
-
getConstrainedBy
Predicate<CMSItemModel> getConstrainedBy()ThePredicateto test whether this supplier can be applied to providedCMSItemModel- Returns:
- the
Predicate
-
getProperties
Returns aMapof properties.- Parameters:
itemModel- theCMSItemModel- Returns:
- the
Mapof properties.
-
groupName
String groupName()Method to provide the properties' group name.- Returns:
- the properties' group name.
-
isEnabled
Method to verify whether properties should be applied or not toCMSItemModel.- Parameters:
itemModel- theCMSItemModel.- Returns:
- true if properties should be applied, false otherwise; default is true.
-