Class GenericManager<E extends GenericEntity,​K,​M extends GenericModel,​W extends GenericModel>

    • Constructor Detail

      • GenericManager

        public GenericManager()
    • Method Detail

      • createModel

        protected abstract M createModel​(E entity)
      • get

        public M get​(Long id)
      • save

        public abstract void save​(M model)
      • remove

        public void remove​(Long id)
      • search

        public abstract List<M> search​(W where,
                                       String text)
      • findAll

        public abstract List<M> findAll​(W where)
      • findFirst

        protected M findFirst​(K where,
                              String column)
      • count

        protected Long count​(K where,
                             String column)