edu.internet2.middleware.grouper.pit
Class PITUtils

java.lang.Object
  extended by edu.internet2.middleware.grouper.pit.PITUtils

public class PITUtils
extends Object

Author:
shilen $Id$

Constructor Summary
PITUtils()
           
 
Method Summary
static 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 void 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PITUtils

public PITUtils()
Method Detail

deleteInactiveRecords

public static void deleteInactiveRecords(Date date,
                                         boolean printOutput)
Delete point in time records that ended before the given date.

Parameters:
date -
printOutput -

deleteInactiveGroup

public static void deleteInactiveGroup(String groupName)
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

public static void deleteInactiveGroup(PITGroup pitGroup)
Delete point in time group.

Parameters:
pitGroup -

deleteInactiveStem

public static void deleteInactiveStem(String stemName,
                                      boolean printOutput)
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

public static void deleteInactiveStem(PITStem pitStem,
                                      boolean printOutput)
Delete point in time stem.

Parameters:
pitStem -
printOutput -

deleteInactiveObjectsInStem

public static void deleteInactiveObjectsInStem(String stemName,
                                               boolean printOutput)
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

public static void deleteInactiveObjectsInStem(PITStem pitStem,
                                               boolean printOutput)
Delete point in time objects in a stem. This includes child stems, groups, attribute def names, and attribute defs.

Parameters:
pitStem -
printOutput -