Examples of makeSharingUrl()


Examples of com.esri.gpt.agp.client.AgpConnection.makeSharingUrl()

      AgpDestination destination, AgpItem destItem)
    throws Exception {
   
    AgpConnection con = source.getConnection();
    String sId = sourceItem.getProperties().getValue("id");
    String sUrl = con.makeSharingUrl()+"/content/items";
    sUrl += "/"+AgpUtil.encodeURIComponent(sId);
    sUrl += "/data";
   
    // this is probably not necessary, -1 seems to work,
    // search?q= results return size=-1,
View Full Code Here

Examples of com.esri.gpt.agp.client.AgpConnection.makeSharingUrl()

      int n = sThumbnail.indexOf("thumbnail/");
      if (n == 0) {
        String sFileName = sThumbnail.substring(10);
        if ((sFileName.length() > 0) && (sFileName.indexOf("/") == -1)) {
          String sId = sourceItem.getProperties().getValue("id");
          String sUrl = con.makeSharingUrl()+"/content/items";
          sUrl += "/"+AgpUtil.encodeURIComponent(sId);
          sUrl += "/info/thumbnail/"+sFileName;
          provider.add(new AgpDPart(
              con,sourceItem,sUrl,"thumbnail",sFileName,-1));
        }
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.