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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CMSAdminTypeRestrictionsServicevoidsetCmsAdminTypeRestrictionsService(CMSAdminTypeRestrictionsService cmsAdminTypeRestrictionsService) boolean
-
Constructor Details
-
ComponentTypeAllowedForContentSlotPredicate
public ComponentTypeAllowedForContentSlotPredicate()
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<ComponentTypeAndContentSlotValidationDto>
-
getCmsAdminTypeRestrictionsService
-
setCmsAdminTypeRestrictionsService
public void setCmsAdminTypeRestrictionsService(CMSAdminTypeRestrictionsService cmsAdminTypeRestrictionsService)
-