Interface GrouperPasswordRecentlyUsedDAO
- All Superinterfaces:
GrouperDAO
- All Known Implementing Classes:
Hib3GrouperPasswordRecentlyUsedDAO
Basic
GrouperPasswordRecentlyUsed
DAO interface.-
Method Summary
Modifier and TypeMethodDescriptionint
for each grouper password, delete all rows except n most recent entriesvoid
delete
(GrouperPasswordRecentlyUsed grouperPassword) delete the object from the databaseint
deleteGrouperPasswordRecentlyUsedEntries
(String grouperPasswordId) delete grouper password recently used rows for grouperPasswordIdfindByGrouperPasswordIdAndStatus
(String grouperPasswordId, Set<Character> statuses, QueryOptions queryOptions) void
saveOrUpdate
(GrouperPasswordRecentlyUsed grouperPasswordRecentlyUsed) save the object to the database
-
Method Details
-
findById
- Parameters:
id
-exceptionIfNotFound
-- Returns:
- the config
-
saveOrUpdate
save the object to the database- Parameters:
config
-
-
delete
delete the object from the database- Parameters:
config
-
-
findByGrouperPasswordIdAndStatus
Set<GrouperPasswordRecentlyUsed> findByGrouperPasswordIdAndStatus(String grouperPasswordId, Set<Character> statuses, QueryOptions queryOptions) -
cleanupOldEntriesFromGrouperPasswordRecentlyUsedTable
int cleanupOldEntriesFromGrouperPasswordRecentlyUsedTable()for each grouper password, delete all rows except n most recent entries- Returns:
-
deleteGrouperPasswordRecentlyUsedEntries
delete grouper password recently used rows for grouperPasswordId- Parameters:
grouperPasswordId
-- Returns:
-