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

# Interface VoiceSessionService

@MTOM public interface VoiceSessionService
Сервис для доступа и работы с сессиями аккаунта модуля Voice.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<IdTitle>`
  `getOperatorList()`
  `String`
  `getParameter(String key)`
  `String`
  `getParameters(String reportType)`
  `String`
  `getReportCSV(String reportType, LocalDate period)`
  `String`
  `getReportRecords(String reportType, LocalDate period)`
  `void`
  `sessionFinish(long sessionId)`
  Принудительное завершение соединения.
  `void`
  `updateParameter(String key, String value)`
  `Result<VoiceSession>`
  `voiceSessionContractList(VoiceSessionFilter filter, Page page)`
  Получение отфильтрованного списка текущих сессий аккаунта
  `jakarta.activation.DataHandler`
  `voiceSessionContractLogExport(VoiceSessionFilter filter, String format, Page page)`
  `void`
  `voiceSessionDetailEmail(VoiceSessionFilter filter, List<String> emails)`
  `jakarta.activation.DataHandler`
  `voiceSessionDetailExport(VoiceSessionFilter filter, String format)`
  `Result<SessionDetail<SessionDetail<SessionDetailReportItem>>>`
  `voiceSessionDetailReport(VoiceSessionFilter filter, Page page)`
  `void`
  `voiceSessionEmail(VoiceSessionFilter filter, List<String> emails, Page page)`
  `Result<VoiceSession>`
  `voiceSessionList(VoiceSessionFilter filter, Page page)`
  `Result<VoiceSession>`
  `voiceSessionLogContractList(VoiceSessionFilter filter, Page page)`
  Получение отфильтрованного списка заверешенных сессий аккаунта
  `Result<VoiceSession>`
  `voiceSessionLogList(VoiceSessionFilter filter, Page page)`
  `List<SessionAccountReportItem>`
  `voiceSessionReportGroupByAccount(VoiceSessionFilter filter)`
  `List<SessionDestinationReportItem>`
  `voiceSessionReportGroupByAccountAndDestination(VoiceSessionFilter filter)`
  `List<SessionServiceReportItem>`
  `voiceSessionReportGroupByAccountAndService(VoiceSessionFilter filter)`

- ## Method Details

  - ### voiceSessionContractList

    Result<VoiceSession> voiceSessionContractList(VoiceSessionFilter filter, Page page) throws ru.bitel.bgbilling.common.BGException
    Получение отфильтрованного списка текущих сессий аккаунта
    Parameters:
      `filter` - фильтр
      `page` - параметры страницы, которую нужно отобразить
    Returns:
      список сессий
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionLogContractList

    Result<VoiceSession> voiceSessionLogContractList(VoiceSessionFilter filter, Page page) throws ru.bitel.bgbilling.common.BGException
    Получение отфильтрованного списка заверешенных сессий аккаунта
    Parameters:
      `filter` - фильтр
      `page` - параметры страницы, которую нужно отобразить
    Returns:
      список сессий
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionLogList

    Result<VoiceSession> voiceSessionLogList(VoiceSessionFilter filter, Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionList

    Result<VoiceSession> voiceSessionList(VoiceSessionFilter filter, Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### sessionFinish

    void sessionFinish(long sessionId) throws ru.bitel.bgbilling.common.BGException
    Принудительное завершение соединения.
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionReportGroupByAccount

    List<SessionAccountReportItem> voiceSessionReportGroupByAccount(VoiceSessionFilter filter) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionReportGroupByAccountAndDestination

    List<SessionDestinationReportItem> voiceSessionReportGroupByAccountAndDestination(VoiceSessionFilter filter) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionReportGroupByAccountAndService

    List<SessionServiceReportItem> voiceSessionReportGroupByAccountAndService(VoiceSessionFilter filter) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionContractLogExport

    jakarta.activation.DataHandler voiceSessionContractLogExport(VoiceSessionFilter filter, String format, Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionDetailReport

    Result<SessionDetail<SessionDetail<SessionDetailReportItem>>> voiceSessionDetailReport(VoiceSessionFilter filter, Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionDetailExport

    jakarta.activation.DataHandler voiceSessionDetailExport(VoiceSessionFilter filter, String format) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionDetailEmail

    void voiceSessionDetailEmail(VoiceSessionFilter filter, List<String> emails) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### voiceSessionEmail

    void voiceSessionEmail(VoiceSessionFilter filter, List<String> emails, Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getParameter

    String getParameter(String key) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getParameters

    String getParameters(String reportType) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### updateParameter

    void updateParameter(String key, String value) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getReportRecords

    String getReportRecords(String reportType, LocalDate period) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getReportCSV

    String getReportCSV(String reportType, LocalDate period) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getOperatorList

    List<IdTitle> getOperatorList() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`