Package com.esri.gpt.catalog.arcgis.agportal.publication

Examples of com.esri.gpt.catalog.arcgis.agportal.publication.PublicationRequest


     
      Timestamp ts = new Timestamp(new Date().getTime());
      LOGGER.info("Starting reverse sycnhronization.");
     
      RequestContext context = RequestContext.extract(null);
      PublicationRequest request = createPublicationRequest(context);
      publishAnythingWithUrl(context, request);

      setLastSynchronizationDate(ts);

    } catch (Exception e) {
View Full Code Here


   * @param context request context
   * @return publication request
   * @throws Exception if creating publication request fails
   */
  private PublicationRequest createPublicationRequest(RequestContext context) throws Exception {
    return new PublicationRequest(context, EndPoint.extract(context), getCredentialProvider(), getParameter("referer"));
  }
View Full Code Here

TOP

Related Classes of com.esri.gpt.catalog.arcgis.agportal.publication.PublicationRequest

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.