Examples of load()


Examples of com.orientechnologies.orient.core.record.impl.ORecordBytes.load()

    try {
      database.begin();

      // RE-READ THE RECORD
      record1.load();

      ODatabaseRecordThreadLocal.INSTANCE.set(db2);
      ORecordBytes record2 = db2.load(record1.getIdentity());

      record2.setDirty();
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ORecordFlat.load()

    try {
      db1.begin();

      // RE-READ THE RECORD
      record1.load();
      ORecordFlat record2 = db2.load(record1.getIdentity());

      record2.value("This is the second version").save();
      record1.value("This is the third version").save();
View Full Code Here

Examples of com.orientechnologies.orient.core.schedule.OSchedulerListenerImpl.load()

    scheduler = new OSchedulerListenerProxy(database.getStorage().getResource(OSchedulerListener.class.getSimpleName(),
        new Callable<OSchedulerListener>() {
          public OSchedulerListener call() {
            final OSchedulerListenerImpl instance = new OSchedulerListenerImpl();
            if (iLoad)
              instance.load();
            return instance;
          }
        }), database);
  }
View Full Code Here

Examples of com.orientechnologies.orient.object.db.OObjectDatabaseTx.load()

      database.close();

      database = OObjectDatabasePool.global().acquire(url, "admin", "admin");

      pojo = database.load(rid);
      Assert.assertEquals(unserialized, 0);

      pojo.getCustom();
      Assert.assertEquals(unserialized, 1);
      Assert.assertTrue(pojo.getCustom() instanceof CustomType);
View Full Code Here

Examples of com.qspin.qtaste.ui.testcampaign.TestCampaignTreeModel.load()

    public void load(String fileName) {
        try {
          if (tree.getModel() instanceof TestCampaignTreeModel) {
              TestCampaignTreeModel model = (TestCampaignTreeModel) tree.getModel();
              model.load(fileName);
              hasChanged = false;
              displayNecessaryColumns();
              expandSelected();
          }
        } catch (Exception ex) {
View Full Code Here

Examples of com.ramforth.webserver.http.templates.IWebTemplate.load()

            if (resourceExists(httpContext.getRequest().getUri().getPath())) {
                HttpDynamicTemplateResource templateResource = getTemplateResource(httpContext.getRequest().getUri().getPath());

                IWebTemplate template = fileInstantiator.instantiate(templateResource);
                template.setContext(httpContext);
                template.load();

                switch (httpContext.getRequest().getMethod()) {
                    case GET:
                    case HEAD:
                        template.get();
View Full Code Here

Examples of com.san.my.dao.ObjectDAO.load()

                           //accountsDO.setAccountId(2);
                           accountsDO.setName("gfeabcaaaaad");
                           accountsDO.setLoginName("gfeaaaaaaa");
                           session.merge(accountsDO);
                         
                           SlipDO slip  = (SlipDO)objectDAO.load(SlipDO.class,new Integer(21070));
                          
                         }
                         catch (Exception ex) {
                             status.setRollbackOnly();
                             ex.printStackTrace();                       
View Full Code Here

Examples of com.saxonica.schema.SchemaModelLoader.load()

     */

    public void importComponents(Source source) throws SaxonApiException {
        try {
            SchemaModelLoader loader = new SchemaModelLoader(config);
            PreparedSchema schema = loader.load(source);
        } catch (XPathException err) {
            throw new SaxonApiException(err);
        }
    }

View Full Code Here

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

            spcPlayers.mkdirs();
         }
         manager = new SettingsManager(spcPlayers, Constants.DEFAULT_SETTINGS);
         MANAGER.put(directoryName, manager);
      }
      return manager.load(player.getPlayerName());
   }
  
   /**
    * Saves the settings for the specified player
    *
 
View Full Code Here

Examples of com.sk89q.craftbook.bukkit.BukkitConfiguration.load()

            } catch (IOException e) {
                e.printStackTrace();
            }
        }
        BukkitConfiguration config = new BukkitConfiguration(new YAMLProcessor(file, true, YAMLFormat.EXTENDED), Bukkit.getLogger());
        config.load();

        file = new File(getGenerationFolder(), "mechanisms.yml");
        if(!file.exists()) {
            try {
                file.createNewFile();
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.