Examples of store()


Examples of com.db4o.ObjectContainer.store()

  }

  public void fromXML() {
    ObjectContainer db4o = Db4oEmbedded.openFile(databaseFile);
    for (Object obj : new XStreamFile(xstreamFile).read()) {
      db4o.store(obj);
    }
    db4o.commit();
    db4o.close();
  }
}
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.store()

          // ma.getObjUid());
          DOService storeUser = DOService
              .getService("do_org_user_insert");
          // /建立用户间的对应关系
          user.putValue("user_code", user.getValue("name"));
          employee = storeUser.store(user);

        } else {
          employee = (BOInstance) corrUsers.get(0);
        }
      } catch (ExedoException e) {
View Full Code Here

Examples of com.google.code.gaeom.ObjectStoreSession.store()

    grandchild3.parent = child1;

    child1.children = Lists.newArrayList(grandchild3);

    ObjectStoreSession sess1 = store.beginSession();
    sess1.store(root).now();
    Key key = sess1.getKey(child2);

    ObjectStoreSession sess2 = store.beginSession();
    Node child2a = sess2.load(key).activate("**.children", "**.parent", "!**.parent.children").now();

 
View Full Code Here

Examples of com.google.code.twig.ObjectDatastore.store()

        // store task information
        DateTime timestamp = DateTime.now().plus(delay);
        GaeTask storedTask = new GaeTask(task.getName(),
            agentId, timestamp.toString());
        ObjectDatastore datastore = new AnnotationObjectDatastore();
        datastore.store(storedTask);
       
        return task.getName();     
      } catch (MalformedURLException e) {
        e.printStackTrace();
      }
View Full Code Here

Examples of com.google.code.twig.annotation.AnnotationObjectDatastore.store()

        // store task information
        DateTime timestamp = DateTime.now().plus(delay);
        GaeTask storedTask = new GaeTask(task.getName(),
            agentId, timestamp.toString());
        ObjectDatastore datastore = new AnnotationObjectDatastore();
        datastore.store(storedTask);
       
        return task.getName();     
      } catch (MalformedURLException e) {
        e.printStackTrace();
      }
View Full Code Here

Examples of com.ibm.sbt.security.credential.store.CredentialStore.store()

                  CredentialStore credStore = findCredentialStore();
                  if (credStore != null) {
                // if the token is already present, and was expired due to which we have fetched a new
                // token, then we remove the token from the store first and then add this new token.
                deleteToken();
                credStore.store(getServiceName(), ACCESS_TOKEN_STORE_TYPE, getUserId(), token);
              }
                  } else {
                    AnonymousCredentialStore.storeCredentials(context, token, getAppId(), getServiceName()); // Store the token for anonymous user
                  }
          } catch (CredentialStoreException cse) {
View Full Code Here

Examples of com.iggroup.oss.restdoclet.doclet.RestDocumentationProperties.store()

      props.setVersion(version);
      props.setFinalName(finalName);
      props.setClassifier(classifier);
      props.setScmUrl(scmUrl);
      props.setTimestamp(Calendar.getInstance().getTime().toString());
      props.store(new FileOutputStream(new File(directories
         .getClassesDirectory(), FILE)));
   }

   /**
    * {@inheritDoc}
 
View Full Code Here

Examples of com.intersys.gds.DocumentMap.store()

    DocumentMap dbDocHandle = connection.getDocumentMap("WorldJUGs");
   
    //5. Store the data in the database
    for(int j=0; j<documentCount; j++){
      Document ljug = worldJugs.get(j);
      dbDocHandle.store(Integer.toString(j), ljug);
    }
    //6. Close the connection
    connection.close();
  }
}
View Full Code Here

Examples of com.jetdrone.vertx.yoke.Yoke.store()

                }

                final Yoke app = new Yoke(SessionStoreExample.this);
                app.secretSecurity("keyboard cat");

                app.store(new MongoDBSessionStore(vertx.eventBus(), "vertx.mongopersistor", "sessions"));

                final Mac hmac = app.security().getMac("HmacSHA256");

                app.use(new BodyParser());
                app.use(new CookieParser(hmac));
View Full Code Here

Examples of com.knowgate.addrbook.Meeting.store()

        oMeet.put(DB.id_icalendar, oEvnt.getIcalUID());
        oMeet.put(DB.dt_start, new Date(oTimes.get(0).getStartTime().getValue()));
        oMeet.put(DB.dt_end, new Date(oTimes.get(0).getEndTime().getValue()));
        if (oEvnt.getTitle()!=null) oMeet.put(DB.tx_meeting, oEvnt.getTitle().getPlainText());
        if (oEvnt.getPlainTextContent()!=null) oMeet.put(DB.de_meeting, oEvnt.getPlainTextContent());
    oMeet.store(oConn);
   
    DBSubset oFlws = bAlreadyExists ? oMeet.getFellows(oConn) : new DBSubset(DB.k_fellows, "'','','','',''", null, 1);
   
    for (EventWho oEwho : oEvnt.getParticipants()) {
      String sEMail = oEwho.getEmail();
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.