edu.internet2.middleware.grouper.internal.dao.hib3
Class Hib3PITRoleSetDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3PITRoleSetDAO
- All Implemented Interfaces:
- GrouperDAO, PITRoleSetDAO
public class Hib3PITRoleSetDAO
- extends Hib3DAO
- implements PITRoleSetDAO
- Author:
- shilen
$Id: Hib3PITRoleSetDAO.java 7361 2011-06-03 20:02:31Z shilen $
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hib3PITRoleSetDAO
public Hib3PITRoleSetDAO()
saveOrUpdate
public void saveOrUpdate(PITRoleSet pitRoleSet)
- Description copied from interface:
PITRoleSetDAO
- insert or update
- Specified by:
saveOrUpdate
in interface PITRoleSetDAO
- See Also:
PITRoleSetDAO.saveOrUpdate(edu.internet2.middleware.grouper.pit.PITRoleSet)
saveOrUpdate
public void saveOrUpdate(java.util.Set<PITRoleSet> pitRoleSets)
- Description copied from interface:
PITRoleSetDAO
- insert or update
- Specified by:
saveOrUpdate
in interface PITRoleSetDAO
- See Also:
PITRoleSetDAO.saveOrUpdate(java.util.Set)
delete
public void delete(PITRoleSet pitRoleSet)
- Description copied from interface:
PITRoleSetDAO
- delete
- Specified by:
delete
in interface PITRoleSetDAO
- See Also:
PITRoleSetDAO.delete(edu.internet2.middleware.grouper.pit.PITRoleSet)
reset
public static void reset(HibernateSession hibernateSession)
- reset
- Parameters:
hibernateSession
-
findById
public PITRoleSet findById(java.lang.String id)
- Specified by:
findById
in interface PITRoleSetDAO
- Returns:
- PITRoleSet
- See Also:
PITRoleSetDAO.findById(java.lang.String)
deleteInactiveRecords
public void deleteInactiveRecords(java.sql.Timestamp time)
- Description copied from interface:
PITRoleSetDAO
- Delete records that ended before the given date.
- Specified by:
deleteInactiveRecords
in interface PITRoleSetDAO
- See Also:
PITRoleSetDAO.deleteInactiveRecords(java.sql.Timestamp)
findImmediateChildren
public java.util.Set<PITRoleSet> findImmediateChildren(PITRoleSet pitRoleSet)
- Specified by:
findImmediateChildren
in interface PITRoleSetDAO
- Returns:
- pit role sets
- See Also:
PITRoleSetDAO.findImmediateChildren(edu.internet2.middleware.grouper.pit.PITRoleSet)
deleteSelfByRoleId
public void deleteSelfByRoleId(java.lang.String id)
- Specified by:
deleteSelfByRoleId
in interface PITRoleSetDAO
- See Also:
PITRoleSetDAO.deleteSelfByRoleId(java.lang.String)
findAllSelfRoleSetsByRoleId
public java.util.Set<PITRoleSet> findAllSelfRoleSetsByRoleId(java.lang.String id)
- Specified by:
findAllSelfRoleSetsByRoleId
in interface PITRoleSetDAO
- Returns:
- pit role sets
- See Also:
PITRoleSetDAO.findAllSelfRoleSetsByRoleId(java.lang.String)
findByThenHasRoleId
public java.util.Set<PITRoleSet> findByThenHasRoleId(java.lang.String id)
- Specified by:
findByThenHasRoleId
in interface PITRoleSetDAO
- Returns:
- pit role sets
- See Also:
PITRoleSetDAO.findByThenHasRoleId(java.lang.String)
findMissingActivePITRoleSets
public java.util.Set<RoleSet> findMissingActivePITRoleSets()
- Specified by:
findMissingActivePITRoleSets
in interface PITRoleSetDAO
- Returns:
- active role sets that are missing in point in time
- See Also:
PITRoleSetDAO.findMissingActivePITRoleSets()
findMissingInactivePITRoleSets
public java.util.Set<PITRoleSet> findMissingInactivePITRoleSets()
- Specified by:
findMissingInactivePITRoleSets
in interface PITRoleSetDAO
- Returns:
- active point in time role sets that should be inactive
- See Also:
PITRoleSetDAO.findMissingInactivePITRoleSets()