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

# Class PhoneContractStatusManager

java.lang.Object
ru.bitel.bgbilling.modules.phone.server.bean.PhoneContractStatusManager

public class PhoneContractStatusManager extends Object

- ## Field Summary

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PhoneContractStatusManager(Connection con, int moduleId)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `changeContractStatus(int contractId, int status, int userId)`
  `int`
  `getContractStatus(int contractId)`
  `List<PhoneContractStatusLog>`
  `getHistory(int contractId)`

  ### 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

  - ### PhoneContractStatusManager

    public PhoneContractStatusManager(Connection con, int moduleId)

- ## Method Details

  - ### getContractStatus

    public int getContractStatus(int contractId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### changeContractStatus

    public void changeContractStatus(int contractId, int status, int userId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getHistory

    public List<PhoneContractStatusLog> getHistory(int contractId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`