public class RemoveLastLanguageInterceptor extends Object implements RemoveInterceptor
TODO Should there be all restrictions turned off.
| Constructor and Description |
|---|
RemoveLastLanguageInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onRemove(Object model,
InterceptorContext ctx)
Called in the
modelService.removeAll() method. |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
void |
setSessionService(SessionService sessionService) |
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
flexibleSearchService - the flexibleSearchService to setpublic void setSessionService(SessionService sessionService)
sessionService - the sessionService to setpublic void onRemove(Object model, InterceptorContext ctx) throws InterceptorException
RemoveInterceptormodelService.removeAll() method.onRemove in interface RemoveInterceptormodel - the model which should be removedctx - the InterceptorContextInterceptorException - if the remove reports an errorCopyright © 2017 SAP SE. All Rights Reserved.