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