public class AsFacetConfigurationInterceptor extends AbstractAsInterceptor implements PrepareInterceptor<AbstractAsFacetConfigurationModel>, ValidateInterceptor<AbstractAsFacetConfigurationModel>
AbstractAsFacetConfigurationModel.CATALOG_VERSION_ATTRIBUTE, NULL_IDENTIFIER, SEARCH_CONFIGURATION_ATTRIBUTE, SEARCH_PROFILE_ATTRIBUTE, SEPARATOR| 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 |
onValidate(AbstractAsFacetConfigurationModel facetConfiguration,
InterceptorContext interceptorContext)
Called in the
modelService.saveAll() method. |
decorateIdentifier, generateItemIdentifier, generateUid, getAsUidGenerator, getModelService, getNewPkForNotSavedItem, getSearchProviderFactory, 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 interceptorContext) 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 validatedinterceptorContext - the InterceptorContextInterceptorException - if any values of the model are not valid.Copyright © 2018 SAP SE. All Rights Reserved.