@Repository(value="blAdvancedOfferPromotionMessageDao") public class AdvancedOfferPromotionMessageDaoImpl extends Object implements AdvancedOfferPromotionMessageDao
| Modifier and Type | Field and Description |
|---|---|
protected Date |
cachedDate |
protected Long |
currentDateResolution |
protected javax.persistence.EntityManager |
em |
| Constructor and Description |
|---|
AdvancedOfferPromotionMessageDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCurrentDateResolution()
Returns the number of milliseconds that the current date/time will be cached for queries before refreshing.
|
List<org.broadleafcommerce.core.offer.domain.Offer> |
readActiveOffersWithPromotionMessages() |
void |
setCurrentDateResolution(Long currentDateResolution)
Sets the number of milliseconds that the current date/time will be cached for queries before refreshing.
|
protected javax.persistence.EntityManager em
protected Long currentDateResolution
protected Date cachedDate
public AdvancedOfferPromotionMessageDaoImpl()
public List<org.broadleafcommerce.core.offer.domain.Offer> readActiveOffersWithPromotionMessages()
readActiveOffersWithPromotionMessages in interface AdvancedOfferPromotionMessageDaopublic Long getCurrentDateResolution()
AdvancedOfferPromotionMessageDaogetCurrentDateResolution in interface AdvancedOfferPromotionMessageDaopublic void setCurrentDateResolution(Long currentDateResolution)
AdvancedOfferPromotionMessageDaosetCurrentDateResolution in interface AdvancedOfferPromotionMessageDaocurrentDateResolution - the milliseconds to cache the current date/timeCopyright © 2020. All rights reserved.