Class Hib3PITGroupSetDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3PITGroupSetDAO
- All Implemented Interfaces:
GrouperDAO
,PITGroupSetDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(PITGroupSet pitGroupSet) deletevoid
Delete (won't run pre and post delete methods)long
Delete records that ended before the given date.void
findActiveImmediateByPITOwnerAndPITMemberAndPITField
(String ownerId, String memberId, String fieldId) findActiveImmediateChildByParentAndMemberPITGroup
(PITGroupSet parentPITGroupSet, String memberGroupId) findAllActiveByMemberPITGroup
(String groupId) findAllActiveByPITGroupOwnerAndPITField
(String groupId, PITField field) findAllActiveChildren
(PITGroupSet pitGroupSet) findAllByMemberPITGroup
(String groupId) findAllImmediateByPITOwnerAndPITMemberAndPITField
(String ownerId, String memberId, String fieldId) findBySourceId
(String id, boolean exceptionIfNotFound) findBySourceIdActive
(String id, boolean exceptionIfNotFound) findBySourceIdUnique
(String id, boolean exceptionIfNotFound) findImmediateChildren
(PITGroupSet groupSet) findSelfPITGroupSet
(String ownerId, String fieldId, boolean activeOnly) static void
reset
(HibernateSession hibernateSession) resetvoid
saveBatch
(Set<PITGroupSet> pitGroupSets) insert a batch of pit group set objectsvoid
saveOrUpdate
(PITGroupSet pitGroupSet) insert or updatevoid
saveOrUpdate
(Set<PITGroupSet> pitGroupSets) 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
-
Hib3PITGroupSetDAO
public Hib3PITGroupSetDAO()
-
-
Method Details
-
saveOrUpdate
Description copied from interface:PITGroupSetDAO
insert or update- Specified by:
saveOrUpdate
in interfacePITGroupSetDAO
- See Also:
-
saveOrUpdate
Description copied from interface:PITGroupSetDAO
insert or update- Specified by:
saveOrUpdate
in interfacePITGroupSetDAO
- See Also:
-
delete
Description copied from interface:PITGroupSetDAO
delete- Specified by:
delete
in interfacePITGroupSetDAO
- See Also:
-
saveBatch
Description copied from interface:PITGroupSetDAO
insert a batch of pit group set objects- Specified by:
saveBatch
in interfacePITGroupSetDAO
- See Also:
-
reset
reset- Parameters:
hibernateSession
-
-
findBySourceIdActive
- Specified by:
findBySourceIdActive
in interfacePITGroupSetDAO
- Returns:
- PITGroupSet
- See Also:
-
findBySourceIdUnique
- Specified by:
findBySourceIdUnique
in interfacePITGroupSetDAO
- Returns:
- PITGroupSet
- See Also:
-
findById
- Specified by:
findById
in interfacePITGroupSetDAO
- Returns:
- PITGroupSet
- See Also:
-
findSelfPITGroupSet
- Specified by:
findSelfPITGroupSet
in interfacePITGroupSetDAO
- Returns:
- pit group set
- See Also:
-
findActiveImmediateByPITOwnerAndPITMemberAndPITField
public PITGroupSet findActiveImmediateByPITOwnerAndPITMemberAndPITField(String ownerId, String memberId, String fieldId) - Specified by:
findActiveImmediateByPITOwnerAndPITMemberAndPITField
in interfacePITGroupSetDAO
- Returns:
- pit group set
- See Also:
-
findAllImmediateByPITOwnerAndPITMemberAndPITField
public Set<PITGroupSet> findAllImmediateByPITOwnerAndPITMemberAndPITField(String ownerId, String memberId, String fieldId) - Specified by:
findAllImmediateByPITOwnerAndPITMemberAndPITField
in interfacePITGroupSetDAO
- Returns:
- pit group sets
- See Also:
-
findAllActiveByPITGroupOwnerAndPITField
- Specified by:
findAllActiveByPITGroupOwnerAndPITField
in interfacePITGroupSetDAO
- Returns:
- pit group sets
- See Also:
-
findAllActiveByMemberPITGroup
- Specified by:
findAllActiveByMemberPITGroup
in interfacePITGroupSetDAO
- Returns:
- pit group sets
- See Also:
-
findAllByMemberPITGroup
- Specified by:
findAllByMemberPITGroup
in interfacePITGroupSetDAO
- Returns:
- pit group sets
- See Also:
-
findAllActiveChildren
- Specified by:
findAllActiveChildren
in interfacePITGroupSetDAO
- Returns:
- all nested children of the pit group set
- See Also:
-
findActiveImmediateChildByParentAndMemberPITGroup
public PITGroupSet findActiveImmediateChildByParentAndMemberPITGroup(PITGroupSet parentPITGroupSet, String memberGroupId) - Specified by:
findActiveImmediateChildByParentAndMemberPITGroup
in interfacePITGroupSetDAO
- Returns:
- pit group set
- See Also:
-
deleteInactiveRecords
Description copied from interface:PITGroupSetDAO
Delete records that ended before the given date.- Specified by:
deleteInactiveRecords
in interfacePITGroupSetDAO
- Returns:
- the number of records deleted
- See Also:
-
findImmediateChildren
- Specified by:
findImmediateChildren
in interfacePITGroupSetDAO
- Returns:
- pit group sets
- See Also:
-
findAllSelfPITGroupSetsByPITOwnerId
- Specified by:
findAllSelfPITGroupSetsByPITOwnerId
in interfacePITGroupSetDAO
- Returns:
- pit group sets
- See Also:
-
deleteSelfByPITOwnerId
- Specified by:
deleteSelfByPITOwnerId
in interfacePITGroupSetDAO
- See Also:
-
findMissingActivePITGroupSets
- Specified by:
findMissingActivePITGroupSets
in interfacePITGroupSetDAO
- Returns:
- active group sets that are missing in point in time
- See Also:
-
findMissingInactivePITGroupSets
- Specified by:
findMissingInactivePITGroupSets
in interfacePITGroupSetDAO
- Returns:
- active point in time group sets that should be inactive
- See Also:
-
findActiveDuplicates
- Specified by:
findActiveDuplicates
in interfacePITGroupSetDAO
- Returns:
- source ids of records that have duplicate active entries in PIT
- See Also:
-
findBySourceId
- Specified by:
findBySourceId
in interfacePITGroupSetDAO
- Returns:
- set of PITGroupSet
- See Also:
-
delete
Description copied from interface:PITGroupSetDAO
Delete (won't run pre and post delete methods)- Specified by:
delete
in interfacePITGroupSetDAO
- See Also:
-