Class ConnectionLogEntryDao
java.lang.Object
ru.bitel.bgbilling.kernel.log.server.bean.ConnectionLogEntryDao
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getByConnectionId(Date date, int connectionId) protected ConnectionLogEntrylist(Date timeFrom, Date timeTo, int deviceId, int devicePort, String acctSessId, long connectionId, String identifier) voidvoidupdate(ConnectionLogEntry b, boolean commit) protected voidupdateImpl(ConnectionLogEntry b, boolean commit) voidupdateResponseCoords(Date time, int deviceId, int id, int[] coords)
-
Constructor Details
-
ConnectionLogEntryDao
-
-
Method Details
-
getFromRS
protected ConnectionLogEntry getFromRS(ResultSet rs) throws SQLException, ru.bitel.bgbilling.common.BGException - Throws:
SQLExceptionru.bitel.bgbilling.common.BGException
-
update
- Throws:
ru.bitel.bgbilling.common.BGException
-
update
public void update(ConnectionLogEntry b, boolean commit) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
updateImpl
protected void updateImpl(ConnectionLogEntry b, boolean commit) throws ru.bitel.bgbilling.common.BGException, SQLException - Throws:
ru.bitel.bgbilling.common.BGExceptionSQLException
-
updateResponseCoords
public void updateResponseCoords(Date time, int deviceId, int id, int[] coords) throws ru.bitel.bgbilling.common.BGException, SQLException - Throws:
ru.bitel.bgbilling.common.BGExceptionSQLException
-
list
public List<ConnectionLogEntry> list(Date timeFrom, Date timeTo, int deviceId, int devicePort, String acctSessId, long connectionId, String identifier) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
get
public ConnectionLogEntry get(int deviceId, Date date, int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getByConnectionId
public List<ConnectionLogEntry> getByConnectionId(Date date, int connectionId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-