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;
}
Aggregations