Examples of retrieve()


Examples of org.objectweb.speedo.mim.api.StateItf.retrieve()

        try {
          if (map != null && !map.containsKey(sp.getPName())) {
            map.put(sp.getPName(), sp);
            tpm.refresh(tx, sp);
            StateItf sa = (StateItf) tpm.readIntention(tx, sp, null);
            sa.retrieve(this, map, fgHints);
          }
        } catch (PersistenceException e) {
        throw new JDOException("Impossible to retrieve a persistent instance", e);
      }
    }
View Full Code Here

Examples of org.sgx.yuigwt.yui.cache.Cache.retrieve()

      }
    }));
    Y.newButton(ButtonConfig.create().label("Load").render(parent).on("click", new EventCallback() {     
      @Override
      public void call(EventFacade e) {
        p.set("value", cache1.retrieve(cacheKey1).responseString());
      }
    }));
   
    parent.append("<p>and the offline cache tester (html5): </p>");
    final Node p2 = parent.appendChild(
View Full Code Here

Examples of org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.retrieve()

                    }
                    if (entry != null && (resolveContents || resolveProperties)) {
                        kind = entry.getKind();
                        revision = entry.getRevision();
                        File conflictDir = entry.isDirectory() ? path : path.getParentFile();
                        SVNAdminArea conflictArea = wcAccess.retrieve(conflictDir);
                        resolved |= conflictArea.markResolved(entry.getName(), resolveContents, resolveProperties, choice);
                    }
                    if (resolved) {
                        SVNEvent event = SVNEventFactory.createSVNEvent(path, kind, null,
                                revision, SVNEventAction.RESOLVED, null, null, null);
View Full Code Here

Examples of org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.retrieve()

            if (!(force && e.getErrorMessage().getErrorCode() == SVNErrorCode.ENTRY_EXISTS)) {
                throw e;
            }
        }
        SVNWCAccess access = parentDir.getWCAccess();
        SVNAdminArea dir = access.retrieve(path);
        Collection ignores = Collections.EMPTY_SET;
        if (!noIgnore) {
            ignores = SVNStatusEditor.getIgnorePatterns(dir, SVNStatusEditor.getGlobalIgnores(getOptions()));
        }
        File[] children = SVNFileListUtil.listFiles(dir.getRoot());
View Full Code Here

Examples of sino.dao.jpa.PostDaoImpl.retrieve()

        post.setCreationDate(new Date());
        post.setType(PostType.NEWS);
        postDao.persist(post);
        postDao.getEntityManager().getTransaction().commit();
        postDao.setEntityManager(factory.createEntityManager());
        System.out.println(postDao.retrieve(post.getId()).getContent());
        System.out.println(postDao.retrieve(1).getPreview());
    }

    public void testB() throws Exception {
        ApplicationContext context = new ClassPathXmlApplicationContext("/config.xml");
View Full Code Here

Examples of test.crud.CRUD.retrieve()

    public void testStart() throws Exception {
        ServiceReference<CRUD> serviceReference = domain.getServiceReference(CRUD.class, "CRUDServiceComponent");
        assertNotNull(serviceReference);
        CRUD service = serviceReference.getService();
        String id = service.create("ABC");
        Object result = service.retrieve(id);
        assertEquals("ABC", result);
        service.update(id, "EFG");
        result = service.retrieve(id);
        assertEquals("EFG", result);
        service.delete(id);
View Full Code Here

Examples of util.SQLHelper.retrieve()

    };

    try {
      sql = new SQLHelper();
      sql.openDB();
      return sql.retrieve(CHECK_CRED_QUERY, params).next();

    } finally {
      sql.closeDB();
    }
  }
View Full Code Here

Examples of util.SQLHelper.retrieve()

      query = "select m.id mote_id, m.site_id site_id,s.sitename site, " +
        "case when m.curr_session_id=? then 'controlled' " +
              "when isnull(m.curr_session_id) then 'available' else 'occupied' end mote_usage ";

      select = "select id, name from moteattrtype order by sortseq";
      rs = sql.retrieve(select);
      while (rs.next()) {
        query+=getMoteAttrSubquery(rs.getString("name"),rs.getString("id"));
      }
      select = "select id, name from siteattrtype order by sortseq";
      rs = sql.retrieve(select);
View Full Code Here

Examples of util.SQLHelper.retrieve()

      rs = sql.retrieve(select);
      while (rs.next()) {
        query+=getMoteAttrSubquery(rs.getString("name"),rs.getString("id"));
      }
      select = "select id, name from siteattrtype order by sortseq";
      rs = sql.retrieve(select);
      while (rs.next()) {
        query+=getSiteAttrSubquery(rs.getString("name"),rs.getString("id"));
      }
      query+=" from mote m, site s " +
             " where s.id=m.site_id";
View Full Code Here

Examples of util.SQLHelper.retrieve()

      while (rs.next()) {
        query+=getSiteAttrSubquery(rs.getString("name"),rs.getString("id"));
      }
      query+=" from mote m, site s " +
             " where s.id=m.site_id";
      rs = sql.retrieve(query, param);
      rs.last();
      int rows = rs.getRow();
      int cols = rs.getMetaData().getColumnCount();
      result = new SimpleTable(rows,cols);
      rs.beforeFirst();
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.