Class SapRevenueCloudCustomerRegistrationEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<RegisterEvent>
-
- com.sap.hybris.saprevenuecloudcustomer.listener.SapRevenueCloudCustomerRegistrationEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<RegisterEvent>
public class SapRevenueCloudCustomerRegistrationEventListener extends AbstractEventListener<RegisterEvent>
-
-
Constructor Summary
Constructors Constructor Description SapRevenueCloudCustomerRegistrationEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StoreFrontCustomerProcessModelcreateProcess()BaseStoreServicegetBaseStoreService()BusinessProcessServicegetBusinessProcessService()ModelServicegetModelService()protected SAPRevenueCloudConfigurationModelgetRevenueCloudConfiguration()GenericDaogetSapRevenueCloudConfigurationModelGenericDao()protected voidonEvent(RegisterEvent registerEvent)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetBaseStoreService(BaseStoreService baseStoreService)voidsetBusinessProcessService(BusinessProcessService businessProcessService)voidsetModelService(ModelService modelService)voidsetSapRevenueCloudConfigurationModelGenericDao(GenericDao sapRevenueCloudConfigurationModelGenericDao)-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
onEvent
protected void onEvent(RegisterEvent registerEvent)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<RegisterEvent>- Parameters:
registerEvent- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
createProcess
protected StoreFrontCustomerProcessModel createProcess()
-
getRevenueCloudConfiguration
protected SAPRevenueCloudConfigurationModel getRevenueCloudConfiguration()
-
getModelService
public ModelService getModelService()
- Returns:
- the modelService
-
setModelService
public void setModelService(ModelService modelService)
- Parameters:
modelService- the modelService to set
-
getBaseStoreService
public BaseStoreService getBaseStoreService()
- Returns:
- the baseStoreService
-
setBaseStoreService
public void setBaseStoreService(BaseStoreService baseStoreService)
- Parameters:
baseStoreService- the baseStoreService to set
-
getBusinessProcessService
public BusinessProcessService getBusinessProcessService()
- Returns:
- the businessProcessService
-
setBusinessProcessService
public void setBusinessProcessService(BusinessProcessService businessProcessService)
- Parameters:
businessProcessService- the businessProcessService to set
-
getSapRevenueCloudConfigurationModelGenericDao
public GenericDao getSapRevenueCloudConfigurationModelGenericDao()
- Returns:
- the sapRevenueCloudConfigurationModelGenericDao
-
setSapRevenueCloudConfigurationModelGenericDao
public void setSapRevenueCloudConfigurationModelGenericDao(GenericDao sapRevenueCloudConfigurationModelGenericDao)
- Parameters:
sapRevenueCloudConfigurationModelGenericDao- the sapRevenueCloudConfigurationModelGenericDao to set
-
-