Examples of Site


Examples of acceptance.hibernate.reference.Site

        final Session session = getSessionFactory().getCurrentSession();
        session.beginTransaction();
        final Division loaded = (Division)session.createQuery("from Division").uniqueResult();
        final Department dept = (Department)loaded.getDepartments().iterator().next();
        final Person person = (Person)dept.getPeople().iterator().next();
        final Site site = person.getSite();
        assertTrue(HibernateProxy.class.isAssignableFrom(site.getClass()));
        final String loadedXml = xstream.toXML(site);
        session.getTransaction().commit();

        final String expectedXml = ""
            + "<site>\n"
View Full Code Here

Examples of br.com.syspartenon.partenon.domain.Site

        return bannerBC.findAll(site);
    }

    public Site getSite() {
        if(this.site == null) {
            this.site = new Site();
            if(this.id.getValue() != null)
                this.site = siteBC.load(this.id.getValue());
        }
        return site;
    }
View Full Code Here

Examples of ch.entwine.weblounge.common.site.Site

    this.uri = uri;
    this.composerId = composer;
    this.pageletIndex = pageletIndex;
    this.environment = environment;

    Site site = uri.getSite();
    Module module = site.getModule(pagelet.getModule());
    if (module != null) {
      renderer = module.getRenderer(pagelet.getIdentifier());
      renderer.setEnvironment(environment);
    }
  }
View Full Code Here

Examples of com.google.code.stackexchange.schema.Site

      System.out.println("Total questions:" + stats.getTotalQuestions());
      System.out.println("Total unanswered questions:" + stats.getTotalUnanswered());
      System.out.println("Total users:" + stats.getTotalUsers());
      System.out.println("Total votes:" + stats.getTotalVotes());
      System.out.println("API Version:" + stats.getApiVersion().getVersion() + ":" + stats.getApiVersion().getRevision());
      Site site = stats.getSite();
      System.out.println("Site Name:" + site.getName());
      System.out.println("API Endpoint:" + site.getApiEndpoint());
      System.out.println("Site URL:" + site.getSiteUrl());
      System.out.println("Site Styling:" + site.getStyling().getLinkColor());
    }
  }
View Full Code Here

Examples of com.jada.jpa.entity.Site

                       HttpServletResponse response)
                    throws Throwable {
   
    ItemMaintActionForm form = (ItemMaintActionForm) actionForm;
    AdminBean adminBean = getAdminBean(request);
    Site site = adminBean.getSite();
    initSiteProfiles(form, site);
 
    JSONEscapeObject jsonResult = new JSONEscapeObject();
    jsonResult.put("status", Constants.WEBSERVICE_STATUS_SUCCESS);
       EntityManager em = JpaConnection.getInstance().getCurrentEntityManager();
    Item item = ItemDAO.load(site.getSiteId(), Format.getLong(form.getItemId()));
       String itemChildIds[] = form.getItemChildIds();
       if (itemChildIds != null) {
         for (int i = 0; i < itemChildIds.length; i++) {
        Item itemChild = ItemDAO.load(site.getSiteId(), Format.getLong(itemChildIds[i]));
        item.getChildren().remove(itemChild);
         }
      item.setRecUpdateBy(adminBean.getUser().getUserId());
      item.setRecUpdateDatetime(new Date(System.currentTimeMillis()));
      em.persist(item);
View Full Code Here

Examples of com.psddev.cms.db.Site

    }

    @Override
    protected void doService(final ToolPageContext page) throws IOException, ServletException {
        List<CmsTool.ResourceItem> resources = null;
        Site site = page.getSite();

        if (site != null) {
            resources = site.getResources();
        }

        if (resources == null || resources.isEmpty()) {
            resources = page.getCmsTool().getResources();
        }
View Full Code Here

Examples of com.skyline.base.model.Site

  public static SiteMapper getMapper() {
    return MAPPER;
  }

  public Site mapRow(ResultSet rs, int rowNum) throws SQLException {
    Site s = new Site();
    s.setId(rs.getString("id"));
    s.setName(rs.getString("name"));
    s.setType(rs.getString("type"));
    s.setParent(rs.getString("parent"));
    return s;
  }
View Full Code Here

Examples of com.thinkgem.jeesite.modules.cms.entity.Site

  public static List<Site> getSiteList(){
    @SuppressWarnings("unchecked")
    List<Site> siteList = (List<Site>)CacheUtils.get(CMS_CACHE, "siteList");
    if (siteList == null){
      Page<Site> page = new Page<Site>(1, -1);
      page = siteService.find(page, new Site());
      siteList = page.getList();
      CacheUtils.put(CMS_CACHE, "siteList", siteList);
    }
    return siteList;
  }
View Full Code Here

Examples of diva.canvas.Site

            Iterator i = _geometry.sites();
            GrabHandle g = null;

            while (i.hasNext()) {
                // Create a grab handle and set up the interactor
                Site site = (Site) i.next();
                g = getGrabHandleFactory().createGrabHandle(site);
                g.setParent(this);
                g.setInteractor(getHandleInteractor());
                addGrabHandle(g);
            }
View Full Code Here

Examples of net.sf.jpluck.jxl.Site

            document.setIncludeURIInfo(jxlDocument.isIncludeURIInfo());
            document.setBackup(jxlDocument.isSetBackupBit());
            document.setEncoding(jxlDocument.getOutputEncoding());
            // Sort bookmarks for sites
            if (jxlDocument instanceof Site) {
              Site site = (Site) jxlDocument;
              if (site.isSortBookmarks()) {
                document.sortBookmarks();
              }
            }

            fireGenerationStarted(jxlDocument);
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.