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

# Interface TvService

public interface TvService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<TvServiceSpecChannelLink>`
  `channelLinkList(int serviceSpecId, Date date)`
  `void`
  `channelLinkUpdate(int serviceSpecId, List<TvServiceSpecChannelLink> linkList)`
  `List<TvChannelSpec>`
  `channelSpecList(int serviceSpecId, Date dateFrom, Date dateTo, String title)`
  `void`
  `channelSpecListUpdate(int serviceSpecId, List<TvChannelSpec> tvChannelSpecList)`
  `int`
  `getProductSpecEntitySpecId()`
  `int`
  `getServiceSpecEntitySpecId()`
  `int`
  `getTvChannelSpecEntitySpecId()`
  `void`
  `groupOperationActivate(Set<Integer> contractIds, Date time, int productSpecId, int activationModeId, String description, String comment)`
  `void`
  `groupOperationDeactivate(Set<Integer> contractIds, Date time, int productSpecId, int activationModeId, boolean now)`
  `List<IdTitle>`
  `npayServiceList()`
  `BigDecimal`
  `precalculateAccount(int contractId, Date dateTo)`
  Вычисление будущей наработки для определения рекомендуемого платежа.
  `void`
  `prolongate(int contractId, BigDecimal balance, BigDecimal limit, ProlongationType prolongationType)`
  Принудительный вызов попытки пролонгации продуктов договора.
  `void`
  `recalculate(String email, Date dateFrom, Date dateTo, Set<Integer> contractGroupIds, Set<Integer> contractIds)`

- ## Method Details

  - ### channelLinkList

    List<TvServiceSpecChannelLink> channelLinkList(int serviceSpecId, Date date) throws Exception
    Throws:
      `Exception`

  - ### channelLinkUpdate

    void channelLinkUpdate(int serviceSpecId, List<TvServiceSpecChannelLink> linkList) throws Exception
    Throws:
      `Exception`

  - ### channelSpecList

    List<TvChannelSpec> channelSpecList(int serviceSpecId, Date dateFrom, Date dateTo, String title) throws Exception
    Throws:
      `Exception`

  - ### channelSpecListUpdate

    void channelSpecListUpdate(int serviceSpecId, List<TvChannelSpec> tvChannelSpecList) throws Exception
    Throws:
      `Exception`

  - ### getProductSpecEntitySpecId

    int getProductSpecEntitySpecId() throws Exception
    Throws:
      `Exception`

  - ### getServiceSpecEntitySpecId

    int getServiceSpecEntitySpecId() throws Exception
    Throws:
      `Exception`

  - ### getTvChannelSpecEntitySpecId

    int getTvChannelSpecEntitySpecId() throws Exception
    Throws:
      `Exception`

  - ### recalculate

    void recalculate(String email, Date dateFrom, Date dateTo, Set<Integer> contractGroupIds, Set<Integer> contractIds) throws Exception
    Throws:
      `Exception`

  - ### prolongate

    void prolongate(int contractId, BigDecimal balance, BigDecimal limit, ProlongationType prolongationType) throws Exception
    Принудительный вызов попытки пролонгации продуктов договора.
    Parameters:
      `contractId` -
      `balance` -
      `limit` -
      `prolongationType` -

  - ### precalculateAccount

    BigDecimal precalculateAccount(int contractId, Date dateTo) throws Exception
    Вычисление будущей наработки для определения рекомендуемого платежа.
    Parameters:
      `contractId` -
      `dateTo` -
    Returns:

  - ### groupOperationActivate

    void groupOperationActivate(Set<Integer> contractIds, Date time, int productSpecId, int activationModeId, String description, String comment) throws Exception
    Throws:
      `Exception`

  - ### groupOperationDeactivate

    void groupOperationDeactivate(Set<Integer> contractIds, Date time, int productSpecId, int activationModeId, boolean now) throws Exception
    Throws:
      `Exception`

  - ### npayServiceList

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