public class AsSearchConfigurationInterceptor extends AbstractAsInterceptor implements PrepareInterceptor<AbstractAsSearchConfigurationModel>, ValidateInterceptor<AbstractAsSearchConfigurationModel>, RemoveInterceptor<AbstractAsSearchConfigurationModel>
AbstractAsSearchConfigurationModel.| Constructor and Description |
|---|
AsSearchConfigurationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPrepare(AbstractAsSearchConfigurationModel searchConfiguration,
InterceptorContext context)
Called in the
modelService.saveAll() method. |
void |
onRemove(AbstractAsSearchConfigurationModel searchConfiguration,
InterceptorContext context)
Called in the
modelService.removeAll() method. |
void |
onValidate(AbstractAsSearchConfigurationModel searchConfiguration,
InterceptorContext context)
Called in the
modelService.saveAll() method. |
decorateIdentifier, generateItemIdentifier, generateUid, getAsUidGenerator, getModelService, getNewPkForNotSavedItem, getSearchProviderFactory, markItemAsModified, resolveAndValidateSearchConfiguration, resolveAndValidateSearchProfile, resolveSearchConfiguration, resolveSearchProfile, resolveSearchProvider, setAsUidGenerator, setModelService, setSearchProviderFactorypublic void onPrepare(AbstractAsSearchConfigurationModel searchConfiguration, InterceptorContext context) throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptor<AbstractAsSearchConfigurationModel>searchConfiguration - the model which values has to be preparedcontext - the InterceptorContextInterceptorException - if an error occured during the preparationpublic void onValidate(AbstractAsSearchConfigurationModel searchConfiguration, InterceptorContext context) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<AbstractAsSearchConfigurationModel>searchConfiguration - the model which values has to be validatedcontext - the InterceptorContextInterceptorException - if any values of the model are not valid.public void onRemove(AbstractAsSearchConfigurationModel searchConfiguration, InterceptorContext context) throws InterceptorException
RemoveInterceptormodelService.removeAll() method.onRemove in interface RemoveInterceptor<AbstractAsSearchConfigurationModel>searchConfiguration - the model which should be removedcontext - the InterceptorContextInterceptorException - if the remove reports an errorCopyright © 2018 SAP SE. All Rights Reserved.