예제 #1
0
 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);
 }
예제 #2
0
 private WhereFilter createBlotterForAccountFilter(Account account) {
   WhereFilter filter = WhereFilter.empty();
   filter.put(Criteria.eq(BlotterFilter.FROM_ACCOUNT_ID, String.valueOf(account.id)));
   return filter;
 }