public class VoiceSessionAccountLogDao extends ru.bitel.common.dao.AbstractDao<VoiceSessionAccount>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TABLE_VOICE_SESSION_ACCOUNT_LOG |
| Modifier | Constructor and Description |
|---|---|
|
VoiceSessionAccountLogDao(java.sql.Connection con,
int moduleId,
java.util.Date date) |
protected |
VoiceSessionAccountLogDao(java.sql.Connection con,
int moduleId,
java.lang.String tableName) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkTables(java.sql.Connection con,
int moduleId,
java.util.Date date) |
void |
deleteAccounts(int divizer,
int remainder,
java.util.Date hour,
int deviceId) |
void |
deleteAccounts(java.util.List<VoiceSession> list) |
protected VoiceSessionAccount |
getFromRS(java.sql.ResultSet rs) |
void |
insertAccount(java.util.List<VoiceSessionAccount> accounts) |
java.util.List<VoiceSessionAccount> |
list(int sessionId)
Получение наработки сессии по ее коду с разбивкой по услугам
|
void |
updateAccount(java.util.List<VoiceSessionAccount> accounts) |
void |
updateAccountInternal(java.util.List<VoiceSessionAccount> accounts,
boolean replace) |
protected void |
updateImpl(VoiceSessionAccount account) |
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, updatepublic static final java.lang.String TABLE_VOICE_SESSION_ACCOUNT_LOG
public VoiceSessionAccountLogDao(java.sql.Connection con,
int moduleId,
java.util.Date date)
protected VoiceSessionAccountLogDao(java.sql.Connection con,
int moduleId,
java.lang.String tableName)
public java.util.List<VoiceSessionAccount> list(int sessionId) throws ru.bitel.bgbilling.common.BGException
sessionId - код сессииru.bitel.bgbilling.common.BGExceptionprotected VoiceSessionAccount getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<VoiceSessionAccount>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(VoiceSessionAccount account) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<VoiceSessionAccount>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic static void checkTables(java.sql.Connection con,
int moduleId,
java.util.Date date)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void insertAccount(java.util.List<VoiceSessionAccount> accounts) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void updateAccount(java.util.List<VoiceSessionAccount> accounts) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void updateAccountInternal(java.util.List<VoiceSessionAccount> accounts, boolean replace) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void deleteAccounts(int divizer,
int remainder,
java.util.Date hour,
int deviceId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void deleteAccounts(java.util.List<VoiceSession> list) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException