Class ComponentExistsInCatalogVersionsPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.predicate.ComponentExistsInCatalogVersionsPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.String>
public class ComponentExistsInCatalogVersionsPredicate extends java.lang.Object implements java.util.function.Predicate<java.lang.String>
Predicate to test if a given component uid maps to an existing component.Returns TRUE if the component exists; FALSE otherwise.
-
-
Constructor Summary
Constructors Constructor Description ComponentExistsInCatalogVersionsPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CatalogVersionService
getCatalogVersionService()
protected CMSAdminComponentService
getCmsAdminComponentService()
void
setCatalogVersionService(CatalogVersionService catalogVersionService)
void
setCmsAdminComponentService(CMSAdminComponentService cmsAdminComponentService)
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>
-
getCmsAdminComponentService
protected CMSAdminComponentService getCmsAdminComponentService()
-
setCmsAdminComponentService
public void setCmsAdminComponentService(CMSAdminComponentService cmsAdminComponentService)
-
getCatalogVersionService
protected CatalogVersionService getCatalogVersionService()
-
setCatalogVersionService
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
-
-