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(int deviceId,
java.util.Date date,
int id) |
java.util.List<ConnectionLogEntry> |
getByConnectionId(java.util.Date date,
int connectionId) |
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,
java.lang.String identifier) |
void |
recycle() |
void |
update(ConnectionLogEntry b) |
void |
update(ConnectionLogEntry b,
boolean commit) |
protected void |
updateImpl(ConnectionLogEntry b,
boolean commit) |
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.BGExceptionpublic void update(ConnectionLogEntry b, boolean commit) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(ConnectionLogEntry b, boolean commit) 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, java.lang.String identifier) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic ConnectionLogEntry get(int deviceId, java.util.Date date, int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<ConnectionLogEntry> getByConnectionId(java.util.Date date, int connectionId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void recycle()
recycle in interface ru.bitel.common.worker.Recyclable