Class SiteEmployeeGroupInitInterceptor
java.lang.Object
de.hybris.platform.commerceservices.multisite.interceptors.SiteEmployeeGroupInitInterceptor
- All Implemented Interfaces:
InitDefaultsInterceptor<SiteEmployeeGroupModel>,Interceptor
public class SiteEmployeeGroupInitInterceptor
extends Object
implements InitDefaultsInterceptor<SiteEmployeeGroupModel>
Initialize the parent groups based on the property
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationServiceprotected UserServicevoidonInitDefaults(SiteEmployeeGroupModel siteEmployeeGroupModel, InterceptorContext ctx) Called byModelService.initDefaults(Object)after instantiate a new model.voidsetConfigurationService(ConfigurationService configurationService) voidsetUserService(UserService userService)
-
Constructor Details
-
SiteEmployeeGroupInitInterceptor
public SiteEmployeeGroupInitInterceptor()
-
-
Method Details
-
onInitDefaults
public void onInitDefaults(SiteEmployeeGroupModel siteEmployeeGroupModel, InterceptorContext ctx) throws InterceptorException Description copied from interface:InitDefaultsInterceptorCalled byModelService.initDefaults(Object)after instantiate a new model.- Specified by:
onInitDefaultsin interfaceInitDefaultsInterceptor<SiteEmployeeGroupModel>- Parameters:
siteEmployeeGroupModel- the model which values should be set to the default valuesctx- theInterceptorContext- Throws:
InterceptorException- if the loading of the default value reports an error.
-
getConfigurationService
-
setConfigurationService
-
getUserService
-
setUserService
-