public class SolrFacetSearchConfigValidator extends Object implements ValidateInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DOCUMENT_DEPRECATED_ERROR |
protected static String |
REQUIRED_MEMBER_ITEMS |
| Constructor and Description |
|---|
SolrFacetSearchConfigValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected StringBuilder |
checkMemberItems(SolrFacetSearchConfigModel config) |
protected String |
getFieldDescriptor(String qualifier) |
void |
onValidate(Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setTypeService(TypeService typeService) |
protected static final String DOCUMENT_DEPRECATED_ERROR
protected static final String REQUIRED_MEMBER_ITEMS
public void onValidate(Object model, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptormodel - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.protected StringBuilder checkMemberItems(SolrFacetSearchConfigModel config)
public void setTypeService(TypeService typeService)
typeService - the typeService to setCopyright © 2017 SAP SE. All Rights Reserved.