Package net.sourceforge.wampum.finance.entities

Examples of net.sourceforge.wampum.finance.entities.TransSplitDAO.create()


      TransSplitDAO transSplitDAO = (TransSplitDAO)daoFactory.getDAO("transSplit");
      TransSplit transSplit = null;
      for (int i=0; i<this.transSplitList.size(); i++) {
        transSplit = (TransSplit)transSplitList.get(i);
        transSplit.setParentTransaction(trans);
        transSplitDAO.create(transSplit, false);
      }
     
      this.accountsController.updateRegisterTableData();
      clearTransaction();
    }
View Full Code Here


          for (int i=0; i<transSplitList.size(); i++) {
            currentTransSplit = (TransSplit)transSplitList.get(i);
            //System.out.println("Split: " + currentTransSplit.getTransSplitID());
            where = "where TRANS_SPLIT_ID = '" + currentTransSplit.getTransSplitID() + "'";
            if (transSplitDAO.load(where, null, true).size() == 0)
              transSplitDAO.create(currentTransSplit, false);
            else
              transSplitDAO.update(currentTransSplit, false);
          }
        }
        catch (Exception ex) {
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.