public interface AccountService extends Service
| Modifier and Type | Method and Description |
|---|---|
SerializableInputStream |
exportAccountHistoryToCSV(AccountHistoryQuery params)
Generates a CSV with the query result listing account history entries
|
SerializableInputStream |
exportAccountLimitsToCSV(AccountBalanceLimitsOverviewQuery params)
Generates a CSV with the query result listing account balance limits
|
SerializableInputStream |
exportHistoriesOverviewToCSV(AccountHistoriesOverviewQuery params)
Generates a CSV with the query result listing an overview of payments
|
SerializableInputStream |
exportUserBalanceToCSV(UserWithBalanceQuery params)
Generates a CSV with the query result listing the user balances
|
AccountBalanceLimitsOverviewData |
getAccountBalanceLimitsOverviewData()
Account balance limits overview data for performing searches.
|
AccountHistoriesOverviewData |
getAccountHistoriesOverviewData()
Gets the details for viewing an account histories overview
|
AccountHistoryData |
getAccountHistoryData(AccountVO account,
RateVisibility rateVisibility)
Gets the details for viewing an account history
|
AccountHistoryStatusVO |
getAccountHistoryStatus(AccountHistoryQuery params)
Returns historic status for the account
|
java.util.List<AccountWithStatusVO> |
getAccountsSummary(InternalAccountOwner owner,
DateTime dateTime)
Lists the accounts summary for the given account owner, with balances relative to the given date
|
AccountStatusVO |
getAccountStatus(AccountVO account,
DateTime dateTime,
RateVisibility rateVisibility)
Gets the status for the given account
|
AccountWithStatusVO |
getAccountWithStatus(AccountVO account,
DateTime dateTime)
Returns the information of an account, with its status, by owner and type
|
AccountPermissionsData |
getPermissions(AccountVO account)
Returns permissions of what the logged user can do over the given account
|
UserAccountLimitData |
getUserAccountLimitData(AccountVO account)
Get an account limit data
|
java.util.List<AccountLimitVO> |
getUserAccountsLimits(UserLocatorVO userLocator)
Returns the user accounts with their upper and lower balance limits
|
UserWithBalanceSearchData |
getUserWithBalanceSearchData()
Returns data to search for users with balances
|
boolean |
hasAccessibleAccounts()
Returns true if the logged user has at least one account.
|
AccountWithCurrencyVO |
load(java.lang.Long id)
Loads an account by id
|
SerializableInputStream |
printAccountHistory(AccountHistoryQuery params)
Genertes a PDF with the account history entries for the given query parameters.
|
Page<AccountLimitVO> |
searchAccountBalanceLimitsOverview(AccountBalanceLimitsOverviewQuery params)
Overview search of account balance limits
|
Page<AccountHistoryOverviewEntryVO> |
searchAccountHistoriesOverview(AccountHistoriesOverviewQuery params)
Account histories overview filtered by the specified query parameters.
|
Page<AccountHistoryEntryVO> |
searchAccountHistory(AccountHistoryQuery params)
Searches the account history entries for the given query parameters.
|
UsersWithBalancesResult |
searchUsersWithBalances(UserWithBalanceQuery params)
Searches for users together with their respective account balances, returning not only the users, but also an
overview
|
void |
setBalanceLimit(AccountLimitDTO data)
Change limits of an account
|
SerializableInputStream exportAccountHistoryToCSV(AccountHistoryQuery params) throws FrameworkException
FrameworkExceptionSerializableInputStream exportAccountLimitsToCSV(AccountBalanceLimitsOverviewQuery params) throws FrameworkException
FrameworkExceptionSerializableInputStream exportHistoriesOverviewToCSV(AccountHistoriesOverviewQuery params) throws FrameworkException
FrameworkExceptionSerializableInputStream exportUserBalanceToCSV(UserWithBalanceQuery params) throws FrameworkException
FrameworkExceptionAccountBalanceLimitsOverviewData getAccountBalanceLimitsOverviewData() throws FrameworkException
FrameworkExceptionAccountHistoriesOverviewData getAccountHistoriesOverviewData() throws FrameworkException
FrameworkExceptionAccountHistoryData getAccountHistoryData(AccountVO account, RateVisibility rateVisibility) throws FrameworkException
rateVisibility - if null RateVisibility.NOT is usedFrameworkExceptionAccountHistoryStatusVO getAccountHistoryStatus(AccountHistoryQuery params) throws FrameworkException
FrameworkExceptionjava.util.List<AccountWithStatusVO> getAccountsSummary(InternalAccountOwner owner, DateTime dateTime) throws FrameworkException
FrameworkExceptionAccountStatusVO getAccountStatus(AccountVO account, DateTime dateTime, RateVisibility rateVisibility) throws FrameworkException
rateVisibility - if null RateVisibility.NOT is usedFrameworkExceptionAccountWithStatusVO getAccountWithStatus(AccountVO account, DateTime dateTime) throws FrameworkException
FrameworkExceptionAccountPermissionsData getPermissions(AccountVO account) throws FrameworkException
PermissionDeniedException - if the given account is not managed by the authenticated userFrameworkExceptionUserAccountLimitData getUserAccountLimitData(AccountVO account) throws FrameworkException
FrameworkExceptionjava.util.List<AccountLimitVO> getUserAccountsLimits(UserLocatorVO userLocator) throws FrameworkException
FrameworkExceptionUserWithBalanceSearchData getUserWithBalanceSearchData() throws FrameworkException
FrameworkExceptionboolean hasAccessibleAccounts()
throws FrameworkException
FrameworkExceptionAccountWithCurrencyVO load(java.lang.Long id) throws FrameworkException
FrameworkExceptionSerializableInputStream printAccountHistory(AccountHistoryQuery params) throws FrameworkException
FrameworkExceptionPage<AccountLimitVO> searchAccountBalanceLimitsOverview(AccountBalanceLimitsOverviewQuery params) throws FrameworkException
FrameworkExceptionPage<AccountHistoryOverviewEntryVO> searchAccountHistoriesOverview(AccountHistoriesOverviewQuery params) throws FrameworkException
FrameworkExceptionPage<AccountHistoryEntryVO> searchAccountHistory(AccountHistoryQuery params) throws FrameworkException
FrameworkExceptionUsersWithBalancesResult searchUsersWithBalances(UserWithBalanceQuery params) throws FrameworkException, QueryParseException
void setBalanceLimit(AccountLimitDTO data) throws FrameworkException
FrameworkException