Class ContentPageLabelOrIdExistsPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.predicate.ContentPageLabelOrIdExistsPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.String>
public class ContentPageLabelOrIdExistsPredicate extends java.lang.Object implements java.util.function.Predicate<java.lang.String>Predicate to check existence of label or id for a ContentPage.Returns TRUE if the given label or id exists; FALSE otherwise.
-
-
Constructor Summary
Constructors Constructor Description ContentPageLabelOrIdExistsPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSContentPageServicegetCmsContentPageService()voidsetCmsContentPageService(CMSContentPageService cmsContentPageService)booleantest(java.lang.String pageLabelOrId)
-
-
-
Method Detail
-
test
public boolean test(java.lang.String pageLabelOrId)
- Specified by:
testin interfacejava.util.function.Predicate<java.lang.String>
-
getCmsContentPageService
protected CMSContentPageService getCmsContentPageService()
-
setCmsContentPageService
public void setCmsContentPageService(CMSContentPageService cmsContentPageService)
-
-