Package ru.bgcrm.dao

# Class CommonDAO.RecordUpdater<T extends Id>

java.lang.Object
ru.bgcrm.dao.CommonDAO.RecordUpdater<T>

Enclosing class:
  `CommonDAO`

protected abstract class CommonDAO.RecordUpdater<T extends Id> extends Object

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `RecordUpdater()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract void`
  `fillCommonFields(T record, PreparedStatement ps)`
  `abstract String`
  `getInsertQuery()`
  `Pair<String,Integer>`
  `getUpdateQuery()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RecordUpdater

    protected RecordUpdater()

- ## Method Details

  - ### getInsertQuery

    public abstract String getInsertQuery() throws SQLException
    Throws:
      `SQLException`

  - ### getUpdateQuery

    public Pair<String,Integer> getUpdateQuery() throws SQLException
    Throws:
      `SQLException`

  - ### fillCommonFields

    public abstract void fillCommonFields(T record, PreparedStatement ps) throws SQLException
    Throws:
      `SQLException`