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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(PITRoleSet pitRoleSet) deletevoid
Delete (won't run pre and post delete methods)long
Delete records that ended before the given date.void
findBySourceId
(String id, boolean exceptionIfNotFound) findBySourceIdActive
(String id, boolean exceptionIfNotFound) findBySourceIdUnique
(String id, boolean exceptionIfNotFound) findImmediateChildren
(PITRoleSet pitRoleSet) static void
reset
(HibernateSession hibernateSession) resetvoid
saveOrUpdate
(PITRoleSet pitRoleSet) insert or updatevoid
saveOrUpdate
(Set<PITRoleSet> pitRoleSets) insert or updateMethods inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
evict, evictEntity, evictQueries, getConfiguration, getConfiguration, getSessionFactory, getSessionFactory, hibernateInitted, initHibernateIfNotInitted, initHibernateIfNotInitted, resourceNameFromClassName, session, session
-
Constructor Details
-
Hib3PITRoleSetDAO
public Hib3PITRoleSetDAO()
-
-
Method Details
-
saveOrUpdate
Description copied from interface:PITRoleSetDAO
insert or update- Specified by:
saveOrUpdate
in interfacePITRoleSetDAO
- See Also:
-
saveOrUpdate
Description copied from interface:PITRoleSetDAO
insert or update- Specified by:
saveOrUpdate
in interfacePITRoleSetDAO
- See Also:
-
delete
Description copied from interface:PITRoleSetDAO
delete- Specified by:
delete
in interfacePITRoleSetDAO
- See Also:
-
reset
reset- Parameters:
hibernateSession
-
-
findBySourceIdActive
- Specified by:
findBySourceIdActive
in interfacePITRoleSetDAO
- Returns:
- PITRoleSet
- See Also:
-
findBySourceIdUnique
- Specified by:
findBySourceIdUnique
in interfacePITRoleSetDAO
- Returns:
- PITRoleSet
- See Also:
-
findById
- Specified by:
findById
in interfacePITRoleSetDAO
- Returns:
- PITRoleSet
- See Also:
-
deleteInactiveRecords
Description copied from interface:PITRoleSetDAO
Delete records that ended before the given date.- Specified by:
deleteInactiveRecords
in interfacePITRoleSetDAO
- See Also:
-
findImmediateChildren
- Specified by:
findImmediateChildren
in interfacePITRoleSetDAO
- Returns:
- pit role sets
- See Also:
-
deleteSelfByPITRoleId
- Specified by:
deleteSelfByPITRoleId
in interfacePITRoleSetDAO
- See Also:
-
edu.internet2.middleware.grouper.internal.dao.PITRoleSetDAO#findAllByPITOwnerAndPITMemberAndPITField(java.lang.String)
-
findAllSelfPITRoleSetsByPITRoleId
- Specified by:
findAllSelfPITRoleSetsByPITRoleId
in interfacePITRoleSetDAO
- Returns:
- pit role sets
- See Also:
-
findByThenHasPITRoleId
- Specified by:
findByThenHasPITRoleId
in interfacePITRoleSetDAO
- Returns:
- pit role sets
- See Also:
-
findMissingActivePITRoleSets
- Specified by:
findMissingActivePITRoleSets
in interfacePITRoleSetDAO
- Returns:
- active role sets that are missing in point in time
- See Also:
-
findMissingInactivePITRoleSets
- Specified by:
findMissingInactivePITRoleSets
in interfacePITRoleSetDAO
- Returns:
- active point in time role sets that should be inactive
- See Also:
-
findActiveDuplicates
- Specified by:
findActiveDuplicates
in interfacePITRoleSetDAO
- Returns:
- source ids of records that have duplicate active entries in PIT
- See Also:
-
findBySourceId
- Specified by:
findBySourceId
in interfacePITRoleSetDAO
- Returns:
- set of PITRoleSet
- See Also:
-
delete
Description copied from interface:PITRoleSetDAO
Delete (won't run pre and post delete methods)- Specified by:
delete
in interfacePITRoleSetDAO
- See Also:
-