public class ServiceDao extends ru.bitel.common.dao.AbstractIdDao<Service> implements ru.bitel.bgbilling.kernel.directory.api.common.Directory<Service>
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, logger, mid, moduleId, orderByPattern, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_LIMIT, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_WHERE, tableName
Constructor and Description |
---|
ServiceDao(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
Service |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
protected Service |
getFromRS(java.sql.ResultSet rs) |
java.util.List<Service> |
list()
Получение всего списка элементов из справочника
|
java.util.List<Service> |
list(int moduleId) |
java.util.List<Service> |
listUsing() |
java.util.List<Service> |
listUsing(int moduleId) |
protected void |
updateImpl(Service s)
Этот метод каждый реализует сам со своей логикой.
|
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getSQLOrder, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, processException, recycle, setStatementParam, update
public Service get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.Directory
UnsupportedOperationException
get
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<Service>
ru.bitel.bgbilling.common.BGException
public java.util.List<Service> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.Directory
list
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<Service>
ru.bitel.bgbilling.common.BGException
public java.util.List<Service> listUsing() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<Service> list(int moduleId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<Service> listUsing(int moduleId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(Service s) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDao
updateImpl
in class ru.bitel.common.dao.AbstractDao<Service>
s
- экземпляр моделиru.bitel.bgbilling.common.BGException
- ошибкиjava.sql.SQLException
- ошибки