Esri Geoportal Server
1.0

com.esri.gpt.catalog.arcims
Class PublishServiceRequest

java.lang.Object
  extended by com.esri.gpt.catalog.arcims.ImsRequest
      extended by com.esri.gpt.catalog.arcims.PublishServiceRequest
Direct Known Subclasses:
DeleteMetadataRequest, GetDocumentRequest, PutMetadataRequest, TransferOwnershipRequest

public class PublishServiceRequest
extends ImsRequest

Super-class for an ArcIMS publish service request.


Field Summary
 
Fields inherited from class com.esri.gpt.catalog.arcims.ImsRequest
ACTION_STATUS_ERROR, ACTION_STATUS_NONE, ACTION_STATUS_OK, ACTION_STATUS_REPLACED, ACTION_STATUS_UNKNOWN
 
Constructor Summary
PublishServiceRequest()
          Default constructor.
PublishServiceRequest(RequestContext requestContext, Publisher publisher)
          Constructs with an associated request context and publisher.
 
Method Summary
protected  void executeRequest()
          Executes an ArcIMS service request and parses the response.
protected  Publisher getPublisher()
          Gets the publisher associated with the request.
protected  RequestContext getRequestContext()
          Gets the associated request context.
protected  void setPublisher(Publisher publisher)
          Sets the publisher associated with the request.
protected  void setRequestContext(RequestContext requestContext)
          Sets the associated request context.
 
Methods inherited from class com.esri.gpt.catalog.arcims.ImsRequest
executeRequest, getActionStatus, getAxlRequest, getAxlResponse, getCredentials, getService, makeClient, onEndSaxElement, onStartSaxElement, setActionStatus, setAxlRequest, setAxlResponse, setCredentials, setService, wasActionOK
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublishServiceRequest

public PublishServiceRequest()
Default constructor.


PublishServiceRequest

public PublishServiceRequest(RequestContext requestContext,
                             Publisher publisher)
Constructs with an associated request context and publisher.

Parameters:
requestContext - the request context
publisher - the publisher
Method Detail

getPublisher

protected Publisher getPublisher()
Gets the publisher associated with the request.

Returns:
the publisher

setPublisher

protected void setPublisher(Publisher publisher)
Sets the publisher associated with the request.

Parameters:
publisher - the publisher

getRequestContext

protected RequestContext getRequestContext()
Gets the associated request context.

Returns:
the request context

setRequestContext

protected void setRequestContext(RequestContext requestContext)
Sets the associated request context.

Parameters:
requestContext - the request context

executeRequest

protected void executeRequest()
                       throws ImsServiceException
Executes an ArcIMS service request and parses the response.

Overrides:
executeRequest in class ImsRequest
Throws:
ImsServiceException - if an exception occurs

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.