Package com.esri.gpt.catalog.publication

Examples of com.esri.gpt.catalog.publication.UploadRequest


          ValidationRequest request = new ValidationRequest(context,sFileName,sXml);
          request.verify();
          msgBroker.addSuccessMessage("catalog.publication.success.validated");
        } else {
          Publisher publisher = getSelectablePublishers().selectedAsPublisher(context,false);
          UploadRequest request = new UploadRequest(context,publisher,sFileName,sXml);
          request.publish();
          if (request.getPublicationRecord().getWasDocumentUnchanged()) {
            msgBroker.addSuccessMessage("publication.success.unchanged");
          } else if (request.getPublicationRecord().getWasDocumentReplaced()) {
            msgBroker.addSuccessMessage("publication.success.replaced");
          } else {
            msgBroker.addSuccessMessage("publication.success.created");
          }
        }
View Full Code Here

TOP

Related Classes of com.esri.gpt.catalog.publication.UploadRequest

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.