Interface ConfigDAO

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3ConfigDAO

public interface ConfigDAO extends GrouperDAO
Basic Config DAO interface.
Since:
2.4
  • Method Details

    • findById

      GrouperConfigHibernate findById(String id, boolean exceptionIfNotFound)
      Parameters:
      id -
      exceptionIfNotFound -
      Returns:
      the config
    • saveOrUpdate

      void saveOrUpdate(GrouperConfigHibernate config)
      save the object to the database
      Parameters:
      config -
    • delete

      void delete(GrouperConfigHibernate config)
      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 name
      changedAfterDate - optional, if only want configs changed after a certain date
      configKey - 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