Class PITUtils
java.lang.Object
edu.internet2.middleware.grouper.pit.PITUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
deleteInactiveGroup
(PITGroup pitGroup) Delete point in time group.static void
deleteInactiveGroup
(String groupName) Delete point in time group by group name.static void
deleteInactiveObjectsInStem
(PITStem pitStem, boolean printOutput) Delete point in time objects in a stem.static void
deleteInactiveObjectsInStem
(String stemName, boolean printOutput) Delete point in time objects in a stem by stem name.static long
deleteInactiveRecords
(Date date, boolean printOutput) Delete point in time records that ended before the given date.static void
deleteInactiveStem
(PITStem pitStem, boolean printOutput) Delete point in time stem.static void
deleteInactiveStem
(String stemName, boolean printOutput) Delete point in time stem by stem name.
-
Constructor Details
-
PITUtils
public PITUtils()
-
-
Method Details
-
deleteInactiveRecords
Delete point in time records that ended before the given date.- Parameters:
date
-printOutput
-- Returns:
- the number of records
-
deleteInactiveGroup
Delete point in time group by group name. If multiple inactive groups exist by this group name, they will all be deleted.- Parameters:
groupName
-
-
deleteInactiveGroup
Delete point in time group.- Parameters:
pitGroup
-
-
deleteInactiveStem
Delete point in time stem by stem name. If multiple inactive stems exist by this stem name, they will all be deleted.- Parameters:
stemName
-printOutput
-
-
deleteInactiveStem
Delete point in time stem.- Parameters:
pitStem
-printOutput
-
-
deleteInactiveObjectsInStem
Delete point in time objects in a stem by stem name. This includes child stems, groups, attribute def names, and attribute defs. If multiple stems exist by this stem name, inactive objects in all of them will be deleted.- Parameters:
stemName
-printOutput
-
-
deleteInactiveObjectsInStem
Delete point in time objects in a stem. This includes child stems, groups, attribute def names, and attribute defs.- Parameters:
pitStem
-printOutput
-
-