Class ComponentTypeAllowedForContentSlotPredicate

java.lang.Object
de.hybris.platform.cmsfacades.common.predicate.ComponentTypeAllowedForContentSlotPredicate
All Implemented Interfaces:
Predicate<ComponentTypeAndContentSlotValidationDto>

public class ComponentTypeAllowedForContentSlotPredicate extends Object implements Predicate<ComponentTypeAndContentSlotValidationDto>
Predicate to test if a given component type is allowed in the given slot. This only considers the component's type against the slot's type restrictions.

Returns TRUE if the component type is allowed in the slot; FALSE otherwise.