Interface ConfigDAO
- All Superinterfaces:
GrouperDAO
- All Known Implementing Classes:
Hib3ConfigDAO
Basic
Config
DAO interface.- Since:
- 2.4
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(GrouperConfigHibernate config) delete the object from the databasefindAll
(ConfigFileName configFileName, Timestamp changedAfterDate, String configKey) find all configfindByFileAndKey
(Collection<MultiKey> configFileNameAndKeys) find all configvoid
saveOrUpdate
(GrouperConfigHibernate config) 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
-
-
findAll
Set<GrouperConfigHibernate> findAll(ConfigFileName configFileName, Timestamp changedAfterDate, String configKey) find all config- Parameters:
configFileName
- optional, if filtering by config file namechangedAfterDate
- optional, if only want configs changed after a certain dateconfigKey
- optional, if only want a certain config key- Returns:
- the configs
-
findByFileAndKey
Map<String,Set<GrouperConfigHibernate>> findByFileAndKey(Collection<MultiKey> configFileNameAndKeys) find all config- Parameters:
configFileNameAndKeys
- to look up- Returns:
- the configs
-