
com.github.napp.database.IDAO Maven / Gradle / Ivy
/**
*
*/
package com.github.napp.database;
/**
* @author Alexandru Bledea
* @since Sep 21, 2013
*/
public interface IDAO {
/**
* @return
*/
ISelectQuery select();
/**
* @return
*/
IInsertQuery insert();
/**
* @return
*/
IUpdateQuery update();
/**
* @param id
* @return
*/
IUpdateQuery update(Integer id);
/**
* @param entity
* @return
*/
IUpdateQuery update(I entity);
/**
* @return
*/
IDeleteQuery delete();
/**
* @param entity
*/
void delete(I entity);
/**
* @param id
*/
void delete(int id);
/**
* @return
*/
IFreeQuery freeQuery();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy