Class SearchParameterDAO

  • All Implemented Interfaces:
    ISearchParameterDAO

    public class SearchParameterDAO
    extends java.lang.Object
    implements ISearchParameterDAO
    class SearchParameterDAO Provides data access to search parameters in MySQL database
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> findAll()
      Gets a list of all search parameters
      ReferenceItem load​(java.lang.String strParameterKey)
      Gets the parameters defined by the specified key
      ReferenceList selectParametersList()
      Gets a list of all search parameters
      void store​(ReferenceItem param)
      Updates the value of an existing parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SearchParameterDAO

        public SearchParameterDAO()
    • Method Detail

      • load

        public ReferenceItem load​(java.lang.String strParameterKey)
        Gets the parameters defined by the specified key
        Specified by:
        load in interface ISearchParameterDAO
        Parameters:
        strParameterKey - the parameter key
        Returns:
        the found parameter
      • store

        public void store​(ReferenceItem param)
        Updates the value of an existing parameter
        Specified by:
        store in interface ISearchParameterDAO
        Parameters:
        param - the parameter to store
      • findAll

        public java.util.Map<java.lang.String,​java.lang.String> findAll()
        Gets a list of all search parameters
        Specified by:
        findAll in interface ISearchParameterDAO
        Returns:
        all search parameters as a Map