Search in sources :

Example 1 with GetDeleted

use of com.salesforce.soap.partner.GetDeleted in project tdi-studio-se by Talend.

the class SforceManagementImpl method getDeleted.

@Override
public GetDeletedResult getDeleted(String objectType, Calendar startDate, Calendar endDate) throws Exception {
    GetDeleted getDeleted = new GetDeleted();
    getDeleted.setSObjectType(objectType);
    getDeleted.setStartDate(startDate);
    getDeleted.setEndDate(endDate);
    GetDeletedResult result = sforceConn.getDeleted(getDeleted).getResult();
    // }
    return result;
}
Also used : GetDeletedResult(com.salesforce.soap.partner.GetDeletedResult) GetDeleted(com.salesforce.soap.partner.GetDeleted)

Aggregations

GetDeleted (com.salesforce.soap.partner.GetDeleted)1 GetDeletedResult (com.salesforce.soap.partner.GetDeletedResult)1