Examples of update()


Examples of org.spw.controller.FundraisingController.update()

        return (ApplicationBean1)getBean("ApplicationBean1");
    }

    public String buttonValidate_action() {
        FundraisingController ctrl = new FundraisingController();
        ctrl.update(getSessionBean1().getFundraising());
        return "success";
    }

    public String buttonCancel_action() {
        return "success";
View Full Code Here

Examples of org.spw.controller.OptionValueController.update()

    public String buttonChange_action() {
        // Persist the new object
        OptionValueController ctrl = new OptionValueController();
        OptionValue object = getSessionBean1().getOptionValue();
        ctrl.update(object);
       
        return "success";
    }
}
View Full Code Here

Examples of org.spw.controller.PartnershipController.update()

        return (ApplicationBean1)getBean("ApplicationBean1");
    }
   
    public String buttonValidate_action() {
        PartnershipController ctrl = new PartnershipController();
        ctrl.update(getSessionBean1().getPartnership());
       
        return "success";
    }
   
    public String buttonCancel_action() {
View Full Code Here

Examples of org.spw.controller.PersonController.update()

   
    public String buttonValidate_action() {
        // Persist the new object
        PersonController ctrl = new PersonController();
        Person object = getSessionBean1().getPerson();
        ctrl.update(object);
       
        return "success";
    }
   
    public String buttonCancel_action() {
View Full Code Here

Examples of org.spw.controller.ProgramController.update()

   
    public String buttonValidate_action() {
        // Persist the new object
        ProgramController ctrl = new ProgramController();
        Program object = getSessionBean1().getProgram();
        ctrl.update(object);
        return "success";
    }

    public String buttonCancel_action() {
        return "success";
View Full Code Here

Examples of org.spw.controller.VolunteerApplicationController.update()

        Contribution contribution = getSessionBean1().getContribution();
        VolunteerApplication application = getSessionBean1().getContributionDataProvider().getApplication();
        if (!application.getContributions().contains(contribution)) {
            application.addContribution(contribution);
        }
        ctrl.update(application);
       
        return "success";
    }

    public String buttonCancel_action() {
View Full Code Here

Examples of org.spw.controller.VolunteerController.update()

        if (getSessionBean1().getPerson() !=  null &&
                getSessionBean1().getPerson().getIdContact() == volunteer.getIdContact() ) {
            ctrlPerson.delete(getSessionBean1().getPerson());
        }
        // Persit the new object
        ctrlVolunteer.update(volunteer);
       
        //Set the person property for info display
        getSessionBean1().setPerson(volunteer);
        return "success";
    }
View Full Code Here

Examples of org.sunflow.core.light.SunSkyLight.update()

      parameterList.addVectors("up", InterpolationType.NONE, new float [] {0, 1, 0});
      parameterList.addVectors("east", InterpolationType.NONE,
          new float [] {(float)Math.sin(compass.getNorthDirection()), 0, (float)Math.cos(compass.getNorthDirection())});
      parameterList.addVectors("sundir", InterpolationType.NONE,
          new float [] {sunDirection [0], sunDirection [1], sunDirection [2]});
      sunSkyLight.update(parameterList, this.sunflow);
      float [] sunColor = sunSkyLight.getSunColor().getRGB();
     
      // Simulate additional Sun with a faraway sphere light of a color depending of the hour of the day
      int sunPower = this.useAmbientOcclusion ? 40 : 10;
      this.sunflow.parameter("radiance", null,
View Full Code Here

Examples of org.tarantool.facade.TarantoolTemplate.update()

    } catch (TarantoolException ignored) {

    }
    assertEquals(1, template.save(user).replace());
    assertNotNull(template.find(User.class, 0, "id").condition(user.getId()).list());
    assertEquals(user.getPhone() + 1L, template.update(User.class, user.getId()).add("phone", 1).updateAndGet().getPhone());

    connectionFactory.free();
    return;
  }
View Full Code Here

Examples of org.tarantool.msgpack.TarantoolConnection16.update()

        Message[] insert1 = con.insert(Message[].class, 0, new Message());
        List<Value> select0 = con.select(0, 0, Arrays.asList(1), 0, 100);
        Message[] select = con.select(Message[].class, 0, 0, new int[]{0}, 0, 10);
        List<Value> time = con.call("box.time");
        float[][] time2 = con.call(float[][].class, "box.time");
        Message[] updated = con.update(Message[].class, 0, new int[]{0}, Arrays.asList(Arrays.asList("=", 1, "!!!")));
        factory.returnConnection(con);
        factory.close();


    }
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.