Examples of ItemInfo


Examples of com.Acrobot.ChestShop.Commands.ItemInfo

        if (!Properties.LOG_TO_CONSOLE) {
            logger.setUseParentHandlers(false);
        }

        getCommand("iteminfo").setExecutor(new ItemInfo());
        getCommand("csVersion").setExecutor(new Version());
        getCommand("csGive").setExecutor(new Give());
        getCommand("cstoggle").setExecutor(new Toggle());

        startStatistics();
View Full Code Here

Examples of com.esri.gpt.control.download.ItemInfo

    for (int i = 0; i < ndProjections.getLength(); i++) {
      Node node = ndProjections.item(i);
      String key = xpath.evaluate("@key", node);
      String alias = xpath.evaluate("@alias", node);
      String resKey = xpath.evaluate("@resKey", node);
      ItemInfo ii = new ItemInfo(key, alias, resKey);
      cfg.getProjectionInfo().add(ii);
    }

    // load output format
    NodeList ndFormats = (NodeList) xpath.evaluate("formats/format",
        ndDownload, XPathConstants.NODESET);
    for (int i = 0; i < ndFormats.getLength(); i++) {
      Node node = ndFormats.item(i);
      String key = xpath.evaluate("@key", node);
      String alias = xpath.evaluate("@alias", node);
      String resKey = xpath.evaluate("@resKey", node);
      ItemInfo ii = new ItemInfo(key, alias, resKey);
      cfg.getOutputFormatInfo().add(ii);
    }

    // load feature formats
    NodeList ndFeatureFormats = (NodeList) xpath.evaluate("features/feature",
        ndDownload, XPathConstants.NODESET);
    for (int i = 0; i < ndFeatureFormats.getLength(); i++) {
      Node node = ndFeatureFormats.item(i);
      String key = xpath.evaluate("@key", node);
      String alias = xpath.evaluate("@alias", node);
      String resKey = xpath.evaluate("@resKey", node);
      ItemInfo ii = new ItemInfo(key, alias, resKey);
      cfg.getFeatureFormatInfo().add(ii);
    }

    // load raster formats
    NodeList ndRasterFormats = (NodeList) xpath.evaluate("rasters/raster",
        ndDownload, XPathConstants.NODESET);
    for (int i = 0; i < ndRasterFormats.getLength(); i++) {
      Node node = ndRasterFormats.item(i);
      String key = xpath.evaluate("@key", node);
      String alias = xpath.evaluate("@alias", node);
      String resKey = xpath.evaluate("@resKey", node);
      ItemInfo ii = new ItemInfo(key, alias, resKey);
      cfg.getRasterFormatInfo().add(ii);
    }
  }
}
View Full Code Here

Examples of com.fasterxml.clustermate.api.msg.ItemInfo

        }
        if (raw.isReplicated()) {
            sb.append(ItemInfo.FLAG_REPLICA);
        }
        String flags = (sb.length() == 0) ? "" : sb.toString();
        return new ItemInfo(raw.getLastModified(), raw.getActualUncompressedLength(), compLen,
                compression, raw.getContentHash(),
                flags);
    }
View Full Code Here

Examples of com.google.gdt.eclipse.designer.gxt.model.widgets.menu.ItemInfo

            "}");
    assertHierarchy(
        "{this: com.extjs.gxt.ui.client.widget.menu.Menu} {this} {/add(item)/}",
        "  {new: com.extjs.gxt.ui.client.widget.menu.SeparatorMenuItem} {local-unique: item} {/new SeparatorMenuItem()/ /add(item)/}");
    menu.refresh();
    ItemInfo item = (ItemInfo) menu.getItems().get(0);
    //
    IMenuItemInfo itemObject = MenuObjectInfoUtils.getMenuItemInfo(item);
    assertNotNull(itemObject);
    assertSame(item, itemObject.getModel());
    // presentation
View Full Code Here

Examples of com.jada.content.data.ItemInfo

      ContentApi api = new ContentApi(request);
      Vector<ItemInfo> dataList = new Vector<ItemInfo>();
      Iterator<?> iterator = ContentLookupDispatchAction.getItemCompareList(request).iterator();
      while (iterator.hasNext()) {
        String itemId = (String) iterator.next();
        ItemInfo itemInfo = api.getItem(Format.getLong(itemId), false);
        dataList.add(itemInfo);
      }
     
      // merge with template and stream.
    TemplateEngine engine = TemplateEngine.getInstance();
View Full Code Here

Examples of com.jada.content.data.ItemInfo

  public PageHeaderInfo getPageItemInfo() throws Exception {
    PageHeaderInfo pageHeaderInfo = new PageHeaderInfo();
   
    String itemNaturalKey = getItemKey();
    boolean updateStatistics = false;
    ItemInfo itemInfo = api.getItem(itemNaturalKey, updateStatistics);
    if (itemInfo == null) {
      pageHeaderInfo.setPageTitle(siteName + " - " + getLanguageByValue("Page not found"));
          pageHeaderInfo.setMetaKeywords("");
          pageHeaderInfo.setMetaDescription("");
          return pageHeaderInfo;
    }
    pageHeaderInfo.setPageTitle(itemInfo.getPageTitle());
    pageHeaderInfo.setMetaKeywords(itemInfo.getMetaKeywords());
    pageHeaderInfo.setMetaDescription(itemInfo.getMetaDescription());

    return pageHeaderInfo;
  }
View Full Code Here

Examples of com.jada.content.data.ItemInfo

     */
    @Deprecated
  public String getPageItemTitle() throws Exception {
    String itemNaturalKey = getItemKey();
    boolean updateStatistics = false;
    ItemInfo itemInfo = api.getItem(itemNaturalKey, updateStatistics);
    if (itemInfo == null) {
      return siteName + " - " + getLanguageByValue("Page not found");
    }
    return siteName + " - " + itemInfo.getPageTitle();
  }
View Full Code Here

Examples of com.jada.content.data.ItemInfo

     */
    @Deprecated
  public String getPageItemCommentTitle() throws Exception {
    String itemNaturalKey = getItemKey();
    boolean updateStatistics = false;
    ItemInfo itemInfo = api.getItem(itemNaturalKey, updateStatistics);
    return siteName + " - " + itemInfo.getPageTitle();
  }
View Full Code Here

Examples of com.jada.content.data.ItemInfo

  }
 
  public ItemInfo getItem() throws Exception {
    String itemNaturalKey = getItemKey();
    boolean updateStatistics = true;
    ItemInfo itemInfo = api.getItem(itemNaturalKey, updateStatistics);
    return itemInfo;
  }
View Full Code Here

Examples of com.jada.content.data.ItemInfo

        while (itemsCrossSell.hasNext()) {
          Item upSellItem = (Item) itemsCrossSell.next();
          if (isExist(crossSellItems, upSellItem)) {
            continue;
          }
          ItemInfo itemInfo = contentApi.formatItem(upSellItem);
            crossSellItems.add(itemInfo);
        }
      }
      form.setCrossSellItems(crossSellItems);
    }
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.