Package ru.bitel.bgbilling.modules.gorod.server.bean

# Class RegisterManager

java.lang.Object
ru.bitel.bgbilling.modules.gorod.server.bean.RegisterManager

public class RegisterManager extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected Connection`
  `con`
  `protected int`
  `mid`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RegisterManager(Connection con, int mid)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addRegister(Register register)`
  `void`
  `deleteRegister(int id)`
  `Register`
  `getRegister(int type, Calendar date, int tagID)`
  `Register`
  `getRegisterById(int id)`
  `Register`
  `getRegisterByID(int id)`
  Deprecated.
  `List<Register>`
  `getRegisterList(Calendar date1, Calendar date2)`

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

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

- ## Field Details

  - ### mid

    protected int mid

  - ### con

    protected Connection con

- ## Constructor Details

  - ### RegisterManager

    public RegisterManager(Connection con, int mid)

- ## Method Details

  - ### getRegisterById

    public Register getRegisterById(int id)

  - ### getRegisterByID

    @Deprecated public Register getRegisterByID(int id)
    Deprecated.
    Использовать `getRegisterById(int)`.
    Parameters:
      `id` -
    Returns:

  - ### addRegister

    public void addRegister(Register register)

  - ### getRegisterList

    public List<Register> getRegisterList(Calendar date1, Calendar date2)

  - ### getRegister

    public Register getRegister(int type, Calendar date, int tagID)

  - ### deleteRegister

    public void deleteRegister(int id)