Package com.esri.gpt.catalog.arcims

Examples of com.esri.gpt.catalog.arcims.TransferOwnershipRequest


*/
private void executeTransfer(ImsMetadataAdminDao adminDao, StringSet uuids,
    String newOwnerName, String newFolderUuid)
  throws ImsServiceException, SQLException {
  ActionResult result = getActionResult();
  TransferOwnershipRequest imsRequest;
  if ((newOwnerName.length() > 0) && (newFolderUuid.length() > 0)) {
    imsRequest = new TransferOwnershipRequest(getRequestContext(),getPublisher());
    for (String sUuid : uuids) {
      boolean bOk = imsRequest.executeTransfer(sUuid,newOwnerName,newFolderUuid);
      if (bOk) {
        int nMod = (result.getNumberOfRecordsModified() + 1);
        result.setNumberOfRecordsModified(nMod);
      }
    }
View Full Code Here

TOP

Related Classes of com.esri.gpt.catalog.arcims.TransferOwnershipRequest

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.