Class VootGetGroupsResponse
java.lang.Object
edu.internet2.middleware.grouperVoot.messages.VootResponse
edu.internet2.middleware.grouperVoot.messages.VootGetGroupsResponse
Response for get groups request.
-
Field Summary
Fields inherited from class edu.internet2.middleware.grouperVoot.messages.VootResponse
itemsPerPage, startIndex, totalResults
-
Constructor Summary
-
Method Summary
Methods inherited from class edu.internet2.middleware.grouperVoot.messages.VootResponse
getItemsPerPage, getStartIndex, getTotalResults, paginate, setItemsPerPage, setStartIndex, setTotalResults
-
Constructor Details
-
VootGetGroupsResponse
public VootGetGroupsResponse()
-
-
Method Details
-
getEntry
Get the results as array of VOOT groups.- Returns:
- the results as array of VOOT groups.
-
setEntry
Set the results passing an array of VOOT groups.- Parameters:
entry1
- the array of VOOT groups.
-
setEntry
Set the results by taking a slice of the elements in an array of VOOT groups.- Parameters:
entry1
- the array of VOOT groups.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).
-
sort
Method that sorts one array of VOOT groups.- Parameters:
entries
- the array to sort.sortBy
- the field name to be used for sorting or null of no sorting.- Returns:
- the sorted array.
-