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 Details

    • ConnectionLogEntryDao

      public ConnectionLogEntryDao(ConnectionSet connectionSet, int mid)
  • Method Details

    • getFromRS

      protected ConnectionLogEntry getFromRS(ResultSet rs) throws SQLException, ru.bitel.bgbilling.common.BGException
      Throws:
      SQLException
      ru.bitel.bgbilling.common.BGException
    • update

      public void update(ConnectionLogEntry b) throws ru.bitel.bgbilling.common.BGException
      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 interface AutoCloseable