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