Class ContentSlotExistsInCatalogVersionsPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.predicate.ContentSlotExistsInCatalogVersionsPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.String>
public class ContentSlotExistsInCatalogVersionsPredicate 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 ContentSlotExistsInCatalogVersionsPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CatalogVersionService
getCatalogVersionService()
protected CMSAdminContentSlotService
getCmsAdminContentSlotService()
void
setCatalogVersionService(CatalogVersionService catalogVersionService)
void
setCmsAdminContentSlotService(CMSAdminContentSlotService cmsAdminContentSlotService)
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.
-
-
-
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:
test
in interfacejava.util.function.Predicate<java.lang.String>
-
getCmsAdminContentSlotService
protected CMSAdminContentSlotService getCmsAdminContentSlotService()
-
setCmsAdminContentSlotService
public void setCmsAdminContentSlotService(CMSAdminContentSlotService cmsAdminContentSlotService)
-
getCatalogVersionService
protected CatalogVersionService getCatalogVersionService()
-
setCatalogVersionService
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
-
-