Class ConnectionLogEntryDao
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.kernel.log.server.bean.ConnectionLogEntryDao
- All Implemented Interfaces:
AutoCloseable
public class ConnectionLogEntryDao
extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
implements AutoCloseable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getByConnectionId
(Date date, int connectionId) protected ConnectionLogEntry
list
(Date timeFrom, Date timeTo, int deviceId, int devicePort, String acctSessId, long connectionId, String identifier) void
void
update
(ConnectionLogEntry b, boolean commit) protected void
updateImpl
(ConnectionLogEntry b, boolean commit) void
updateResponseCoords
(Date time, int deviceId, int id, int[] coords) Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError
-
Constructor Details
-
ConnectionLogEntryDao
-
-
Method Details
-
getFromRS
protected ConnectionLogEntry getFromRS(ResultSet rs) throws SQLException, ru.bitel.bgbilling.common.BGException - Throws:
SQLException
ru.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.BGException
SQLException
-
updateResponseCoords
public void updateResponseCoords(Date time, int deviceId, int id, int[] coords) throws ru.bitel.bgbilling.common.BGException, SQLException - Throws:
ru.bitel.bgbilling.common.BGException
SQLException
-
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:
close
in interfaceAutoCloseable
-