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 TypeMethodDescriptionvoiddelete(PITAttributeDefNameSet pitAttributeDefNameSet) deletevoidDelete (won't run pre and post delete methods)longDelete records that ended before the given date.voidfindBySourceId(String id, boolean exceptionIfNotFound) findBySourceIdActive(String id, boolean exceptionIfNotFound) findBySourceIdUnique(String id, boolean exceptionIfNotFound) findImmediateChildren(PITAttributeDefNameSet pitAttributeDefNameSet) static voidreset(HibernateSession hibernateSession) resetvoidsaveOrUpdate(PITAttributeDefNameSet pitAttributeDefNameSet) insert or updatevoidsaveOrUpdate(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:PITAttributeDefNameSetDAOinsert or update- Specified by:
saveOrUpdatein interfacePITAttributeDefNameSetDAO- See Also:
-
saveOrUpdate
Description copied from interface:PITAttributeDefNameSetDAOinsert or update- Specified by:
saveOrUpdatein interfacePITAttributeDefNameSetDAO- See Also:
-
delete
Description copied from interface:PITAttributeDefNameSetDAOdelete- Specified by:
deletein interfacePITAttributeDefNameSetDAO- See Also:
-
reset
reset- Parameters:
hibernateSession-
-
findBySourceIdActive
- Specified by:
findBySourceIdActivein interfacePITAttributeDefNameSetDAO- Returns:
- PITAttributeDefNameSet
- See Also:
-
findBySourceIdUnique
- Specified by:
findBySourceIdUniquein interfacePITAttributeDefNameSetDAO- Returns:
- PITAttributeDefNameSet
- See Also:
-
findById
- Specified by:
findByIdin interfacePITAttributeDefNameSetDAO- Returns:
- PITAttributeDefNameSet
- See Also:
-
deleteInactiveRecords
Description copied from interface:PITAttributeDefNameSetDAODelete records that ended before the given date.- Specified by:
deleteInactiveRecordsin interfacePITAttributeDefNameSetDAO- Returns:
- the number of records deleted
- See Also:
-
findImmediateChildren
public Set<PITAttributeDefNameSet> findImmediateChildren(PITAttributeDefNameSet pitAttributeDefNameSet) - Specified by:
findImmediateChildrenin interfacePITAttributeDefNameSetDAO- Returns:
- pit attribute def name sets
- See Also:
-
deleteSelfByPITAttributeDefNameId
- Specified by:
deleteSelfByPITAttributeDefNameIdin interfacePITAttributeDefNameSetDAO- See Also:
-
findAllSelfPITAttributeDefNameSetsByPITAttributeDefNameId
public Set<PITAttributeDefNameSet> findAllSelfPITAttributeDefNameSetsByPITAttributeDefNameId(String id) - Specified by:
findAllSelfPITAttributeDefNameSetsByPITAttributeDefNameIdin interfacePITAttributeDefNameSetDAO- Returns:
- pit attribute def name sets
- See Also:
-
findByThenHasPITAttributeDefNameId
- Specified by:
findByThenHasPITAttributeDefNameIdin interfacePITAttributeDefNameSetDAO- Returns:
- pit attribute def name sets
- See Also:
-
findMissingActivePITAttributeDefNameSets
- Specified by:
findMissingActivePITAttributeDefNameSetsin interfacePITAttributeDefNameSetDAO- Returns:
- active attribute def name sets that are missing in point in time
- See Also:
-
findMissingInactivePITAttributeDefNameSets
- Specified by:
findMissingInactivePITAttributeDefNameSetsin interfacePITAttributeDefNameSetDAO- Returns:
- active point in time attribute def name sets that should be inactive
- See Also:
-
findActiveDuplicates
- Specified by:
findActiveDuplicatesin interfacePITAttributeDefNameSetDAO- Returns:
- source ids of records that have duplicate active entries in PIT
- See Also:
-
findBySourceId
- Specified by:
findBySourceIdin interfacePITAttributeDefNameSetDAO- Returns:
- set of PITAttributeDefNameSet
- See Also:
-
delete
Description copied from interface:PITAttributeDefNameSetDAODelete (won't run pre and post delete methods)- Specified by:
deletein interfacePITAttributeDefNameSetDAO- See Also:
-