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

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

public class PITAttributeDefFinder
extends Object

Find point in time attribute defs.

Author:
shilen $Id$

Constructor Summary
PITAttributeDefFinder()
           
 
Method Summary
static PITAttributeDef findById(String id, boolean exceptionIfNotFound)
          Find point in time attribute defs by id.
static Set<PITAttributeDef> findByName(String name, boolean exceptionIfNotFound, boolean orderByStartTime)
          Find point in time attribute defs by name.
static Set<PITAttributeDef> findByName(String name, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, boolean exceptionIfNotFound, boolean orderByStartTime)
          Find point in time attribute defs by name and date ranges If the attribute def currently exists, you must have view access to it.
static Set<PITAttributeDef> findBySourceId(String id, boolean exceptionIfNotFound)
          Find point in time attribute defs by id.
static Set<PITAttributeDef> findBySourceId(String id, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, boolean exceptionIfNotFound)
          Find point in time attribute defs by id and date ranges If the attribute def 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

PITAttributeDefFinder

public PITAttributeDefFinder()
Method Detail

findById

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

findBySourceId

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

findByName

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

findByName

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

findBySourceId

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