Package com.esri.gpt.agp.client

Examples of com.esri.gpt.agp.client.AgpCommonRequest


    throws Exception {
    String sSrcId = sourceItem.getProperties().getValue("id");
    String sDestId = destItem.getProperties().getValue("id");
    String sTitle = sourceItem.getProperties().getValue("title");
    LOGGER.finer("Processing metadata for: "+sSrcId+" "+sTitle);
    AgpCommonRequest request = new AgpCommonRequest();
    AgpConnection connection = this.source.getConnection();
    try {
      String sXml = request.readFormalMetadata(connection,sSrcId);
      if ((sXml != null) && (sXml.length() > 0)) {
        if (sXml.indexOf("<xhtml") == -1) {
          this.execPublishMetadata(sDestId,sXml);
        }
      }
View Full Code Here


      //sRelType = "Service2Data";
    }
   
    AgpItems destRelItems = null;
    AgpItems srcRelItems = null;
    AgpCommonRequest request = new AgpCommonRequest();
    if (sRelType != null) {
     
      srcRelItems = request.queryRelatedItems(src.getConnection(),
          sSrcId,sRelType,sRelDir);
      destRelItems = request.queryRelatedItems(dest.getConnection(),
          sDestId,sRelType,sRelDir);
     
      // TODO: consider when to delete destination related items
     
      if ((srcRelItems != null) && (srcRelItems.size() > 0)) {
View Full Code Here

TOP

Related Classes of com.esri.gpt.agp.client.AgpCommonRequest

Copyright © 2018 www.massapicom. 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.