public class SolrFacetSearchConfigValidator extends java.lang.Object implements ValidateInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DOCUMENT_DEPRECATED_ERROR |
protected static java.lang.String |
REQUIRED_MEMBER_ITEMS |
| Constructor and Description |
|---|
SolrFacetSearchConfigValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.StringBuilder |
checkMemberItems(SolrFacetSearchConfigModel config) |
protected java.lang.String |
getFieldDescriptor(java.lang.String qualifier) |
void |
onValidate(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setTypeService(TypeService typeService) |
protected static final java.lang.String DOCUMENT_DEPRECATED_ERROR
protected static final java.lang.String REQUIRED_MEMBER_ITEMS
public void onValidate(java.lang.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 java.lang.StringBuilder checkMemberItems(SolrFacetSearchConfigModel config)
protected java.lang.String getFieldDescriptor(java.lang.String qualifier)
public void setTypeService(TypeService typeService)
typeService - the typeService to setCopyright © 2018 SAP SE. All Rights Reserved.