Class Hib3PITAttributeAssignValueDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3PITAttributeAssignValueDAO
- All Implemented Interfaces:
GrouperDAO
,PITAttributeAssignValueDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(PITAttributeAssignValue pitAttributeAssignValue) deletevoid
Delete (won't run pre and post delete methods)long
Delete records that ended before the given date.findByPITAttributeAssignId
(String attributeAssignId, QueryOptions queryOptions) Find values by point in time attribute assign idfindBySourceId
(String id, boolean exceptionIfNotFound) findBySourceIdActive
(String id, boolean exceptionIfNotFound) findBySourceIdUnique
(String id, boolean exceptionIfNotFound) static void
reset
(HibernateSession hibernateSession) resetvoid
saveOrUpdate
(PITAttributeAssignValue pitAttributeAssignValue) insert or updatevoid
saveOrUpdate
(Set<PITAttributeAssignValue> pitAttributeAssignValues) insert or updatevoid
updatePITAttributeAssignId
(String oldId, String newId) Methods 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
-
Hib3PITAttributeAssignValueDAO
public Hib3PITAttributeAssignValueDAO()
-
-
Method Details
-
saveOrUpdate
Description copied from interface:PITAttributeAssignValueDAO
insert or update- Specified by:
saveOrUpdate
in interfacePITAttributeAssignValueDAO
- See Also:
-
saveOrUpdate
Description copied from interface:PITAttributeAssignValueDAO
insert or update- Specified by:
saveOrUpdate
in interfacePITAttributeAssignValueDAO
- See Also:
-
delete
Description copied from interface:PITAttributeAssignValueDAO
delete- Specified by:
delete
in interfacePITAttributeAssignValueDAO
- See Also:
-
reset
reset- Parameters:
hibernateSession
-
-
findBySourceIdActive
- Specified by:
findBySourceIdActive
in interfacePITAttributeAssignValueDAO
- Returns:
- PITAttributeAssignValue
- See Also:
-
findBySourceIdUnique
- Specified by:
findBySourceIdUnique
in interfacePITAttributeAssignValueDAO
- Returns:
- PITAttributeAssignValue
- See Also:
-
findById
- Specified by:
findById
in interfacePITAttributeAssignValueDAO
- Returns:
- PITAttributeAssignValue
- See Also:
-
updatePITAttributeAssignId
- Specified by:
updatePITAttributeAssignId
in interfacePITAttributeAssignValueDAO
- See Also:
-
findActiveByPITAttributeAssignId
- Specified by:
findActiveByPITAttributeAssignId
in interfacePITAttributeAssignValueDAO
- Returns:
- set of PITAttributeAssignValue
- See Also:
-
deleteInactiveRecords
Description copied from interface:PITAttributeAssignValueDAO
Delete records that ended before the given date.- Specified by:
deleteInactiveRecords
in interfacePITAttributeAssignValueDAO
- Returns:
- number of records deleted
- See Also:
-
findByPITAttributeAssignId
public Set<PITAttributeAssignValue> findByPITAttributeAssignId(String attributeAssignId, QueryOptions queryOptions) Description copied from interface:PITAttributeAssignValueDAO
Find values by point in time attribute assign id- Specified by:
findByPITAttributeAssignId
in interfacePITAttributeAssignValueDAO
- Returns:
- set of values
- See Also:
-
findMissingActivePITAttributeAssignValues
- Specified by:
findMissingActivePITAttributeAssignValues
in interfacePITAttributeAssignValueDAO
- Returns:
- active attribute assign values that are missing in point in time
- See Also:
-
findMissingInactivePITAttributeAssignValues
- Specified by:
findMissingInactivePITAttributeAssignValues
in interfacePITAttributeAssignValueDAO
- Returns:
- active point in time attribute assign values that should be inactive
- See Also:
-
findActiveDuplicates
- Specified by:
findActiveDuplicates
in interfacePITAttributeAssignValueDAO
- Returns:
- source ids of records that have duplicate active entries in PIT
- See Also:
-
findBySourceId
- Specified by:
findBySourceId
in interfacePITAttributeAssignValueDAO
- Returns:
- set of PITAttributeAssignValue
- See Also:
-
delete
Description copied from interface:PITAttributeAssignValueDAO
Delete (won't run pre and post delete methods)- Specified by:
delete
in interfacePITAttributeAssignValueDAO
- See Also:
-