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(); }
public CategoryTreeNavigator(DatabaseAdapter db) { this.db = db; this.categories = db.getCategoriesTree(false); Category noCategory = db.getCategory(Category.NO_CATEGORY_ID); tagCategories(noCategory); }