public interface DaoManager<T>
| Modifier and Type | Method and Description |
|---|---|
int |
countAll() |
int |
countUsingTemplate(T bean) |
int |
countUsingTemplate(T bean,
int startRow,
int numRows) |
int |
countUsingTemplate(T bean,
int startRow,
int numRows,
int searchType) |
int |
countWhere(String where) |
int |
countWhere(String where,
Object... fields) |
T |
createBean() |
List<T> |
decodeResultSet(ResultSet rs,
int startRow,
int numRows) |
T |
decodeRow(ResultSet rs) |
int |
deleteAll() |
int |
deleteByPrimaryKey(Integer id) |
int |
deleteByWhere(String where) |
int |
deleteByWhere(String where,
Object... fields) |
int |
deleteUsingTemplate(T bean) |
String |
getTableName() |
List<T> |
insert(List<T> beans) |
T |
insert(T bean) |
T |
insert(T bean,
boolean orUpdate) |
T |
insert(T bean,
boolean orUpdate,
boolean delayed) |
List<T> |
loadAll() |
List<T> |
loadAll(int startRow,
int numRows) |
List<T> |
loadByPreparedStatement(PreparedStatement ps) |
List<T> |
loadByPreparedStatement(PreparedStatement ps,
int startRow,
int numRows) |
T |
loadByPrimaryKey(Integer id) |
List<T> |
loadByWhere(String where) |
List<T> |
loadByWhere(String where,
int startRow,
int numRows) |
List<T> |
loadByWhere(String where,
Object... fields) |
T |
loadUniqueByWhere(String where) |
T |
loadUniqueByWhere(String where,
Object... fields) |
T |
loadUniqueUsingTemplate(T bean) |
List<T> |
loadUsingTemplate(T bean) |
List<T> |
loadUsingTemplate(T bean,
int startRow,
int numRows) |
List<T> |
loadUsingTemplate(T bean,
int startRow,
int numRows,
int searchType) |
T |
metaDataDecodeRow(ResultSet rs) |
List<T> |
save(List<T> beans) |
T |
save(T bean) |
List<T> |
update(List<T> beans) |
T |
update(T bean) |
T createBean()
String getTableName()
T loadByPrimaryKey(Integer id) throws SQLException
SQLExceptionint deleteByPrimaryKey(Integer id) throws SQLException
SQLExceptionList<T> loadAll() throws SQLException
SQLExceptionList<T> loadAll(int startRow, int numRows) throws SQLException
SQLExceptionList<T> loadByWhere(String where) throws SQLException
SQLExceptionList<T> loadByWhere(String where, Object... fields) throws SQLException
SQLExceptionList<T> loadByWhere(String where, int startRow, int numRows) throws SQLException
SQLExceptionT loadUniqueByWhere(String where) throws SQLException
SQLExceptionT loadUniqueByWhere(String where, Object... fields) throws SQLException
SQLExceptionint deleteAll()
throws SQLException
SQLExceptionint deleteByWhere(String where) throws SQLException
SQLExceptionint deleteByWhere(String where, Object... fields) throws SQLException
SQLExceptionT save(T bean) throws SQLException
SQLExceptionT insert(T bean) throws SQLException
SQLExceptionT insert(T bean, boolean orUpdate) throws SQLException
SQLExceptionT insert(T bean, boolean orUpdate, boolean delayed) throws SQLException
SQLExceptionT update(T bean) throws SQLException
SQLExceptionList<T> save(List<T> beans) throws SQLException
SQLExceptionList<T> insert(List<T> beans) throws SQLException
SQLExceptionList<T> update(List<T> beans) throws SQLException
SQLExceptionT loadUniqueUsingTemplate(T bean) throws SQLException
SQLExceptionList<T> loadUsingTemplate(T bean) throws SQLException
SQLExceptionList<T> loadUsingTemplate(T bean, int startRow, int numRows) throws SQLException
SQLExceptionList<T> loadUsingTemplate(T bean, int startRow, int numRows, int searchType) throws SQLException
SQLExceptionint deleteUsingTemplate(T bean) throws SQLException
SQLExceptionint countAll()
throws SQLException
SQLExceptionint countWhere(String where) throws SQLException
SQLExceptionint countWhere(String where, Object... fields) throws SQLException
SQLExceptionint countUsingTemplate(T bean) throws SQLException
SQLExceptionint countUsingTemplate(T bean, int startRow, int numRows) throws SQLException
SQLExceptionint countUsingTemplate(T bean, int startRow, int numRows, int searchType) throws SQLException
SQLExceptionList<T> decodeResultSet(ResultSet rs, int startRow, int numRows) throws SQLException
SQLExceptionT decodeRow(ResultSet rs) throws SQLException
SQLExceptionT metaDataDecodeRow(ResultSet rs) throws SQLException
SQLExceptionList<T> loadByPreparedStatement(PreparedStatement ps) throws SQLException
SQLExceptionList<T> loadByPreparedStatement(PreparedStatement ps, int startRow, int numRows) throws SQLException
SQLExceptionCopyright © 2014. All Rights Reserved.