Class DefaultOndemandGlobalPreferenceDAO
- java.lang.Object
-
- de.hybris.platform.integration.commons.daos.impl.DefaultOndemandGlobalPreferenceDAO
-
- All Implemented Interfaces:
OndemandGlobalPreferenceDAO
public class DefaultOndemandGlobalPreferenceDAO extends java.lang.Object implements OndemandGlobalPreferenceDAO
Default implementation forOndemandGlobalPreferenceDAO
-
-
Constructor Summary
Constructors Constructor Description DefaultOndemandGlobalPreferenceDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlexibleSearchServicegetFlexibleSearchService()java.lang.LonggetLastOmsAtsPollingTime()Retrieve the current ats polling time, for the current tenant if available.ModelServicegetModelService()voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)voidsetLastOmsAtsPollingTime(java.lang.Long atsPollingTime)Save the current ats polling time, for the current tenant.voidsetModelService(ModelService modelService)
-
-
-
Method Detail
-
getLastOmsAtsPollingTime
public java.lang.Long getLastOmsAtsPollingTime()
Description copied from interface:OndemandGlobalPreferenceDAORetrieve the current ats polling time, for the current tenant if available.- Specified by:
getLastOmsAtsPollingTimein interfaceOndemandGlobalPreferenceDAO- Returns:
- an existing OmsAtsPollingTime or 0, if no last ATS polling time is available
-
setLastOmsAtsPollingTime
public void setLastOmsAtsPollingTime(java.lang.Long atsPollingTime)
Description copied from interface:OndemandGlobalPreferenceDAOSave the current ats polling time, for the current tenant.- Specified by:
setLastOmsAtsPollingTimein interfaceOndemandGlobalPreferenceDAO
-
getFlexibleSearchService
public FlexibleSearchService getFlexibleSearchService()
-
setFlexibleSearchService
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
getModelService
public ModelService getModelService()
- Returns:
- the modelService
-
setModelService
public void setModelService(ModelService modelService)
- Parameters:
modelService- the modelService to set
-
-