Examples of save()


Examples of com.example.mvc.repository.PersonRepository.save()

            Person p = new Person();
            p.setAge((i % 100) + 1);
            p.setName("name" + i);
            persons.add(p);
            if ((i % chunkSize) == 0) {
                personRepository.save(persons);
                persons.clear();
            }
        }
        personRepository.save(persons);
    }
View Full Code Here

Examples of com.example.prototypes.repo.EmailAddressTypeRepository.save()

    EmailAddressTypeRepository repository = context.getBean(EmailAddressTypeRepository.class);
    EmailAddressType addressType = new EmailAddressType();
    addressType.setActive(true);
    addressType.setDefaultDef(true);
    addressType.setName("Nowy");
    repository.save(addressType);
    // EmailAddressType addressType = repository.find(1L);
    EmailService service = context.getBean(EmailService.class);
    service.doIt();

    CheckingAccountService bean = context.getBean(CheckingAccountService.class);
View Full Code Here

Examples of com.extjs.common.dao.IUserDetails.save()

      userDetail.setFirstName(user.getFirstName());
      userDetail.setLastName(user.getLastName());
      userDetail.setGender(user.getGender());
      userDetail.setUserType("USER");
      userDetail.setEmail(user.getEmail());
      userDetails.save(userDetail);
      return userDetails.getUserDetailByUserName(user.getUserName());
    }catch (Exception ex){
      throw new EmployeeException(ex);
    }
  };
View Full Code Here

Examples of com.findwise.hydra.local.HttpRemotePipeline.save()

   
    if(result) {
      fail("Did not get false response on saveFull");
    }
   
    result = rp.save(ld);
   
    if(result) {
      fail("Did not get false response on save");
    }
   
View Full Code Here

Examples of com.findwise.hydra.local.RemotePipeline.save()

   
    if(result) {
      fail("Did not get false response on saveFull");
    }
   
    result = rp.save(ld);
   
    if(result) {
      fail("Did not get false response on save");
    }
   
View Full Code Here

Examples of com.forgeessentials.util.PlayerInfo.save()

            if (args.length >= 1 && (args[0].equals("here") || args[0].equals("set")))
            {
                WarpPoint p = new WarpPoint(sender);
                PlayerInfo info = PlayerInfo.getPlayerInfo(sender.getPersistentID());
                info.setHome(p);
                info.save();               
                OutputHandler.chatConfirmation(sender, String.format("Home set to: %1$d, %2$d, %3$d", p.getX(), p.getY(), p.getZ()));
            }
        }
    }
View Full Code Here

Examples of com.foundationdb.ais.protobuf.ProtobufWriter.save()

        return newAIS;
    }

    public void clone(AkibanInformationSchema destAIS, AkibanInformationSchema srcAIS, ProtobufWriter.WriteSelector selector) {
        ProtobufWriter writer = new ProtobufWriter(selector);
        AISProtobuf.AkibanInformationSchema pbAIS = writer.save(srcAIS);
        ProtobufReader reader = new ProtobufReader(typesRegistry, storageFormatRegistry, destAIS, pbAIS.toBuilder());
        reader.loadAIS();
    }
}
View Full Code Here

Examples of com.founder.fix.bpmn2extensions.flowconnector.util.FlowConnectorResourceImpl.save()

        resource.setEncoding("UTF-8");

        resource.getContents().add(rulesConfig);

        try {
          resource.save(Collections.EMPTY_MAP);
        } catch (IOException e) {
          e.printStackTrace();
        }
       
        //resource.getDefaultSaveOptions().put(XMLResource.OPTION_KEEP_DEFAULT_CONTENT, Boolean.TRUE);
View Full Code Here

Examples of com.funambol.syncclient.blackberry.EventCache.save()

            String uid = event.getString(Event.UID, 0);
           
            // Save the event data in cache
            EventCache cache = new EventCache();
            cache.put(uid, parser.getCacheData());
            cache.save();

            // Set the record key
            record.setKey(uid);

            list.close();
View Full Code Here

Examples of com.gamingmesh.jobs.container.JobsPlayer.save()

    public void playerQuit(Player player) {
        synchronized (players) {
            if (ConfigManager.getJobsConfiguration().saveOnDisconnect()) {
                JobsPlayer jPlayer = players.remove(player.getName().toLowerCase());
                if (jPlayer != null) {
                    jPlayer.save(Jobs.getJobsDAO());
                    jPlayer.onDisconnect();
                }
            } else {
                JobsPlayer jPlayer = players.get(player.getName().toLowerCase());
                if (jPlayer != null) {
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.