grouper-dev - Re: subject API changes
Subject: Grouper Developers Forum
List archive
- From: Jim Fox <>
- To: Chris Hyzer <>
- Cc: Jim Fox <>, "" <>
- Subject: Re: subject API changes
- Date: Sat, 31 Oct 2009 15:52:33 -0700
On Oct 31, 2009, at 1:58 PM, Chris Hyzer wrote:
What would really help me though is to get the members of a group
sorted by SubjectId. maybe "getMembersSorted()". Right now I have to
use Collections sort. A sort in the database would be quicker.
If you are using the API, you can sort or page based on db cols (I believe this is in the latest 1.4 branch, but definitely in 1.5):
QueryOptions queryOptions = new QueryOptions().sortAsc ("subject_id");
Set<Member> members = group.getMembers(Group.getDefaultList(), queryOptions);
Perfect. Thanks,
Jim
- subject API changes, Chris Hyzer, 10/30/2009
- Message not available
- RE: subject API changes, Chris Hyzer, 10/30/2009
- Re: subject API changes, Jim Fox, 10/30/2009
- RE: subject API changes, Chris Hyzer, 10/31/2009
- RE: subject API changes, Jim Fox, 10/31/2009
- RE: subject API changes, Chris Hyzer, 10/31/2009
- Re: subject API changes, Jim Fox, 10/31/2009
- RE: subject API changes, Chris Hyzer, 10/31/2009
- RE: subject API changes, Jim Fox, 10/31/2009
- RE: subject API changes, Chris Hyzer, 10/31/2009
- Re: subject API changes, Jim Fox, 10/30/2009
- RE: subject API changes, Chris Hyzer, 10/30/2009
- Message not available
Archive powered by MHonArc 2.6.16.