Examples of create()


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

      while ((textLine = in.readLine()) != null) {
        payeeStr = textLine.split(",");
        payee = new Payee();
        payee.setName(payeeStr[0]);
        payee.setFilters(payeeStr[1]);
        payeeDao.create(payee, false);
      }
      daoFactory.commit();
    }
    catch (Exception ex) {
      throw new RuntimeException(ex);

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();
    }

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

        RegisterDAO registerDAO = (RegisterDAO)daoFactory.getDAO("register");
        registerDAO.deleteTransaction(trans);
      }
     
      TransactionDAO transDAO = (TransactionDAO)daoFactory.getDAO("transaction");
      transDAO.create(trans, false);
     
      TransSplitDAO transSplitDAO = (TransSplitDAO)daoFactory.getDAO("transSplit");
      TransSplit transSplit = null;
      for (int i=0; i<this.transSplitList.size(); i++) {
        transSplit = (TransSplit)transSplitList.get(i);

Examples of nexj.core.util.cipher.CharacterStreamCipherDispatcher.create()

            }

            fis = new BufferedInputStream(new FileInputStream(m_propFile));
            encReader = new InputStreamReader(fis, "UTF-8");

            Object cipher = dispatcher.create(encReader);
            Reader decReader = null;

            if (cipher instanceof CharacterStreamCipher)
            {
               decReader = ((CharacterStreamCipher)cipher).createDecryptedReader(encReader);

Examples of nm.aleksey.shared.AuthorContext.create()

  }

  @UiHandler("addAuthorButton")
  void onAddAuthorButtonClick(ClickEvent event) {
    AuthorContext context = getRequestFactory().authorRequest();
    AuthorProxy author = context.create(AuthorProxy.class);
    context.save(author);
    getClientFactory().getEventBus().fireEvent(
        new EditAuthorEvent(author, context));
  }

Examples of no.hal.jex.views.actions.JexZipFile.create()

      zipFile.addClasses(Boolean.TRUE);
      if (zipFile.prepare()) {
        Job job = new Job(zipFile.getZipUri().toString()) {
          @Override
          protected IStatus run(IProgressMonitor monitor) {
            return zipFile.create(monitor);
          }
        };
        job.setPriority(Job.SHORT);
        job.setUser(true);
        job.schedule();

Examples of nz.co.abrahams.asithappens.collectors.DataCollectorDAO.create()

            results.close();
            statement.close();

            // TODO - store collector here
            collectorDAO = DAOFactory.getDataCollectorDAO(connection, dataSets.getCollector());
            collectorDAO.create(sessionID, dataSets.getCollector());
            collectorDAO.closeConnection();
            //dataSets.getCollector().store(sessionID);

            logger.debug("Adding new session with ID " + sessionID);
            return sessionID;

Examples of nz.co.abrahams.asithappens.flow.FlowOptionsDAO.create()

           
            criteriaDAO = DAOFactory.getNetFlowMatchCriteriaDAO(connection);
            criteriaDAO.create(sessionID, collector.getCriteria());
           
            optionsDAO = DAOFactory.getFlowOptionsDAO(connection);
            optionsDAO.create(sessionID, collector.getOptions());
           
        } catch (SQLException e) {
            logger.error("Problem creating NetFlowCollector in database for session " + sessionID);
            throw new DBException("Problem creating NetFlowCollector in database for session " + sessionID, e);
        }

Examples of nz.co.abrahams.asithappens.uiutil.SetDisplayDAO.create()

            logger.debug("Adding new graph options with ID " + graphOptionsID);
           
            displayDAO = DAOFactory.getSetDisplayDAO();
            for ( int set = 0 ; set < options.getSetDisplays().size() ; set++ ) {
                //setDisplayID = options.getSetDisplay(set).store();
                setDisplayID = displayDAO.create(options.getSetDisplay(set));
                statement = connection.prepareStatement(CREATE_OPTIONS_SETDISPLAYS);
                statement.setInt(1, graphOptionsID);
                statement.setInt(2, set);
                statement.setInt(3, setDisplayID);
                statement.executeUpdate();

Examples of objot.container.Factory.create()

          else if (((Member)fp).getName().equals("n"))
            return b.cla(New2.class);
        return null;
      }
    };
    con0 = f.create(parent);
    con0lazy = f.create(parent, true);
  }

  Container con = con0.createBubble();
  Container con2 = con.create();
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.