Class NavigationNodeEntriesValidator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.navigations.validator.NavigationNodeEntriesValidator
-
- All Implemented Interfaces:
org.springframework.validation.Validator
@Deprecated(since="1811", forRemoval=true) public class NavigationNodeEntriesValidator extends java.lang.Object implements org.springframework.validation.ValidatorDeprecated, for removal: This API element is subject to removal in a future version.since 1811 - no longer neededValidates all the entries of a givenNavigationNodeData.
-
-
Constructor Summary
Constructors Constructor Description NavigationNodeEntriesValidator()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected NavigationEntryConverterRegistrygetNavigationEntryConverterRegistry()Deprecated, for removal: This API element is subject to removal in a future version.protected java.util.function.Predicate<ItemModel>getValidEntryItemModelPredicate()Deprecated, for removal: This API element is subject to removal in a future version.voidsetNavigationEntryConverterRegistry(NavigationEntryConverterRegistry navigationEntryConverterRegistry)Deprecated, for removal: This API element is subject to removal in a future version.voidsetValidEntryItemModelPredicate(java.util.function.Predicate<ItemModel> validEntryItemModelPredicate)Deprecated, for removal: This API element is subject to removal in a future version.booleansupports(java.lang.Class<?> clazz)Deprecated, for removal: This API element is subject to removal in a future version.voidvalidate(java.lang.Object obj, org.springframework.validation.Errors errors)Deprecated, for removal: This API element is subject to removal in a future version.protected voidvalidateEntryItem(org.springframework.validation.Errors errors, int idx, NavigationEntryData entryData)Deprecated, for removal: This API element is subject to removal in a future version.Validates if it is a valid item
-
-
-
Method Detail
-
supports
public boolean supports(java.lang.Class<?> clazz)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
public void validate(java.lang.Object obj, org.springframework.validation.Errors errors)Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validateEntryItem
protected void validateEntryItem(org.springframework.validation.Errors errors, int idx, NavigationEntryData entryData)Deprecated, for removal: This API element is subject to removal in a future version.Validates if it is a valid item- Parameters:
errors- the errors object created for this validationidx- the index of the current entryentryData- the entry being validated
-
getNavigationEntryConverterRegistry
protected NavigationEntryConverterRegistry getNavigationEntryConverterRegistry()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setNavigationEntryConverterRegistry
public void setNavigationEntryConverterRegistry(NavigationEntryConverterRegistry navigationEntryConverterRegistry)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getValidEntryItemModelPredicate
protected java.util.function.Predicate<ItemModel> getValidEntryItemModelPredicate()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setValidEntryItemModelPredicate
public void setValidEntryItemModelPredicate(java.util.function.Predicate<ItemModel> validEntryItemModelPredicate)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-