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