Class BackofficeThemeInterceptor
java.lang.Object
de.hybris.platform.platformbackoffice.interceptors.theme.BackofficeThemeInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor<ThemeModel>,ValidateInterceptor<ThemeModel>
public class BackofficeThemeInterceptor
extends Object
implements RemoveInterceptor<ThemeModel>, ValidateInterceptor<ThemeModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemove(ThemeModel themeModel, InterceptorContext ctx) Called in themodelService.removeAll()method.voidonValidate(ThemeModel themeModel, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetBackofficeThemeService(BackofficeThemeService backofficeThemeService)
-
Constructor Details
-
BackofficeThemeInterceptor
public BackofficeThemeInterceptor()
-
-
Method Details
-
onRemove
Description copied from interface:RemoveInterceptorCalled in themodelService.removeAll()method.- Specified by:
onRemovein interfaceRemoveInterceptor<ThemeModel>- Parameters:
themeModel- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<ThemeModel>- Parameters:
themeModel- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
getBackofficeThemeService
-
setBackofficeThemeService
-