Class VootGetGroupsResponse

java.lang.Object
edu.internet2.middleware.grouperVoot.messages.VootResponse
edu.internet2.middleware.grouperVoot.messages.VootGetGroupsResponse

public class VootGetGroupsResponse extends VootResponse
Response for get groups request.
  • Constructor Details

    • VootGetGroupsResponse

      public VootGetGroupsResponse()
  • Method Details

    • getEntry

      public VootGroup[] getEntry()
      Get the results as array of VOOT groups.
      Returns:
      the results as array of VOOT groups.
    • setEntry

      public void setEntry(VootGroup[] entry1)
      Set the results passing an array of VOOT groups.
      Parameters:
      entry1 - the array of VOOT groups.
    • setEntry

      public void setEntry(VootGroup[] entry1, int start, int count)
      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

      public static VootGroup[] sort(VootGroup[] entries, String sortBy)
      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.