public class ConnectionLogEntryDao
extends java.lang.Object
implements ru.bitel.common.worker.Recyclable
| Constructor and Description |
|---|
ConnectionLogEntryDao(ConnectionSet connectionSet,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionLogEntry |
get(java.util.Date date,
int id) |
protected ConnectionLogEntry |
getFromRS(java.sql.ResultSet rs) |
java.util.List<ConnectionLogEntry> |
list(java.util.Date timeFrom,
java.util.Date timeTo,
int deviceId,
int devicePort,
java.lang.String acctSessId,
long connectionId) |
void |
recycle()
В реализацию данного метода стоит включить инструкции, которые
освобождают использованные в классе ресурсы (закешированые
PreparedStatement, дао, отнаследованные от AbstractDao, потоки
ввода/вывода ).
|
void |
update(ConnectionLogEntry b) |
protected void |
updateImpl(ConnectionLogEntry b) |
void |
updateResponseCoords(java.util.Date time,
int deviceId,
int id,
int[] coords) |
public ConnectionLogEntryDao(ConnectionSet connectionSet, int mid)
protected ConnectionLogEntry getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionpublic void update(ConnectionLogEntry b) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(ConnectionLogEntry b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic void updateResponseCoords(java.util.Date time,
int deviceId,
int id,
int[] coords)
throws ru.bitel.bgbilling.common.BGException,
java.sql.SQLException
ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic java.util.List<ConnectionLogEntry> list(java.util.Date timeFrom, java.util.Date timeTo, int deviceId, int devicePort, java.lang.String acctSessId, long connectionId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic ConnectionLogEntry get(java.util.Date date, int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void recycle()
ru.bitel.common.worker.Recyclablerecycle in interface ru.bitel.common.worker.Recyclable