Class ObjectTemplates4ContentSlotFilter
java.lang.Object
de.hybris.platform.cockpit.services.media.impl.AbstractObjectTypeFilter<ObjectTemplate,ContentSlotNameModel>
de.hybris.platform.cms2.services.meta.impl.ObjectTemplates4ContentSlotFilter
- All Implemented Interfaces:
ObjectTypeFilter<ObjectTemplate,ContentSlotNameModel>
public class ObjectTemplates4ContentSlotFilter
extends AbstractObjectTypeFilter<ObjectTemplate,ContentSlotNameModel>
Implementation of
ObjectTypeFilter that filters ObjectTemplates that are valid in the context of
given ContentSlotNameModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisValidForComponentTypeGroup(ContentSlotNameModel contentSlotName, TypeModel typeModel) protected booleanisValidForValidComponentTypes(ContentSlotNameModel contentSlotName, TypeModel typeModel) Deprecated, for removal: This API element is subject to removal in a future version.booleanisValidType(ObjectTemplate template, ContentSlotNameModel contentSlotName) voidsetTypeService(TypeService typeService) Methods inherited from class de.hybris.platform.cockpit.services.media.impl.AbstractObjectTypeFilter
filterObjectTypes
-
Constructor Details
-
ObjectTemplates4ContentSlotFilter
public ObjectTemplates4ContentSlotFilter()
-
-
Method Details
-
isValidType
- Specified by:
isValidTypein classAbstractObjectTypeFilter<ObjectTemplate,ContentSlotNameModel>
-
isValidForValidComponentTypes
@Deprecated(since="ages", forRemoval=true) protected boolean isValidForValidComponentTypes(ContentSlotNameModel contentSlotName, TypeModel typeModel) Deprecated, for removal: This API element is subject to removal in a future version.since ages - checking valid component types viaContentSlotNameModel.getValidComponentTypes()will be removed. -
isValidForComponentTypeGroup
protected boolean isValidForComponentTypeGroup(ContentSlotNameModel contentSlotName, TypeModel typeModel) -
setTypeService
-
ContentSlotNameModel.getValidComponentTypes()will be removed.