public class AsSearchProfileInterceptor extends AbstractAsInterceptor implements ValidateInterceptor<AbstractAsSearchProfileModel>
AbstractAsSearchProfileModel.CATALOG_VERSION_ATTRIBUTE, NULL_IDENTIFIER, SEARCH_CONFIGURATION_ATTRIBUTE, SEARCH_PROFILE_ATTRIBUTE, SEPARATOR| Constructor and Description |
|---|
AsSearchProfileInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onValidate(AbstractAsSearchProfileModel searchProfile,
InterceptorContext interceptorContext)
Called in the
modelService.saveAll() method. |
decorateIdentifier, generateItemIdentifier, generateUid, getAsUidGenerator, getModelService, getNewPkForNotSavedItem, getSearchProviderFactory, resolveAndValidateSearchConfiguration, resolveAndValidateSearchProfile, resolveSearchConfiguration, resolveSearchProfile, resolveSearchProvider, setAsUidGenerator, setModelService, setSearchProviderFactorypublic void onValidate(AbstractAsSearchProfileModel searchProfile, InterceptorContext interceptorContext) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<AbstractAsSearchProfileModel>searchProfile - the model which values has to be validatedinterceptorContext - the InterceptorContextInterceptorException - if any values of the model are not valid.Copyright © 2018 SAP SE. All Rights Reserved.