public class DefaultAccountInternalApi extends DefaultAccountApiBase implements AccountInternalApi
| Constructor and Description |
|---|
DefaultAccountInternalApi(ImmutableAccountInternalApi immutableAccountInternalApi,
AccountDao accountDao,
NonEntityDao nonEntityDao,
CacheControllerDispatcher cacheControllerDispatcher) |
| Modifier and Type | Method and Description |
|---|---|
Account |
getAccountById(java.util.UUID accountId,
InternalTenantContext context) |
Account |
getAccountByKey(java.lang.String key,
InternalTenantContext context) |
Account |
getAccountByRecordId(java.lang.Long recordId,
InternalTenantContext context) |
int |
getBCD(java.util.UUID accountId,
InternalTenantContext context) |
java.util.UUID |
getByRecordId(java.lang.Long recordId,
InternalTenantContext context) |
java.util.List<Account> |
getChildrenAccounts(java.util.UUID parentAccountId,
InternalCallContext context) |
java.util.List<AccountEmail> |
getEmails(java.util.UUID accountId,
InternalTenantContext context) |
ImmutableAccountData |
getImmutableAccountDataById(java.util.UUID accountId,
InternalTenantContext context) |
ImmutableAccountData |
getImmutableAccountDataByRecordId(java.lang.Long recordId,
InternalTenantContext context) |
void |
removePaymentMethod(java.util.UUID accountId,
InternalCallContext context) |
void |
updateBCD(java.lang.String externalKey,
int bcd,
InternalCallContext context) |
void |
updatePaymentMethod(java.util.UUID accountId,
java.util.UUID paymentMethodId,
InternalCallContext context) |
getAccountByRecordIdInternal@Inject public DefaultAccountInternalApi(ImmutableAccountInternalApi immutableAccountInternalApi, AccountDao accountDao, NonEntityDao nonEntityDao, CacheControllerDispatcher cacheControllerDispatcher)
public Account getAccountById(java.util.UUID accountId, InternalTenantContext context) throws AccountApiException
getAccountById in interface AccountInternalApigetAccountById in class DefaultAccountApiBaseAccountApiExceptionpublic Account getAccountByKey(java.lang.String key, InternalTenantContext context) throws AccountApiException
getAccountByKey in interface AccountInternalApigetAccountByKey in class DefaultAccountApiBaseAccountApiExceptionpublic Account getAccountByRecordId(java.lang.Long recordId, InternalTenantContext context) throws AccountApiException
getAccountByRecordId in interface AccountInternalApigetAccountByRecordId in class DefaultAccountApiBaseAccountApiExceptionpublic void updateBCD(java.lang.String externalKey,
int bcd,
InternalCallContext context)
throws AccountApiException
updateBCD in interface AccountInternalApiAccountApiExceptionpublic int getBCD(java.util.UUID accountId,
InternalTenantContext context)
throws AccountApiException
getBCD in interface AccountInternalApiAccountApiExceptionpublic java.util.List<AccountEmail> getEmails(java.util.UUID accountId, InternalTenantContext context)
getEmails in interface AccountInternalApipublic void removePaymentMethod(java.util.UUID accountId,
InternalCallContext context)
throws AccountApiException
removePaymentMethod in interface AccountInternalApiAccountApiExceptionpublic void updatePaymentMethod(java.util.UUID accountId,
java.util.UUID paymentMethodId,
InternalCallContext context)
throws AccountApiException
updatePaymentMethod in interface AccountInternalApiAccountApiExceptionpublic java.util.UUID getByRecordId(java.lang.Long recordId,
InternalTenantContext context)
throws AccountApiException
getByRecordId in interface AccountInternalApiAccountApiExceptionpublic ImmutableAccountData getImmutableAccountDataById(java.util.UUID accountId, InternalTenantContext context) throws AccountApiException
getImmutableAccountDataById in interface ImmutableAccountInternalApiAccountApiExceptionpublic ImmutableAccountData getImmutableAccountDataByRecordId(java.lang.Long recordId, InternalTenantContext context) throws AccountApiException
getImmutableAccountDataByRecordId in interface ImmutableAccountInternalApiAccountApiExceptionpublic java.util.List<Account> getChildrenAccounts(java.util.UUID parentAccountId, InternalCallContext context) throws AccountApiException
getChildrenAccounts in interface AccountInternalApiAccountApiExceptionCopyright © 2010-2018. All Rights Reserved.