use of com.salesforce.soap.partner.Retrieve in project tdi-studio-se by Talend.
the class SforceManagementImpl method retrieve.
@Override
public SObject[] retrieve(ID[] ids, String objectType, String fieldsList) throws Exception {
Retrieve retrieve = new Retrieve();
retrieve.setFieldList(fieldsList);
retrieve.setIds(ids);
retrieve.setSObjectType(objectType);
SObject[] results = sforceConn.retrieve(retrieve).getResult();
// }
return results;
}
Aggregations