Class Hib3PITAttributeDefDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3PITAttributeDefDAO
- All Implemented Interfaces:
GrouperDAO
,PITAttributeDefDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(PITAttributeDef pitAttributeDef) deletevoid
Delete (won't run pre and post delete methods)long
Delete records that ended before the given date.findByIds
(Collection<String> ids) findByName
(String name, boolean orderByStartTime) findBySourceId
(String id, boolean exceptionIfNotFound) findBySourceIdActive
(String id, boolean exceptionIfNotFound) findBySourceIdIndexActive
(long sourceIdIndex, boolean exceptionIfNotFound) findBySourceIdUnique
(String id, boolean exceptionIfNotFound) static void
reset
(HibernateSession hibernateSession) resetvoid
saveOrUpdate
(PITAttributeDef pitAttributeDef) insert or updatevoid
saveOrUpdate
(Set<PITAttributeDef> pitAttributeDefs) 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
-
Hib3PITAttributeDefDAO
public Hib3PITAttributeDefDAO()
-
-
Method Details
-
saveOrUpdate
Description copied from interface:PITAttributeDefDAO
insert or update- Specified by:
saveOrUpdate
in interfacePITAttributeDefDAO
- See Also:
-
saveOrUpdate
Description copied from interface:PITAttributeDefDAO
insert or update- Specified by:
saveOrUpdate
in interfacePITAttributeDefDAO
- See Also:
-
delete
Description copied from interface:PITAttributeDefDAO
delete- Specified by:
delete
in interfacePITAttributeDefDAO
- See Also:
-
reset
reset- Parameters:
hibernateSession
-
-
findBySourceIdActive
- Specified by:
findBySourceIdActive
in interfacePITAttributeDefDAO
- Returns:
- PITAttributeDef
- See Also:
-
findBySourceIdUnique
- Specified by:
findBySourceIdUnique
in interfacePITAttributeDefDAO
- Returns:
- PITAttributeDef
- See Also:
-
findBySourceId
- Specified by:
findBySourceId
in interfacePITAttributeDefDAO
- Returns:
- set of PITAttributeDef
- See Also:
-
findById
- Specified by:
findById
in interfacePITAttributeDefDAO
- Returns:
- PITAttributeDef
- See Also:
-
findByIds
- Specified by:
findByIds
in interfacePITAttributeDefDAO
- Returns:
- map of pit attribute defs keyed by id
-
findBySourceIdIndexActive
- Specified by:
findBySourceIdIndexActive
in interfacePITAttributeDefDAO
- Returns:
- PITAttributeDef
-
deleteInactiveRecords
Description copied from interface:PITAttributeDefDAO
Delete records that ended before the given date.- Specified by:
deleteInactiveRecords
in interfacePITAttributeDefDAO
- Returns:
- the number of records deleted
- See Also:
-
findByName
- Specified by:
findByName
in interfacePITAttributeDefDAO
- Returns:
- set of pit attribute defs
- See Also:
-
findByPITStemId
- Specified by:
findByPITStemId
in interfacePITAttributeDefDAO
- Returns:
- set of PITAttributeDef
- See Also:
-
findMissingActivePITAttributeDefs
- Specified by:
findMissingActivePITAttributeDefs
in interfacePITAttributeDefDAO
- Returns:
- active attribute defs that are missing in point in time
- See Also:
-
findMissingInactivePITAttributeDefs
- Specified by:
findMissingInactivePITAttributeDefs
in interfacePITAttributeDefDAO
- Returns:
- active point in time attribute defs that should be inactive
- See Also:
-
findActiveDuplicates
- Specified by:
findActiveDuplicates
in interfacePITAttributeDefDAO
- Returns:
- source ids of records that have duplicate active entries in PIT
- See Also:
-
delete
Description copied from interface:PITAttributeDefDAO
Delete (won't run pre and post delete methods)- Specified by:
delete
in interfacePITAttributeDefDAO
- See Also:
-