com.esri.gpt.catalog.arcims
Class TransferOwnershipRequest
java.lang.Object
com.esri.gpt.catalog.arcims.ImsRequest
com.esri.gpt.catalog.arcims.PublishServiceRequest
com.esri.gpt.catalog.arcims.TransferOwnershipRequest
public class TransferOwnershipRequest
- extends PublishServiceRequest
Transfers metadata ownership by executing requests against an ArcIMS
metadata publish service.
Ownership is transfered, and the document is moved to the folder
of the new owner.
| 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 |
TransferOwnershipRequest
public TransferOwnershipRequest()
- Default constructor.
TransferOwnershipRequest
public TransferOwnershipRequest(RequestContext requestContext,
Publisher publisher)
- Constructs with an associated request context and publisher.
- Parameters:
requestContext - the request contextpublisher - the publisher
executeTransfer
public boolean executeTransfer(String docUuid,
String newOwner,
String newFolderUuid)
throws ImsServiceException
- Transfers ownsership for a metadata document.
- Parameters:
docUuid - the metatata document uuid of the record for which ownsership will be changednewOwner - the new owner for the recordnewFolderUuid - the folder id for the new owner
- Returns:
- true if the action status was ok
- Throws:
PublishServiceException - if an exception occurs
ImsServiceException
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.