Class SignatoryDao

java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.common.dao.AbstractDaoConstant
ru.bitel.bgbilling.common.dao.AbstractDao<Signatory>
ru.bitel.bgbilling.common.dao.AbstractIdDao<Signatory>
ru.bitel.bgbilling.plugins.edo.server.bean.SignatoryDao

public class SignatoryDao extends ru.bitel.bgbilling.common.dao.AbstractIdDao<Signatory>
  • Nested Class Summary

    Nested classes/interfaces inherited from class ru.bitel.bgbilling.common.dao.AbstractDao

    ru.bitel.bgbilling.common.dao.AbstractDao.ListParams
  • Field Summary

    Fields inherited from class ru.bitel.bgbilling.common.dao.AbstractDao

    orderByPattern

    Fields inherited from class ru.bitel.bgbilling.common.dao.AbstractDaoConstant

    con, ERROR, fields, moduleId, SQL_ALL, SQL_AND, SQL_DELETE, SQL_DISTINCT, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_JOIN, SQL_LEFT_JOIN, SQL_LIMIT, SQL_NOT_IN, SQL_ON, SQL_ON_DUPLICATE_KEY_UPDATE, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_VALUES, SQL_WHERE, tableName
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int id)
    Получение подписанта.
    protected Signatory
     
     
    protected String
     
    protected String
     
    listImplPS(ru.bitel.bgbilling.common.dao.AbstractDao.ListParams listImplParams)
     
    protected void
    updateImpl(Signatory signatory)
     

    Methods inherited from class ru.bitel.bgbilling.common.dao.AbstractIdDao

    delete, executeUpdate, getAndDelete, getAndUpdate, loadData, opt, prepareStatement, sqlCommand, sqlCommandAndTable, sqlInsertValues, sqlQuery, sqlUpdateSet, sqlWhereId

    Methods inherited from class ru.bitel.bgbilling.common.dao.AbstractDao

    deleteImpl, dropTemporaryTable, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, list, list, list, listCountImplPS, listImpl, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, queryPeriod, setPageRecordCount, update

    Methods inherited from class ru.bitel.bgbilling.common.dao.AbstractDaoConstant

    delete, delete, getSQLOrder, getSQLOrderFields, getTableName, psSetDate, psSetDateOrNull, psSetInt, psSetIntOrNull, psSetPeriod, psSetString, psSetStringOrNull, psSetTimestampOrNull, queryAndIn, setStatementParam

    Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger

    error, error, error, getLogger, logError, logError, warn

    Methods inherited from class java.lang.Object

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

    • SignatoryDao

      public SignatoryDao(Connection con)
  • Method Details

    • getListAll

      public List<Signatory> getListAll() throws SQLException
      Throws:
      SQLException
    • listImplPS

      protected PreparedStatement listImplPS(ru.bitel.bgbilling.common.dao.AbstractDao.ListParams listImplParams) throws SQLException
      Overrides:
      listImplPS in class ru.bitel.bgbilling.common.dao.AbstractDao<Signatory>
      Throws:
      SQLException
    • get

      public Signatory get(int id) throws SQLException
      Получение подписанта. Обрабатывается ID_DEFAULT_SIGNATORY и возвращается дефолтный в таком случае.
      Overrides:
      get in class ru.bitel.bgbilling.common.dao.AbstractIdDao<Signatory>
      Throws:
      SQLException
    • getQueryById

      protected String getQueryById()
      Overrides:
      getQueryById in class ru.bitel.bgbilling.common.dao.AbstractDao<Signatory>
    • getQueryWithFilter

      protected String getQueryWithFilter(String filter)
      Overrides:
      getQueryWithFilter in class ru.bitel.bgbilling.common.dao.AbstractDao<Signatory>
    • getFromRS

      protected Signatory getFromRS(ResultSet rs) throws SQLException
      Specified by:
      getFromRS in class ru.bitel.bgbilling.common.dao.AbstractDao<Signatory>
      Throws:
      SQLException
    • updateImpl

      protected void updateImpl(Signatory signatory) throws SQLException
      Specified by:
      updateImpl in class ru.bitel.bgbilling.common.dao.AbstractDao<Signatory>
      Throws:
      SQLException