@Component(value="registeredServiceSQL") public class RegisteredServiceSQL extends Object implements RegisteredServiceDao
| Constructor and Description |
|---|
RegisteredServiceSQL() |
| Modifier and Type | Method and Description |
|---|---|
long |
countRegisteredServices(String owner) |
boolean |
delete(int id) |
long |
executeCount(String sql,
Statement.Initializer init) |
protected List<RegisteredService> |
executeQuery(String sql) |
protected List<RegisteredService> |
executeQuery(String sql,
Statement.Initializer init) |
protected int |
executeUpdate(String sql,
Statement.Initializer init) |
List<RegisteredService> |
fetchAllRegisteredServicesByOwner(String owner) |
RegisteredService |
fetchRegisteredServiceById(int id) |
protected RegisteredService |
fromResultSet(ResultSet set) |
int |
insertRegisteredService(RegisteredService registeredService) |
boolean |
update(RegisteredService registeredService) |
public int insertRegisteredService(RegisteredService registeredService) throws SQLException
insertRegisteredService in interface RegisteredServiceDaoSQLExceptionpublic boolean update(RegisteredService registeredService) throws SQLException
update in interface RegisteredServiceDaoSQLExceptionpublic boolean delete(int id)
throws SQLException
delete in interface RegisteredServiceDaoSQLExceptionpublic RegisteredService fetchRegisteredServiceById(int id) throws SQLException
fetchRegisteredServiceById in interface RegisteredServiceDaoSQLExceptionpublic List<RegisteredService> fetchAllRegisteredServicesByOwner(String owner) throws SQLException
fetchAllRegisteredServicesByOwner in interface RegisteredServiceDaoSQLExceptionprotected List<RegisteredService> executeQuery(String sql, Statement.Initializer init) throws SQLException
SQLExceptionprotected List<RegisteredService> executeQuery(String sql) throws SQLException
SQLExceptionprotected RegisteredService fromResultSet(ResultSet set) throws SQLException
SQLExceptionprotected int executeUpdate(String sql, Statement.Initializer init) throws SQLException
SQLExceptionpublic long countRegisteredServices(String owner) throws SQLException
countRegisteredServices in interface RegisteredServiceDaoSQLExceptionpublic long executeCount(String sql, Statement.Initializer init) throws SQLException
SQLExceptionCopyright © 2026. All rights reserved.