@Repository(value="blGiftCardAccountDao") public class GiftCardAccountDaoImpl extends Object implements GiftCardAccountDao
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected org.broadleafcommerce.common.persistence.EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
GiftCardAccountDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
GiftCardAccount |
create()
Creates a new Gift Card Account.
|
GiftCardAccount |
readAccountByGiftCardNumber(String giftCardNumber)
Returns the first GiftCardAccount that match the passed in giftCardNumber.
|
List<GiftCardAccount> |
readAccountsByGiftCardNumber(String giftCardNumber)
Returns all GiftCardAccounts that match the passed in giftCardNumber.
|
GiftCardAccount |
save(GiftCardAccount giftCardAccount)
Saves a Gift Card Account.
|
protected javax.persistence.EntityManager em
protected org.broadleafcommerce.common.persistence.EntityConfiguration entityConfiguration
public GiftCardAccount create()
GiftCardAccountDaocreate in interface GiftCardAccountDaopublic GiftCardAccount readAccountByGiftCardNumber(String giftCardNumber)
GiftCardAccountDaoreadAccountByGiftCardNumber in interface GiftCardAccountDaopublic List<GiftCardAccount> readAccountsByGiftCardNumber(String giftCardNumber)
GiftCardAccountDaoreadAccountsByGiftCardNumber in interface GiftCardAccountDaopublic GiftCardAccount save(GiftCardAccount giftCardAccount) throws javax.persistence.OptimisticLockException
GiftCardAccountDaosave in interface GiftCardAccountDaojavax.persistence.OptimisticLockExceptionCopyright © 2019. All rights reserved.