private Cursor getBlotterForAccount(Account account) { WhereFilter accountFilter = WhereFilter.copyOf(options.filter); accountFilter.put(Criteria.eq(BlotterFilter.FROM_ACCOUNT_ID, String.valueOf(account.id))); return db.getBlotterForAccount(accountFilter); }
private WhereFilter createBlotterForAccountFilter(Account account) { WhereFilter filter = WhereFilter.empty(); filter.put(Criteria.eq(BlotterFilter.FROM_ACCOUNT_ID, String.valueOf(account.id))); return filter; }