edu.internet2.middleware.grouper.pit.finder
Class PITAttributeDefNameFinder

java.lang.Object
  extended by edu.internet2.middleware.grouper.pit.finder.PITAttributeDefNameFinder

public class PITAttributeDefNameFinder
extends Object

Find point in time attribute def names.

Author:
shilen $Id$

Constructor Summary
PITAttributeDefNameFinder()
           
 
Method Summary
static PITAttributeDefName findById(String id, boolean exceptionIfNotFound)
          Find point in time attribute def names by id.
static Set<PITAttributeDefName> findByName(String name, boolean exceptionIfNotFound, boolean orderByStartTime)
          Find point in time attribute def names by name.
static Set<PITAttributeDefName> findByName(String name, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, boolean exceptionIfNotFound, boolean orderByStartTime)
          Find point in time attribute def names by name and date ranges If the attribute def name currently exists, you must have view access to it.
static Set<PITAttributeDefName> findBySourceId(String id, boolean exceptionIfNotFound)
          Find point in time attribute def names by id.
static Set<PITAttributeDefName> findBySourceId(String id, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, boolean exceptionIfNotFound)
          Find point in time attribute def names by id and date ranges If the attribute def name currently exists, you must have view access to it.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PITAttributeDefNameFinder

public PITAttributeDefNameFinder()
Method Detail

findById

public static PITAttributeDefName findById(String id,
                                           boolean exceptionIfNotFound)
Find point in time attribute def names by id. If the attribute def name 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 attribute def name

findBySourceId

public static Set<PITAttributeDefName> findBySourceId(String id,
                                                      boolean exceptionIfNotFound)
Find point in time attribute def names by id. If the attribute def name 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 attribute def name

findByName

public static Set<PITAttributeDefName> findByName(String name,
                                                  boolean exceptionIfNotFound,
                                                  boolean orderByStartTime)
Find point in time attribute def names by name. If the attribute def name 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 attribute def name

findByName

public static Set<PITAttributeDefName> findByName(String name,
                                                  Timestamp pointInTimeFrom,
                                                  Timestamp pointInTimeTo,
                                                  boolean exceptionIfNotFound,
                                                  boolean orderByStartTime)
Find point in time attribute def names by name and date ranges If the attribute def name 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 attribute def name

findBySourceId

public static Set<PITAttributeDefName> findBySourceId(String id,
                                                      Timestamp pointInTimeFrom,
                                                      Timestamp pointInTimeTo,
                                                      boolean exceptionIfNotFound)
Find point in time attribute def names by id and date ranges If the attribute def name 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 attribute def name