Class PITGroupFinder

java.lang.Object
edu.internet2.middleware.grouper.pit.finder.PITGroupFinder

public class PITGroupFinder extends Object
Find point in time groups.
  • Constructor Details

    • PITGroupFinder

      public PITGroupFinder()
  • Method Details

    • findById

      public static PITGroup findById(String id, boolean exceptionIfNotFound)
      Find point in time groups by id. If the group currently exists, you must have view access to it. If it has been deleted, you must be wheel or root.
      Parameters:
      id -
      exceptionIfNotFound -
      Returns:
      pit group
    • findBySourceId

      public static Set<PITGroup> findBySourceId(String id, boolean exceptionIfNotFound)
      Find point in time groups by id. If the group currently exists, you must have view access to it. If it has been deleted, you must be wheel or root.
      Parameters:
      id -
      exceptionIfNotFound -
      Returns:
      set of pit group
    • findByName

      public static Set<PITGroup> findByName(String name, boolean exceptionIfNotFound, boolean orderByStartTime)
      Find point in time groups by name. If the group currently exists, you must have view access to it. If it has been deleted, you must be wheel or root.
      Parameters:
      name -
      exceptionIfNotFound -
      orderByStartTime -
      Returns:
      set of pit group
    • findMostRecentByName

      public static PITGroup findMostRecentByName(String name, boolean exceptionIfNotFound)
      Find the most recent point in time group by name. If the group currently exists, you must have view access to it. If it has been deleted, you must be wheel or root.
      Parameters:
      name -
      exceptionIfNotFound -
      Returns:
      pit group
    • findByName

      public static Set<PITGroup> findByName(String name, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, boolean exceptionIfNotFound, boolean orderByStartTime)
      Find point in time groups by name and date ranges If the group currently exists, you must have view access to it. If it has been deleted, you must be wheel or root.
      Parameters:
      name -
      pointInTimeFrom -
      pointInTimeTo -
      exceptionIfNotFound -
      orderByStartTime -
      Returns:
      set of pit group
    • findBySourceId

      public static Set<PITGroup> findBySourceId(String id, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, boolean exceptionIfNotFound)
      Find point in time groups by id and date ranges If the group currently exists, you must have view access to it. If it has been deleted, you must be wheel or root.
      Parameters:
      id -
      pointInTimeFrom -
      pointInTimeTo -
      exceptionIfNotFound -
      Returns:
      set of pit group