Class IndexDao


  • public class IndexDao
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      IndexDao()
      Constructor for IndexDao.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(Index i)
      add
      java.util.Collection<Index> getAllIndexes()
      getAllIndexes
      java.util.List<Index> getIndexesForTable​(java.lang.String table)
      getIndexesForTable
      void remove​(java.lang.String indexName)
      remove
      void reset()
      reset
      • Methods inherited from class java.lang.Object

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

      • IndexDao

        public IndexDao()

        Constructor for IndexDao.

    • Method Detail

      • reset

        public void reset()

        reset

      • add

        public void add​(Index i)

        add

        Parameters:
        i - a org.opennms.netmgt.dao.db.Index object.
      • getIndexesForTable

        public java.util.List<Index> getIndexesForTable​(java.lang.String table)

        getIndexesForTable

        Parameters:
        table - a String object.
        Returns:
        a List object.
      • getAllIndexes

        public java.util.Collection<Index> getAllIndexes()

        getAllIndexes

        Returns:
        a Collection object.
      • remove

        public void remove​(java.lang.String indexName)

        remove

        Parameters:
        indexName - a String object.