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