Class OfferCodeDaoImpl
java.lang.Object
org.broadleafcommerce.core.offer.dao.OfferCodeDaoImpl
- All Implemented Interfaces:
OfferCodeDao
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManagerprotected EntityConfigurationprotected OfferCodeDaoExtensionManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()voidofferCodeIsUsed(OfferCode code) readOfferCodeByCode(String code) readOfferCodeById(Long offerCodeId) readOfferCodesByIds(Collection<Long> offerCodeIds) protected jakarta.persistence.QueryreadOfferCodesQuery(String code)
-
Field Details
-
em
protected jakarta.persistence.EntityManager em -
entityConfiguration
-
extensionManager
-
-
Constructor Details
-
OfferCodeDaoImpl
public OfferCodeDaoImpl()
-
-
Method Details
-
create
- Specified by:
createin interfaceOfferCodeDao
-
delete
- Specified by:
deletein interfaceOfferCodeDao
-
save
- Specified by:
savein interfaceOfferCodeDao
-
readOfferCodeById
- Specified by:
readOfferCodeByIdin interfaceOfferCodeDao
-
readOfferCodesByIds
- Specified by:
readOfferCodesByIdsin interfaceOfferCodeDao
-
offerCodeIsUsed
- Specified by:
offerCodeIsUsedin interfaceOfferCodeDao
-
readOfferCodeByCode
- Specified by:
readOfferCodeByCodein interfaceOfferCodeDao
-
readAllOfferCodesByCode
- Specified by:
readAllOfferCodesByCodein interfaceOfferCodeDao
-
readOfferCodesQuery
-