Class Hib3PITAttributeDefNameSetDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3PITAttributeDefNameSetDAO
- All Implemented Interfaces:
GrouperDAO
,PITAttributeDefNameSetDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(PITAttributeDefNameSet pitAttributeDefNameSet) 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
(PITAttributeDefNameSet pitAttributeDefNameSet) static void
reset
(HibernateSession hibernateSession) resetvoid
saveOrUpdate
(PITAttributeDefNameSet pitAttributeDefNameSet) insert or updatevoid
saveOrUpdate
(Set<PITAttributeDefNameSet> pitAttributeDefNameSets) 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
-
Hib3PITAttributeDefNameSetDAO
public Hib3PITAttributeDefNameSetDAO()
-
-
Method Details
-
saveOrUpdate
Description copied from interface:PITAttributeDefNameSetDAO
insert or update- Specified by:
saveOrUpdate
in interfacePITAttributeDefNameSetDAO
- See Also:
-
saveOrUpdate
Description copied from interface:PITAttributeDefNameSetDAO
insert or update- Specified by:
saveOrUpdate
in interfacePITAttributeDefNameSetDAO
- See Also:
-
delete
Description copied from interface:PITAttributeDefNameSetDAO
delete- Specified by:
delete
in interfacePITAttributeDefNameSetDAO
- See Also:
-
reset
reset- Parameters:
hibernateSession
-
-
findBySourceIdActive
- Specified by:
findBySourceIdActive
in interfacePITAttributeDefNameSetDAO
- Returns:
- PITAttributeDefNameSet
- See Also:
-
findBySourceIdUnique
- Specified by:
findBySourceIdUnique
in interfacePITAttributeDefNameSetDAO
- Returns:
- PITAttributeDefNameSet
- See Also:
-
findById
- Specified by:
findById
in interfacePITAttributeDefNameSetDAO
- Returns:
- PITAttributeDefNameSet
- See Also:
-
deleteInactiveRecords
Description copied from interface:PITAttributeDefNameSetDAO
Delete records that ended before the given date.- Specified by:
deleteInactiveRecords
in interfacePITAttributeDefNameSetDAO
- Returns:
- the number of records deleted
- See Also:
-
findImmediateChildren
public Set<PITAttributeDefNameSet> findImmediateChildren(PITAttributeDefNameSet pitAttributeDefNameSet) - Specified by:
findImmediateChildren
in interfacePITAttributeDefNameSetDAO
- Returns:
- pit attribute def name sets
- See Also:
-
deleteSelfByPITAttributeDefNameId
- Specified by:
deleteSelfByPITAttributeDefNameId
in interfacePITAttributeDefNameSetDAO
- See Also:
-
findAllSelfPITAttributeDefNameSetsByPITAttributeDefNameId
public Set<PITAttributeDefNameSet> findAllSelfPITAttributeDefNameSetsByPITAttributeDefNameId(String id) - Specified by:
findAllSelfPITAttributeDefNameSetsByPITAttributeDefNameId
in interfacePITAttributeDefNameSetDAO
- Returns:
- pit attribute def name sets
- See Also:
-
findByThenHasPITAttributeDefNameId
- Specified by:
findByThenHasPITAttributeDefNameId
in interfacePITAttributeDefNameSetDAO
- Returns:
- pit attribute def name sets
- See Also:
-
findMissingActivePITAttributeDefNameSets
- Specified by:
findMissingActivePITAttributeDefNameSets
in interfacePITAttributeDefNameSetDAO
- Returns:
- active attribute def name sets that are missing in point in time
- See Also:
-
findMissingInactivePITAttributeDefNameSets
- Specified by:
findMissingInactivePITAttributeDefNameSets
in interfacePITAttributeDefNameSetDAO
- Returns:
- active point in time attribute def name sets that should be inactive
- See Also:
-
findActiveDuplicates
- Specified by:
findActiveDuplicates
in interfacePITAttributeDefNameSetDAO
- Returns:
- source ids of records that have duplicate active entries in PIT
- See Also:
-
findBySourceId
- Specified by:
findBySourceId
in interfacePITAttributeDefNameSetDAO
- Returns:
- set of PITAttributeDefNameSet
- See Also:
-
delete
Description copied from interface:PITAttributeDefNameSetDAO
Delete (won't run pre and post delete methods)- Specified by:
delete
in interfacePITAttributeDefNameSetDAO
- See Also:
-