com.esri.gpt.catalog.arcims
Class CreateFolderRequest
java.lang.Object
com.esri.gpt.catalog.arcims.ImsRequest
com.esri.gpt.catalog.arcims.PublishServiceRequest
com.esri.gpt.catalog.arcims.CreateFolderRequest
public class CreateFolderRequest
- extends PublishServiceRequest
Creates by executing a request against an ArcIMS metadata publish service.
Method Summary |
String |
executeCreate(String folderName)
Executes a PUT_METADATA request against an ArcIMS metadata publish service to create a folder. |
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 |
CreateFolderRequest
public CreateFolderRequest()
- Default constructor.
CreateFolderRequest
public CreateFolderRequest(RequestContext requestContext,
Publisher publisher)
- Constructs with an associated request context and publisher.
- Parameters:
requestContext
- the request contextpublisher
- the publisher
executeCreate
public String executeCreate(String folderName)
throws ImsServiceException
- Executes a PUT_METADATA request against an ArcIMS metadata publish service to create a folder.
The folder is created under the root.
- Parameters:
folderName
- the folder name
- Returns:
- the uuid for the folder
- Throws:
PublishServiceException
ImsServiceException
Copyright 2010 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.