Examples of create()


Examples of es.ua.dccia.datos.ActualizacionDao.create()

        PeticionDao pdao = new PeticionDao(em);
        Peticion peticion = pdao.find(idPeticion);
        if (peticion==null)
            throw new EntidadNoEncontradaException("No existe la petición con id: " + idPeticion);
        actualizacion.setPeticion(peticion);
        adao.create(actualizacion);
        em.getTransaction().commit();
        em.close();       
        return actualizacion.getId();
    }
   

Examples of es.ua.dccia.datos.PeticionDao.create()

        peticion.setConseguida(false);
        peticion.setDestacada(false);
        peticion.setInicio(new Date());
        peticion.setFirmasConseguidas(0);
        //guardar la petición en la BD y asignarla al usuario actual
        pdao.create(peticion);
        UsuarioDao udao = new UsuarioDao(em);
        peticion.setCreador(udao.find(loginCreador));
        em.getTransaction().commit();
        em.close();
        return peticion.getId();

Examples of es.ua.dccia.datos.UsuarioDao.create()

        EntityManager em = PersistenceManager.getInstance().createEntityManager();
        try {
            em.getTransaction().begin();
            if (this.getUsuario(u.getLogin()) == null) {
                UsuarioDao uDao = new UsuarioDao(em);
                uDao.create(u);
                //copiar imagen de perfil por defecto con el login del usuario
                ImagenService.getInstance().copiaPerfilDefecto(u.getLogin());
            } else {
                throw new MueveteException("El usuario " + u.getLogin() + " ya existe");
            }

Examples of eu.stratosphere.core.fs.FileSystem.create()

      if (status.isDir()) {
        outputPath = new Path(outputPath.toUri().toString() + "/file_" + getIndexInSubtaskGroup() + ".txt");
      }
    }

    final FSDataOutputStream outputStream = fs.create(outputPath, true);

    while (this.input.hasNext()) {

      StringRecord record = this.input.next();
      byte[] recordByte = (record.toString() + "\r\n").getBytes();

Examples of evolaris.framework.smsservices.business.CommandEntryManager.create()

      CommandEntryExtender extender = commandEntryManager.createCommandEntryExtender(oldCommandEntry);
      CommandEntry duplicatedCommandEntry = extender.duplicateCommandEntry(newFragment.getGroup(),mappingSet);
      Set<InteractionList> fragments = new TreeSet<InteractionList>();
      fragments.add(newFragment);
      duplicatedCommandEntry.setInteractionLists(fragments);
      commandEntryManager.create(duplicatedCommandEntry)// also sets the ID for sorting
      newCommandEntries.add(duplicatedCommandEntry);
    }
    newFragment.setCommandEntries(newCommandEntries);
    SmsDbManager smsDbManager = new SmsDbManager(locale,session);
    smsDbManager.createFragment(newFragment);

Examples of fbench.graph.popup.ContextMenu.create()

                fbTypeDialog.create("Edit Event");
              }
            }
            else if(evt.getButton() == MouseEvent.BUTTON3){
              ContextMenu contextMenu = new ContextMenu(getElement(), evt);
              contextMenu.create(getElement().getNodeName());
            }
          }
         
          public void mousePressed(MouseEvent evt){
            currentMouseButton = evt.getButton();

Examples of fbench.graph.popup.ECCDialog.create()

 
  private void processMouseClicked(MouseEvent evt) {
    if(isInFBench()){
      if(evt.getButton() == MouseEvent.BUTTON1 && evt.getClickCount() == 2){
        ECCDialog eccDialog = new ECCDialog(elem, evt);
        eccDialog.create("Edit Transition");
      }
      else if(evt.getButton() == MouseEvent.BUTTON3){
        ContextMenu contextMenu = new ContextMenu(getElement(), evt);
        contextMenu.create(getElement().getNodeName());
      }

Examples of fbench.graph.popup.FBNetworkDialog.create()

  }
  private void processMouseClicked(MouseEvent evt){
    if(isInFBench()){
      if(evt.getButton() == MouseEvent.BUTTON1 && evt.getClickCount() == 2){
        FBNetworkDialog fbNetworkDialog = new FBNetworkDialog(getElement(), evt);
        fbNetworkDialog.create("Edit Connection");
      }
      else if(evt.getButton() == MouseEvent.BUTTON3){
        ContextMenu contextMenu = new ContextMenu(getElement(), evt);
        contextMenu.create(getElement().getNodeName());
      }

Examples of fbench.graph.popup.FBTypeDialog.create()

        addMouseListener(new MouseAdapter(){
          public void mouseClicked(MouseEvent evt){
            if(evt.getButton() == MouseEvent.BUTTON1 && evt.getClickCount() == 2){
              if(evt.getSource() instanceof VarDeclaration){
                FBTypeDialog fbTypeDialog = new FBTypeDialog(getElement(), evt);
                fbTypeDialog.create("Edit Variable");
              }
              else {
                FBTypeDialog fbTypeDialog = new FBTypeDialog(getElement(), evt);
                fbTypeDialog.create("Edit Event");
              }

Examples of fbench.graph.popup.ParameterDialog.create()

                  parameter = (Element) parameterNL.item(i);
                }
              }
              if(isDoubleClicked && doesAlreadyHaveParameter && !gvModel.equals("FBType")){
                ParameterDialog dialog = new ParameterDialog(parameter, evt);
              dialog.create("Edit Parameter");
              }
              else if(isDoubleClicked && !doesAlreadyHaveParameter && !gvModel.equals("FBType")){
                ParameterDialog dialog = new ParameterDialog(fb, evt);
                dialog.create("Add Parameter."+variable);
              }
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.