Search in sources :

Example 1 with Retrieve

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;
}
Also used : Retrieve(com.salesforce.soap.partner.Retrieve) DescribeSObject(com.salesforce.soap.partner.DescribeSObject) SObject(com.salesforce.soap.partner.sobject.SObject)

Aggregations

DescribeSObject (com.salesforce.soap.partner.DescribeSObject)1 Retrieve (com.salesforce.soap.partner.Retrieve)1 SObject (com.salesforce.soap.partner.sobject.SObject)1