}
public abstract TemplateHeaderDAO getTemplateDAO();
- public abstract TemplateAccountDAO getPatternAccountDAO();
+ public abstract TemplateAccountDAO getTemplateAccountDAO();
public abstract CurrencyDAO getCurrencyDAO();
}
modelHeader));
- TemplateAccountDAO paDAO = DB.get()
- .getPatternAccountDAO();
+ TemplateAccountDAO taDAO = DB.get()
+ .getTemplateAccountDAO();
for (int i = 1; i < list.size(); i++) {
final TemplateDetailsItem.AccountRow accRowItem = list.get(i)
.asAccountRowItem();
dbAccount.setPosition(i);
if (newPattern) {
dbAccount.setId(null);
- dbAccount.setId(paDAO.insert(dbAccount));
+ dbAccount.setId(taDAO.insert(dbAccount));
}
else
- paDAO.update(dbAccount);
+ taDAO.update(dbAccount);
Logger.debug("pattern-db", String.format(Locale.US,
"Stored pattern account %d, account=%s, comment=%s, neg=%s, item=%s",