Class ComponentTypeAllowedForContentSlotPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.predicate.ComponentTypeAllowedForContentSlotPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<ComponentTypeAndContentSlotValidationDto>
public class ComponentTypeAllowedForContentSlotPredicate extends java.lang.Object implements java.util.function.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 Constructor Description ComponentTypeAllowedForContentSlotPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSAdminTypeRestrictionsServicegetCmsAdminTypeRestrictionsService()voidsetCmsAdminTypeRestrictionsService(CMSAdminTypeRestrictionsService cmsAdminTypeRestrictionsService)booleantest(ComponentTypeAndContentSlotValidationDto target)
-
-
-
Method Detail
-
test
public boolean test(ComponentTypeAndContentSlotValidationDto target)
- Specified by:
testin interfacejava.util.function.Predicate<ComponentTypeAndContentSlotValidationDto>
-
getCmsAdminTypeRestrictionsService
protected CMSAdminTypeRestrictionsService getCmsAdminTypeRestrictionsService()
-
setCmsAdminTypeRestrictionsService
public void setCmsAdminTypeRestrictionsService(CMSAdminTypeRestrictionsService cmsAdminTypeRestrictionsService)
-
-