Class SolrFacetSearchConfigValidator
java.lang.Object
de.hybris.platform.solrfacetsearch.config.impl.SolrFacetSearchConfigValidator
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
Validator checks if there are mandatory attribute :Item types, Indexer configuration, Solr server confguration and
forbids using xml document because it is no longer used since 4.6 version
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilderprotected StringgetFieldDescriptor(String qualifier) voidonValidate(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetTypeService(TypeService typeService)
-
Field Details
-
DOCUMENT_DEPRECATED_ERROR
- See Also:
-
REQUIRED_MEMBER_ITEMS
- See Also:
-
-
Constructor Details
-
SolrFacetSearchConfigValidator
public SolrFacetSearchConfigValidator()
-
-
Method Details
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
checkMemberItems
-
getFieldDescriptor
-
setTypeService
- Parameters:
typeService- the typeService to set
-