Class ContentSlotExistsPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.predicate.ContentSlotExistsPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.String>
public class ContentSlotExistsPredicate extends java.lang.Object implements java.util.function.Predicate<java.lang.String>Predicate to test if a given content slot uid maps to an existing content slot.Returns TRUE if the content slot exists; FALSE otherwise.
-
-
Constructor Summary
Constructors Constructor Description ContentSlotExistsPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSAdminContentSlotServicegetCmsAdminContentSlotService()voidsetCmsAdminContentSlotService(CMSAdminContentSlotService cmsAdminContentSlotService)booleantest(java.lang.String target)Suppress sonar warning (squid:S1166 | Exception handlers should preserve the original exception) : The exception is correctly handled in the catch clause.
-
-
-
Method Detail
-
test
public boolean test(java.lang.String target)
Suppress sonar warning (squid:S1166 | Exception handlers should preserve the original exception) : The exception is correctly handled in the catch clause.- Specified by:
testin interfacejava.util.function.Predicate<java.lang.String>
-
getCmsAdminContentSlotService
protected CMSAdminContentSlotService getCmsAdminContentSlotService()
-
setCmsAdminContentSlotService
public void setCmsAdminContentSlotService(CMSAdminContentSlotService cmsAdminContentSlotService)
-
-