Interface OnmsDao<T,​K extends java.io.Serializable>

    • Method Detail

      • lock

        void lock()
        This is used to lock the table in order to implement upsert type operations
      • initialize

        void initialize​(java.lang.Object obj)
      • flush

        void flush()
      • clear

        void clear()
      • countAll

        int countAll()
      • delete

        void delete​(T entity)
      • delete

        void delete​(K key)
      • findAll

        java.util.List<T> findAll()
      • findMatching

        java.util.List<T> findMatching​(Criteria criteria)
      • countMatching

        int countMatching​(Criteria onmsCrit)
      • get

        T get​(K id)
      • load

        T load​(K id)
      • save

        K save​(T entity)
      • saveOrUpdate

        void saveOrUpdate​(T entity)
      • update

        void update​(T entity)