Class DefaultNDCOfferFacade
java.lang.Object
de.hybris.platform.ndc182facades.facades.impl.DefaultNDCOfferFacade
- All Implemented Interfaces:
NDCOfferFacade
Concrete implementation of
NDCOfferFacade-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidevictOffer(String offerID) Evicts offer if error occursprotected org.springframework.cache.CacheManagerGets the cacheManagerprotected StringGets the cacheNamegetOfferById(String offerId) The method performs a lookup retrieving information about the offervoidsetCacheManager(org.springframework.cache.CacheManager cacheManager) Sets the cacheManagervoidsetCacheName(String cacheName) Sets the cacheNamevoidstoreOffer(NDCOfferData offer, String offerID) Persists theNDCOfferData
-
Constructor Details
-
DefaultNDCOfferFacade
public DefaultNDCOfferFacade()
-
-
Method Details
-
getOfferById
Description copied from interface:NDCOfferFacadeThe method performs a lookup retrieving information about the offer- Specified by:
getOfferByIdin interfaceNDCOfferFacade- Returns:
- the NDCOfferData
-
storeOffer
Description copied from interface:NDCOfferFacadePersists theNDCOfferData- Specified by:
storeOfferin interfaceNDCOfferFacade
-
evictOffer
Description copied from interface:NDCOfferFacadeEvicts offer if error occurs- Specified by:
evictOfferin interfaceNDCOfferFacade
-
getCacheManager
protected org.springframework.cache.CacheManager getCacheManager()Gets the cacheManager- Returns:
- the cacheManager
-
setCacheManager
public void setCacheManager(org.springframework.cache.CacheManager cacheManager) Sets the cacheManager- Parameters:
cacheManager- the cacheManager to set
-
getCacheName
Gets the cacheName- Returns:
- the cacheName
-
setCacheName
Sets the cacheName- Parameters:
cacheName- the cacheName to set
-