Class ComponentExistsPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.predicate.ComponentExistsPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.String>
public class ComponentExistsPredicate 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 ComponentExistsPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSAdminComponentServicegetCmsAdminComponentService()voidsetCmsAdminComponentService(CMSAdminComponentService cmsAdminComponentService)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>
-
getCmsAdminComponentService
protected CMSAdminComponentService getCmsAdminComponentService()
-
setCmsAdminComponentService
public void setCmsAdminComponentService(CMSAdminComponentService cmsAdminComponentService)
-
-