Package org.internna.ossmoney.model.budget

Examples of org.internna.ossmoney.model.budget.CategoryBudget.persist()


      String[] locales = locale.split("_");
      categoryBudget.setLocale(new Locale(locales[0], locales[1], ""));
      categoryBudget.setExpectedAmount(new BigDecimal(amount));
      MonthlyBudget monthlyBudget = obtainMonthlyBudget(user, month);
      categoryBudget.setMonthlyBudget(monthlyBudget);
      categoryBudget.persist();
      monthlyBudget.getBudgets().add(categoryBudget);
      monthlyBudget.merge();
    }

    protected MonthlyBudget obtainMonthlyBudget(UserDetails user, int month) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.