Package ru.bitel.bgbilling.modules.tv.common.service

# Interface TvAccountService

public interface TvAccountService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<TvAccount>`
  `tvAccounContracttList(int contractId)`
  `void`
  `tvAccountDelete(int contractId, int id, boolean force)`
  `TvAccount`
  `tvAccountGet(int contractId, int id)`
  `TvAccount`
  `tvAccountGetByLogin(String login, Date time)`
  `void`
  `tvAccountIsActive(TvAccount tvAccount)`
  `List<TvAccount>`
  `tvAccountList(int deviceId, String login, Date dateFrom, Date dateTo)`
  `List<TvAccount>`
  `tvAccountSearch(List<ru.bitel.bgbilling.common.model.KeyValue> filter, int tvAccountSpecId, boolean strict)`
  `void`
  `tvAccountSpecDelete(int id)`
  `TvAccountSpec`
  `tvAccountSpecGet(int tvAccountSpecId)`
  `List<TvAccountSpec>`
  `tvAccountSpecList()`
  `List<IdTitle>`
  `tvAccountSpecTitleList()`
  `int`
  `tvAccountSpecUpdate(TvAccountSpec tvAccountSpec)`
  `TvAccount`
  `tvAccountTree(int contractId)`
  `int`
  `tvAccountUpdate(int contractId, TvAccount tvAccount, boolean generateLogin, boolean generatePassword, long omWaitTimeout)`
  `String`
  `tvProductStatus(int contractId, int tvAccountId)`

- ## Method Details

  - ### tvAccountTree

    TvAccount tvAccountTree(int contractId) throws Exception
    Throws:
      `Exception`

  - ### tvAccountSpecList

    List<TvAccountSpec> tvAccountSpecList() throws Exception
    Throws:
      `Exception`

  - ### tvAccountSpecTitleList

    List<IdTitle> tvAccountSpecTitleList() throws Exception
    Throws:
      `Exception`

  - ### tvAccountGet

    TvAccount tvAccountGet(int contractId, int id) throws Exception
    Throws:
      `Exception`

  - ### tvAccountList

    List<TvAccount> tvAccountList(int deviceId, String login, Date dateFrom, Date dateTo) throws Exception
    Throws:
      `Exception`

  - ### tvAccountDelete

    void tvAccountDelete(int contractId, int id, boolean force) throws Exception
    Throws:
      `Exception`

  - ### tvAccountUpdate

    int tvAccountUpdate(int contractId, TvAccount tvAccount, boolean generateLogin, boolean generatePassword, long omWaitTimeout) throws Exception
    Throws:
      `Exception`

  - ### tvAccountSpecGet

    TvAccountSpec tvAccountSpecGet(int tvAccountSpecId) throws Exception
    Throws:
      `Exception`

  - ### tvAccountSpecUpdate

    int tvAccountSpecUpdate(TvAccountSpec tvAccountSpec) throws Exception
    Throws:
      `Exception`

  - ### tvAccountSpecDelete

    void tvAccountSpecDelete(int id) throws Exception
    Throws:
      `Exception`

  - ### tvAccountGetByLogin

    TvAccount tvAccountGetByLogin(String login, Date time) throws Exception
    Throws:
      `Exception`

  - ### tvAccountIsActive

    void tvAccountIsActive(TvAccount tvAccount) throws Exception
    Throws:
      `Exception`

  - ### tvProductStatus

    String tvProductStatus(int contractId, int tvAccountId) throws Exception
    Throws:
      `Exception`

  - ### tvAccountSearch

    List<TvAccount> tvAccountSearch(List<ru.bitel.bgbilling.common.model.KeyValue> filter, int tvAccountSpecId, boolean strict) throws Exception
    Throws:
      `Exception`

  - ### tvAccounContracttList

    List<TvAccount> tvAccounContracttList(int contractId) throws Exception
    Throws:
      `Exception`