Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Pagination in Web services

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Pagination in Web services


Chronological Thread 
  • From: "Katika,Shanthi Swaroop" <>
  • To: "Hyzer, Chris" <>, Vivek Sachdeva <>
  • Cc: Grouper Users <>
  • Subject: Re: [grouper-users] Pagination in Web services
  • Date: Fri, 20 May 2016 14:45:02 +0000
  • Accept-language: en-US

I found the way to do it, by specifying a stemName in the parameters, I can search only within the members of the stem specified. 

For example,  by including stemName:aStem1:aStem2, it will only search for within the member groups of aStem1:aStem2. 

Best,
Swaroop

From: temp <>
Date: Thursday, May 19, 2016 at 1:46 PM
To: "Hyzer, Chris" <>, Vivek Sachdeva <>
Cc: Grouper Users <>
Subject: Re: [grouper-users] Pagination in Web services

Thanks, Vivek! It pointed me in the right direction. So far, I’m able to use pagination to get members and groups through the Web Services API. I’m working on making it work for other API Calls. 

I’m also working on searching for groups based on partial name of the groups using web services API calls. For example: I’m currently able to retrieve groups by specifying the exact group name(FIND_BY_GROUP_NAME_EXACT)  or approximate name(FIND_BY_GROUP_NAME_APPROXIMATE) .

But is there a way to get only group1 and not group2 from the below example using regex or other means? Are there any examples that I can look into?
group1:    aStem1:aStem2:<unknown Stem name>:ExampleGroup
group2:    aStem1:ExampleGroup

      
Best,
Swaroop




From: "Hyzer, Chris" <>
Date: Thursday, May 19, 2016 at 3:24 PM
To: Vivek Sachdeva <>, temp <>
Cc: Grouper Users <>
Subject: RE: [grouper-users] Pagination in Web services

Yes, thanks Vivek.  Members has paging too.  I don’t see it for memberships, if you need it and cant find it for that please add a jira or let us know

 

Thanks

Chris

 

 

From: [] On Behalf Of Vivek Sachdeva
Sent: Thursday, May 19, 2016 11:22 AM
To: Swaroop Katika <>
Cc: Grouper Users <>
Subject: Re: [grouper-users] Pagination in Web services

 

Hi Swaroop,

 

Looks like it's possible. 

 

 

You will need to call setPageNumber and setPageSize on WsQueryFilter object.

 

Thanks,

Vivek

 

On Thu, May 19, 2016 at 8:00 AM, Swaroop Katika <> wrote:

Hi,

Is it possible to use pagination in Grouper Web services while making API
calls for retrieving list of Groups, Group details and members, membership
details?



Best,
Swaroop

 




Archive powered by MHonArc 2.6.16.

Top of Page