Class CatalogVersionExistsPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.predicate.CatalogVersionExistsPredicate
-
- All Implemented Interfaces:
java.util.function.BiPredicate<java.lang.String,java.lang.String>
public class CatalogVersionExistsPredicate extends java.lang.Object implements java.util.function.BiPredicate<java.lang.String,java.lang.String>Predicate to test if a given catalog and version exist.Returns TRUE if the given catalog version exists in the provided catalog; FALSE otherwise.
-
-
Constructor Summary
Constructors Constructor Description CatalogVersionExistsPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CatalogVersionServicegetCatalogVersionService()protected SessionSearchRestrictionsDisablergetSessionSearchRestrictionsDisabler()voidsetCatalogVersionService(CatalogVersionService catalogVersionService)voidsetSessionSearchRestrictionsDisabler(SessionSearchRestrictionsDisabler sessionSearchRestrictionsDisabler)booleantest(java.lang.String catalogId, java.lang.String catalogVersionId)
-
-
-
Method Detail
-
test
public boolean test(java.lang.String catalogId, java.lang.String catalogVersionId)- Specified by:
testin interfacejava.util.function.BiPredicate<java.lang.String,java.lang.String>
-
getCatalogVersionService
protected CatalogVersionService getCatalogVersionService()
-
setCatalogVersionService
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
-
getSessionSearchRestrictionsDisabler
protected SessionSearchRestrictionsDisabler getSessionSearchRestrictionsDisabler()
-
setSessionSearchRestrictionsDisabler
public void setSessionSearchRestrictionsDisabler(SessionSearchRestrictionsDisabler sessionSearchRestrictionsDisabler)
-
-