Class VootLogic
java.lang.Object
edu.internet2.middleware.grouperVoot.VootLogic
Business logic to implement the VOOT protocol.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic VootGetGroupsResponseGet the groups that a person is in.static VootGetGroupsResponseGet the groups that a person is in, searching by their name.static VootGetMembersResponsegetMembers(Subject subject, VootGroup vootGroup, String sortBy, int start, int count) Get the members for a group based on the VOOT group.
- 
Constructor Details- 
VootLogicpublic VootLogic()
 
- 
- 
Method Details- 
getMemberspublic static VootGetMembersResponse getMembers(Subject subject, VootGroup vootGroup, String sortBy, int start, int count) Get the members for a group based on the VOOT group.- Parameters:
- subject- the subject querying the VOOT interface.
- vootGroup- the group to be looked to find members.
- sortBy- the field name to be used for sorting or null of no sorting.
- start- the first element in the result set (0 means start from beginning).
- count- the number of elements in the result set (-1 or 0 means find all).
- Returns:
- the response to be sent back to user in JSON format.
 
- 
getGroupsGet the groups that a person is in.- Parameters:
- subject- the subject representing the person used for search.
- sortBy- the field name to be used for sorting or null of no sorting.
- start- the first element in the result set (0 means start from beginning).
- count- the number of elements in the result set (-1 or 0 means find all).
- Returns:
- the groups the subject passed as a parameter is part of.
 
- 
getGroupsGet the groups that a person is in, searching by their name.- Parameters:
- search- the search term to be searched in group name.
- sortBy- the field name to be used for sorting or null of no sorting.
- start- the first element in the result set (0 means start from beginning).
- count- the number of elements in the result set (-1 or 0 means find all).
- Returns:
- the groups found satisfying search criteria.
 
 
-