public class NumerationPoolManager extends LoggingAbstractManager<NumerationPool>
userIdcacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, getByIdPS, logger, 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 |
|---|
NumerationPoolManager(java.sql.Connection con,
int mid,
int userId) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
deleteImpl(int id) |
static java.lang.String |
formatNumber(int poolId,
int yy,
int mm,
int num,
int num_in_month,
int num_in_year,
java.sql.Connection con,
int mid) |
static java.lang.String |
formatNumber(int poolId,
int yy,
int mm,
int num,
int num_in_month,
int num_in_year,
java.sql.Connection con,
int mid,
int cid) |
protected NumerationPool |
getFromRS(java.sql.ResultSet rs) |
protected NumerationPool |
getImpl(int id) |
java.util.List<NumerationPool> |
list() |
protected void |
updateImpl(NumerationPool b)
Этот метод каждый реализует сам со своей логикой.
|
delete, logListByCid, logListByOid, updatepublic NumerationPoolManager(java.sql.Connection con,
int mid,
int userId)
public java.util.List<NumerationPool> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected NumerationPool getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS in class ru.bitel.common.dao.AbstractDao<NumerationPool>java.sql.SQLExceptionprotected NumerationPool getImpl(int id) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
getImpl in class ru.bitel.common.dao.AbstractDao<NumerationPool>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionprotected void updateImpl(NumerationPool b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDaoupdateImpl in class ru.bitel.common.dao.AbstractDao<NumerationPool>b - экземпляр моделиru.bitel.bgbilling.common.BGException - ошибкиjava.sql.SQLException - ошибкиprotected int deleteImpl(int id)
throws ru.bitel.bgbilling.common.BGException,
java.sql.SQLException
deleteImpl in class ru.bitel.common.dao.AbstractDao<NumerationPool>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic static java.lang.String formatNumber(int poolId,
int yy,
int mm,
int num,
int num_in_month,
int num_in_year,
java.sql.Connection con,
int mid)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String formatNumber(int poolId,
int yy,
int mm,
int num,
int num_in_month,
int num_in_year,
java.sql.Connection con,
int mid,
int cid)
throws java.lang.Exception
java.lang.Exception