public class AsBoostRuleInterceptor extends AbstractAsInterceptor implements PrepareInterceptor<AsBoostRuleModel>, ValidateInterceptor<AsBoostRuleModel>, RemoveInterceptor<AsBoostRuleModel>
AsBoostRuleModel.| Constructor and Description |
|---|
AsBoostRuleInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPrepare(AsBoostRuleModel boostRule,
InterceptorContext context)
Called in the
modelService.saveAll() method. |
void |
onRemove(AsBoostRuleModel boostRule,
InterceptorContext context)
Called in the
modelService.removeAll() method. |
void |
onValidate(AsBoostRuleModel boostRule,
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(AsBoostRuleModel boostRule, InterceptorContext context) throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptor<AsBoostRuleModel>boostRule - the model which values has to be preparedcontext - the InterceptorContextInterceptorException - if an error occured during the preparationpublic void onValidate(AsBoostRuleModel boostRule, InterceptorContext context) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<AsBoostRuleModel>boostRule - the model which values has to be validatedcontext - the InterceptorContextInterceptorException - if any values of the model are not valid.public void onRemove(AsBoostRuleModel boostRule, InterceptorContext context) throws InterceptorException
RemoveInterceptormodelService.removeAll() method.onRemove in interface RemoveInterceptor<AsBoostRuleModel>boostRule - the model which should be removedcontext - the InterceptorContextInterceptorException - if the remove reports an errorCopyright © 2018 SAP SE. All Rights Reserved.