public interface AccountDao extends EntityDao<AccountModelDao,Account,AccountApiException>
| Modifier and Type | Method and Description |
|---|---|
void |
addEmail(AccountEmailModelDao email,
InternalCallContext context) |
Integer |
getAccountBCD(UUID accountId,
InternalTenantContext context) |
AccountModelDao |
getAccountByKey(String key,
InternalTenantContext context) |
List<AccountModelDao> |
getAccountsByParentId(UUID parentAccountId,
InternalTenantContext context) |
List<AccountEmailModelDao> |
getEmailsByAccountId(UUID accountId,
InternalTenantContext context) |
UUID |
getIdFromKey(String externalKey,
InternalTenantContext context) |
void |
removeEmail(AccountEmailModelDao email,
InternalCallContext context) |
Pagination<AccountModelDao> |
searchAccounts(String searchKey,
Long offset,
Long limit,
InternalTenantContext context) |
void |
update(AccountModelDao account,
InternalCallContext context) |
void |
updatePaymentMethod(UUID accountId,
UUID paymentMethodId,
InternalCallContext context) |
create, get, getAll, getById, getByRecordId, getCount, getRecordId, testAccountModelDao getAccountByKey(String key, InternalTenantContext context)
Pagination<AccountModelDao> searchAccounts(String searchKey, Long offset, Long limit, InternalTenantContext context)
UUID getIdFromKey(String externalKey, InternalTenantContext context) throws AccountApiException
AccountApiException - when externalKey is nullvoid updatePaymentMethod(UUID accountId, UUID paymentMethodId, InternalCallContext context) throws AccountApiException
accountId - the id of the accountpaymentMethodId - the is of the current default paymentMethodAccountApiExceptionvoid update(AccountModelDao account, InternalCallContext context) throws AccountApiException
AccountApiExceptionvoid addEmail(AccountEmailModelDao email, InternalCallContext context) throws AccountApiException
AccountApiExceptionvoid removeEmail(AccountEmailModelDao email, InternalCallContext context)
List<AccountEmailModelDao> getEmailsByAccountId(UUID accountId, InternalTenantContext context)
Integer getAccountBCD(UUID accountId, InternalTenantContext context)
List<AccountModelDao> getAccountsByParentId(UUID parentAccountId, InternalTenantContext context)
Copyright © 2010-2016. All Rights Reserved.