Class PITGroupFinder
java.lang.Object
edu.internet2.middleware.grouper.pit.finder.PITGroupFinder
Find point in time groups.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PITGroup
Find point in time groups by id.findByName
(String name, boolean exceptionIfNotFound, boolean orderByStartTime) Find point in time groups by name.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.findBySourceId
(String id, boolean exceptionIfNotFound) Find point in time groups by id.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.static PITGroup
findMostRecentByName
(String name, boolean exceptionIfNotFound) Find the most recent point in time group by name.
-
Constructor Details
-
PITGroupFinder
public PITGroupFinder()
-
-
Method Details
-
findById
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
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
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
-