Class DefaultSECSaveListener
- java.lang.Object
-
- com.sap.hybris.sec.eventpublisher.listener.DefaultSECSaveListener
-
- All Implemented Interfaces:
AfterSaveListener
public class DefaultSECSaveListener extends java.lang.Object implements AfterSaveListener
-
-
Constructor Summary
Constructors Constructor Description DefaultSECSaveListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterSave(java.util.Collection<AfterSaveEvent> events)Takes real action to deal with theAfterSaveEvents.ConfigurationServicegetConfigurationService()voidhandleAfterSaveEvent(AfterSaveEvent event)voidregisterHandler(int typeCode, AfterSaveEventHandler handler)voidremoveHandler(int typeCode)voidsetConfigurationService(ConfigurationService configurationService)voidsetHandlers(java.util.Map<java.lang.Integer,AfterSaveEventHandler> handlers)
-
-
-
Method Detail
-
afterSave
public void afterSave(java.util.Collection<AfterSaveEvent> events)
Description copied from interface:AfterSaveListenerTakes real action to deal with theAfterSaveEvents.- Specified by:
afterSavein interfaceAfterSaveListener- Parameters:
events- all collectedAfterSaveEvents
-
handleAfterSaveEvent
public void handleAfterSaveEvent(AfterSaveEvent event)
-
setHandlers
public void setHandlers(java.util.Map<java.lang.Integer,AfterSaveEventHandler> handlers)
-
registerHandler
public void registerHandler(int typeCode, AfterSaveEventHandler handler)
-
removeHandler
public void removeHandler(int typeCode)
-
getConfigurationService
public ConfigurationService getConfigurationService()
- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
- Parameters:
configurationService- the configurationService to set
-
-