Interface PITGroupSetDAO
- All Superinterfaces:
GrouperDAO
- All Known Implementing Classes:
Hib3PITGroupSetDAO
-
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 pitGroupSet) findSelfPITGroupSet
(String ownerId, String fieldId, boolean activeOnly) void
saveBatch
(Set<PITGroupSet> pitGroupSets) insert a batch of pit group set objectsvoid
saveOrUpdate
(PITGroupSet pitGroupSet) insert or updatevoid
saveOrUpdate
(Set<PITGroupSet> pitGroupSets) insert or update
-
Method Details
-
saveOrUpdate
insert or update- Parameters:
pitGroupSet
-
-
saveOrUpdate
insert or update- Parameters:
pitGroupSets
-
-
saveBatch
insert a batch of pit group set objects- Parameters:
pitGroupSets
-
-
delete
delete- Parameters:
pitGroupSet
-
-
findBySourceIdActive
- Parameters:
id
-exceptionIfNotFound
-- Returns:
- PITGroupSet
-
findById
- Parameters:
id
-exceptionIfNotFound
-- Returns:
- PITGroupSet
-
findBySourceIdUnique
- Parameters:
id
-exceptionIfNotFound
-- Returns:
- PITGroupSet
-
findSelfPITGroupSet
- Parameters:
ownerId
-fieldId
-activeOnly
-- Returns:
- pit group set
-
findActiveImmediateByPITOwnerAndPITMemberAndPITField
PITGroupSet findActiveImmediateByPITOwnerAndPITMemberAndPITField(String ownerId, String memberId, String fieldId) - Parameters:
ownerId
-memberId
-fieldId
-- Returns:
- pit group set
-
findAllImmediateByPITOwnerAndPITMemberAndPITField
Set<PITGroupSet> findAllImmediateByPITOwnerAndPITMemberAndPITField(String ownerId, String memberId, String fieldId) - Parameters:
ownerId
-memberId
-fieldId
-- Returns:
- pit group sets
-
findAllActiveByPITGroupOwnerAndPITField
- Parameters:
groupId
-field
-- Returns:
- pit group sets
-
findAllActiveByMemberPITGroup
- Parameters:
groupId
-- Returns:
- pit group sets
-
findAllByMemberPITGroup
- Parameters:
groupId
-- Returns:
- pit group sets
-
findAllActiveChildren
- Parameters:
pitGroupSet
-- Returns:
- all nested children of the pit group set
-
findActiveImmediateChildByParentAndMemberPITGroup
PITGroupSet findActiveImmediateChildByParentAndMemberPITGroup(PITGroupSet parentPITGroupSet, String memberGroupId) - Parameters:
parentPITGroupSet
-memberGroupId
-- Returns:
- pit group set
-
findImmediateChildren
- Parameters:
pitGroupSet
-- Returns:
- pit group sets
-
deleteInactiveRecords
Delete records that ended before the given date.- Parameters:
time
-- Returns:
- the number of records deleted
-
findAllSelfPITGroupSetsByPITOwnerId
- Parameters:
id
-- Returns:
- pit group sets
-
deleteSelfByPITOwnerId
- Parameters:
id
-
-
findMissingActivePITGroupSets
- Parameters:
options
-- Returns:
- active group sets that are missing in point in time
-
findMissingInactivePITGroupSets
Set<PITGroupSet> findMissingInactivePITGroupSets()- Returns:
- active point in time group sets that should be inactive
-
findActiveDuplicates
- Returns:
- source ids of records that have duplicate active entries in PIT
-
findBySourceId
- Parameters:
id
-exceptionIfNotFound
-- Returns:
- set of PITGroupSet
-
delete
Delete (won't run pre and post delete methods)- Parameters:
id
-
-