Class DefaultSLDItemDAO
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterTenantRestartEvent>
-
- de.hybris.platform.directpersistence.read.DefaultSLDItemDAO
-
- All Implemented Interfaces:
SLDItemDAO,java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<AfterTenantRestartEvent>
public class DefaultSLDItemDAO extends AbstractEventListener<AfterTenantRestartEvent> implements SLDItemDAO
-
-
Constructor Summary
Constructors Constructor Description DefaultSLDItemDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetLoadAttributesStatementForType(java.lang.String tableName)voidinit()SLDDataContainerload(PK entityPk)java.util.List<SLDDataContainer>load(java.util.List<PK> entityPKs)protected voidonEvent(AfterTenantRestartEvent event)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
load
public SLDDataContainer load(PK entityPk)
- Specified by:
loadin interfaceSLDItemDAO
-
load
public java.util.List<SLDDataContainer> load(java.util.List<PK> entityPKs)
- Specified by:
loadin interfaceSLDItemDAO
-
getLoadAttributesStatementForType
protected java.lang.String getLoadAttributesStatementForType(java.lang.String tableName)
-
setJdbcTemplate
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
onEvent
protected void onEvent(AfterTenantRestartEvent event)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<AfterTenantRestartEvent>- Parameters:
event- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
-