Exemplo n.º 1
0
 public QifExport(Context context, DatabaseAdapter db, QifExportOptions options) {
   super(context, false);
   this.db = db;
   this.em = db.em();
   this.options = options;
   this.categories = db.getCategoriesTree(false);
   this.categoriesMap = categories.asMap();
   this.accountsMap = db.em().getAllAccountsMap();
 }
Exemplo n.º 2
0
 public CategoryTreeNavigator(DatabaseAdapter db) {
   this.db = db;
   this.categories = db.getCategoriesTree(false);
   Category noCategory = db.getCategory(Category.NO_CATEGORY_ID);
   tagCategories(noCategory);
 }