Package com.sforce.soap.partner

Examples of com.sforce.soap.partner.GetDeletedResult


      return result;
  }

  public DeletedResult getDeleted(String objectName, XMLGregorianCalendar startCalendar,
      XMLGregorianCalendar endCalendar) throws ResourceException {
      GetDeletedResult deleted;
      try {
        deleted = sfSoap.getDeleted(objectName, startCalendar, endCalendar, sh);
      } catch (com.sforce.soap.partner.InvalidSObjectFault e) {
        throw new ResourceException(e);
      } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
        throw new ResourceException(e);
      }
      DeletedResult result = new DeletedResult();
      result.setLatestDateCovered(deleted.getLatestDateCovered().toGregorianCalendar());
      result.setEarliestDateAvailable(deleted.getEarliestDateAvailable().toGregorianCalendar());
      List<DeletedRecord> records = deleted.getDeletedRecords();
      List<DeletedObject> resultRecords = new ArrayList<DeletedObject>();
      DeletedObject object;
      if(null !=records) {
        for (DeletedObject record : resultRecords) {
          object = new DeletedObject();
View Full Code Here

TOP

Related Classes of com.sforce.soap.partner.GetDeletedResult

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.