Class PaylinksRedirectLogDao

java.lang.Object
ru.bitel.bgbilling.modules.paylinks.server.bean.PaylinksRedirectLogDao

public class PaylinksRedirectLogDao
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    PaylinksRedirectLogDao​(java.sql.Connection con, int mid, ParameterMap moduleSetup)  
  • Method Summary

    Modifier and Type Method Description
    void addLogEntry​(RedirectLogEntry entry)
    Добавление записи в лог.
    Result<RedirectLogEntry> getList​(Period period, Page page, int cid)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PaylinksRedirectLogDao

      public PaylinksRedirectLogDao​(java.sql.Connection con, int mid, ParameterMap moduleSetup)
  • Method Details

    • getList

      public Result<RedirectLogEntry> getList​(Period period, Page page, int cid) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • addLogEntry

      public void addLogEntry​(RedirectLogEntry entry) throws ru.bitel.bgbilling.common.BGException
      Добавление записи в лог. Если есть уже в логе с таким ИД, то обновляется. TODO тут нету id вообще так что всегда будет инсерт?
      Parameters:
      entry - запись для добавления заполненная. Используются поля: method_id,cid,date,sum,raw_url
      Throws:
      ru.bitel.bgbilling.common.BGException