Package com.wesabe.api.accounts.analytics

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


  }

  private InvestmentTxactionList filterTxactions(List<InvestmentAccount> accounts,
      List<InvestmentTxaction> investmentTxactions, IntegerParam limit,
      IntegerParam offset, Set<String> investmentSecurityNames) {
    final InvestmentTxactionListBuilder investmentTxactionListBuilder = builderProvider.get();
    investmentTxactionListBuilder.setAccounts(accounts);

    if (!investmentSecurityNames.isEmpty()) {
      investmentTxactionListBuilder.setInvestmentSecurityNames(investmentSecurityNames);
    }
    if (limit != null) {
      investmentTxactionListBuilder.setLimit(limit.getValue());
    }
    if (offset != null) {
      investmentTxactionListBuilder.setOffset(offset.getValue());
    }
   
    final InvestmentTxactionList filteredTxactions = investmentTxactionListBuilder.build(investmentTxactions);
    return filteredTxactions;
  }
View Full Code Here

TOP

Related Classes of com.wesabe.api.accounts.analytics.InvestmentTxactionListBuilder

Copyright © 2018 www.massapicom. 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.