Examples of save()


Examples of com.santiagolizardo.beobachter.config.PropertySet.save()

      configuration.setColor("rule." + i + ".foreground_color",
          rule.getForegroundColor());
    }

    String path = getPath(logType.getName());
    configuration.save(path);
  }
}
View Full Code Here

Examples of com.scooterframework.orm.activerecord.ActiveRecord.save()

    public String create() {
        ActiveRecord newEntry = null;
        try {
            newEntry = Entry.newRecord();
            newEntry.setData(params());
            newEntry.save();
            flash("notice", "Entry was successfully created.");

            return redirectTo(R.resourcePath("entries"));
        }
        catch(Exception ex) {
View Full Code Here

Examples of com.sijobe.spc.util.Settings.save()

         player.sendChatMessage("Scuba mode is " + FontColour.AQUA + "enabled");
      } else {
         config.set("scuba", false);
         player.sendChatMessage("Scuba mode is " + FontColour.AQUA + "disabled");
      }
      config.save();
   }
  
   /**
    * @see com.sijobe.spc.core.IPlayerMP#onTick(com.sijobe.spc.wrapper.Player)
    */
 
View Full Code Here

Examples of com.sijobe.spc.util.SettingsManager.save()

      if (player == null) {
         return false;
      }
      SettingsManager manager = MANAGER.get(MinecraftServer.getDirectoryName());
      if (manager != null) {
         return manager.save(player.getPlayerName());
      }
      return false;
   }
}
View Full Code Here

Examples of com.sk89q.util.yaml.YAMLProcessor.save()

            lang.setWriteDefaults(true);

            for(Entry<String, String> s : defaultMessages.entrySet())
                lang.getString(s.getKey(), s.getValue());

            lang.save();

            languageMap.put(language, lang);
        }
    }
View Full Code Here

Examples of com.smartcodeltd.jenkinsci.plugins.buildmonitor_acceptance.pageobjects.bfa.NewFailureCause.save()

            add(click(failureCause.addIndication()));
            add(click(failureCause.buildLogIndication()));
            add(enter(pattern, failureCause.pattern()));

            add(click(failureCause.save()));
        }};
    }
}
View Full Code Here

Examples of com.someluigi.tuc.server.player.Player.save()

      }
     
      String addr = a.toString();
      if (addr.equalsIgnoreCase("/ser")) {
        Player p = new Player("slm", "AUser", 1);
        p.save();
        body.println("Serializing player");
        stdOut.println("Stopping the server...");
      }
     
      if (addr.equalsIgnoreCase("/stop")) {
View Full Code Here

Examples of com.sourcetap.sfa.ui.UIQuery.save()

                // Change the party ID to the current user's party ID, and the section ID to the current section ID
                // in case either of these was -1 (wildcard).
                uiQuery.setSectionId(uiWebScreenSection.getSectionId());
                uiQuery.setPartyId(userInfo.getPartyId());
                uiQuery.setQueryName(queryName);
                queryId = uiQuery.save(delegator);

                //      queryId = UIQuery.saveUiQuery(delegator, userInfo.getPartyId(), sectionId, queryName, querySaveMap);
                Debug.logVerbose("queryId after saving query \"" + queryName + "\": " + queryId, module);

                if (TIMER) {
View Full Code Here

Examples of com.stormpath.sdk.account.Account.save()

                if (user.getGroupUrl() != null && !user.getGroupUrl().isEmpty() && existingGroupUrl == null) {
                    account.addGroup(stormpath.getDataStore().getResource(user.getGroupUrl(), Group.class));
                }

                account.save();

                user.setAccount(account);
                user.setUserName(sessionUser.getUserName());
                user.setTootList(sessionUser.getTootList());
View Full Code Here

Examples of com.structis.fichesst.client.service.ClientFicheStServiceAsync.save()

        ClientFicheStServiceAsync clientFicheStService = ClientFicheStServiceAsync.Util.getInstance();
       
        if (ficheStId != null && ficheStId > 0) {
          clientFicheStService.update(model, callback);
        } else {
          clientFicheStService.save(model, callback);
        }
      }
    });
   
    bus.addHandler(ExportFicheStEvent.TYPE, new ExportFicheStHandler() {
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.