Interface NDCOfferFacade
- All Known Implementing Classes:
DefaultNDCOfferFacade
public interface NDCOfferFacade
Interface to expose method to lookup data based on an offer ID used in NDC contexts
-
Method Summary
Modifier and TypeMethodDescriptionvoidevictOffer(String offerID) Evicts offer if error occursgetOfferById(String offerId) The method performs a lookup retrieving information about the offervoidstoreOffer(NDCOfferData offer) Persists theNDCOfferData
-
Method Details
-
getOfferById
The method performs a lookup retrieving information about the offer- Parameters:
offerId- the offer id- Returns:
- the NDCOfferData
-
storeOffer
Persists theNDCOfferData- Parameters:
offer- the offer- Throws:
NDCCacheException
-
evictOffer
Evicts offer if error occurs- Parameters:
offerID- the offer id- Throws:
NDCCacheException
-