Examples of TxactionListBuilder


Examples of com.wesabe.api.accounts.analytics.TxactionListBuilder

    final List<Account> accounts = getAccounts(user, accountUris);

    final List<Txaction> txactions = txactionDAO.findTxactionsInDateRange(accounts, dateRange);
   
    final TxactionListBuilder builder = builderProvider.get();
    builder.setCalculateBalances(false);
    builder.setUnedited(uneditedOnly.getValue());
    builder.setTags(getTags(tagUris));
    builder.setAccounts(accounts);
    builder.setQuery(query);
   
    if (!merchantNames.isEmpty()) {
      builder.setMerchantNames(merchantNames);
    }
   
    final List<Txaction> filteredTxactions = builder.build(txactions).getTxactions();

    final ImmutableMap<Interval, MonetarySummaryWithSplits> results = summarizer.summarize(filteredTxactions, dateRange,
        intervalType.getValue(), currency.getValue(), ignoredTags);

    return presenter.present(results, locale);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.