public class DomainManager extends ru.bitel.common.dao.AbstractIdDao<Domain>
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, 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 |
|---|
DomainManager(java.sql.Connection con,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
Domain |
get(int id)
Возвращает объект по его ID.
|
protected Domain |
getFromRS(java.sql.ResultSet rs) |
EmailServiceActivator |
getServiceActivator(Domain domain) |
protected void |
importFromOld() |
java.util.List<Domain> |
list(java.lang.String order) |
protected void |
updateImpl(Domain b)
Этот метод каждый реализует сам со своей логикой.
|
protected Domain getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS in class ru.bitel.common.dao.AbstractDao<Domain>java.sql.SQLExceptionprotected void updateImpl(Domain b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDaoupdateImpl in class ru.bitel.common.dao.AbstractDao<Domain>b - экземпляр моделиru.bitel.bgbilling.common.BGException - ошибкиjava.sql.SQLException - ошибкиpublic Domain get(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.common.dao.AbstractIdDaoget in class ru.bitel.common.dao.AbstractIdDao<Domain>ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<Domain> list(java.lang.String order) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic EmailServiceActivator getServiceActivator(Domain domain) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected void importFromOld()
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException