You need to sign in to do that
Don't have an account?

Generalizing Objects in Salesforce
Hi,
I am trying tp develop one Pagination framework along with Filtering and Sorting Utility incorporated in it. I need to make it generalized for any sObject.
Say, i'm using it for Product2 object andthus one method returns List<Product2>. In another case, sObject is OpportunityProducts(some custom object) and hence, the method should return List<OpportuinityProducts>..
Can anyone please tell me how to achieve this?
Thanks in advance,
Suvra

Nice idea...:)