public class RepositoriesDAOImpl extends AbstractDAO<RepositoryStored> implements RepositoriesDAO
datasource, logger| Constructor and Description |
|---|
RepositoriesDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryStored |
get(int id) |
List<String> |
getBaseUrls() |
protected PreparedStatement |
getDeleteStatement(int id,
Connection con) |
protected PreparedStatement |
getInsertStatement(RepositoryStored t,
Connection con) |
protected int |
getLastId() |
protected PreparedStatement |
getUpdateStatement(RepositoryStored t,
Connection con) |
closeConnection, delete, getConnection, getDatasource, save, setDatasourcepublic List<String> getBaseUrls() throws DaoException
getBaseUrls in interface RepositoriesDAODaoExceptionprotected PreparedStatement getUpdateStatement(RepositoryStored t, Connection con) throws SQLException
getUpdateStatement in class AbstractDAO<RepositoryStored>SQLExceptionprotected PreparedStatement getInsertStatement(RepositoryStored t, Connection con) throws SQLException
getInsertStatement in class AbstractDAO<RepositoryStored>SQLExceptionprotected PreparedStatement getDeleteStatement(int id, Connection con) throws SQLException
getDeleteStatement in class AbstractDAO<RepositoryStored>SQLExceptionprotected int getLastId()
throws SQLException
getLastId in class AbstractDAO<RepositoryStored>SQLExceptionpublic RepositoryStored get(int id)
get in interface DAO<RepositoryStored>Copyright © 2019. All rights reserved.