public class NumerationPoolManager extends LoggingAbstractManager<NumerationPool>
userId
Constructor and Description |
---|
NumerationPoolManager(java.sql.Connection con,
int moduleId,
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 moduleId,
int contractId) |
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, update
public NumerationPoolManager(java.sql.Connection con, int moduleId, int userId)
public java.util.List<NumerationPool> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected NumerationPool getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS
in class ru.bitel.common.dao.AbstractDao<NumerationPool>
java.sql.SQLException
protected 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.BGException
java.sql.SQLException
protected void updateImpl(NumerationPool b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<NumerationPool>
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.BGException
java.sql.SQLException
public 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.Exception
public 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 moduleId, int contractId) throws java.lang.Exception
java.lang.Exception