Examples of executeDelete()


Examples of com.esri.gpt.catalog.arcims.DeleteMetadataRequest.executeDelete()

    for (Map.Entry<String,String> entry: sourceURIs) {
      if (Thread.currentThread().isInterrupted()) break;
      String uri = entry.getKey();
      String uuid = entry.getValue();
      LOGGER.finest("Deleting uuid="+uuid+", sourceuri="+uri);
      boolean bOk = delRequest.executeDelete(uuid);
      if (bOk) {
        listener.onRecord(uri, uuid);
      }
    }
  }
View Full Code Here

Examples of com.esri.gpt.catalog.arcims.DeleteMetadataRequest.executeDelete()

    throws ImsServiceException, SQLException, CatalogIndexException {
  ActionResult result = getActionResult();
  DeleteMetadataRequest imsRequest;
  imsRequest = new DeleteMetadataRequest(getRequestContext(), getPublisher());
  for (String sUuid : uuids) {
    boolean bOk = imsRequest.executeDelete(sUuid);
    if (bOk) {
      int nMod = (result.getNumberOfRecordsModified() + 1);
      result.setNumberOfRecordsModified(nMod);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.