Search in sources :

Example 1 with GetUpdated

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

the class SforceManagementImpl method getUpdated.

@Override
public ID[] getUpdated(String objectType, Calendar startDate, Calendar endDate) throws Exception {
    GetUpdated getUpdated = new GetUpdated();
    getUpdated.setSObjectType(objectType);
    getUpdated.setStartDate(startDate);
    getUpdated.setEndDate(endDate);
    GetUpdatedResult result = sforceConn.getUpdated(getUpdated).getResult();
    ID[] ids = result.getIds();
    return ids;
}
Also used : GetUpdated(com.salesforce.soap.partner.GetUpdated) GetUpdatedResult(com.salesforce.soap.partner.GetUpdatedResult) ID(com.salesforce.soap.partner.ID)

Aggregations

GetUpdated (com.salesforce.soap.partner.GetUpdated)1 GetUpdatedResult (com.salesforce.soap.partner.GetUpdatedResult)1 ID (com.salesforce.soap.partner.ID)1