
com.github.t3t5u.common.database.Dao Maven / Gradle / Ivy
package com.github.t3t5u.common.database;
import java.util.List;
public interface Dao {
E find(long id);
List findAll();
boolean insert(E entity);
boolean insertOrUpdate(E entity);
boolean update(E entity);
boolean delete(E entity);
long deleteAll();
long count();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy