Package ru.bitel.bgbilling.plugins.news.common.service

# Interface NewsService

public interface NewsService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `newsDelete(int id)`
  `News`
  `newsGet(int id)`
  `List<News>`
  `newsList(Page page)`
  `List<News>`
  `newsListForContract(int contractId, Page page)`
  `SearchResult<NewsItem>`
  `newsSearch(Page page)`
  `int`
  `newsUpdate(News news)`

- ## Method Details

  - ### newsGet

    News newsGet(int id) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### newsUpdate

    int newsUpdate(News news) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### newsDelete

    void newsDelete(int id) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### newsList

    List<News> newsList(Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### newsSearch

    SearchResult<NewsItem> newsSearch(Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### newsListForContract

    List<News> newsListForContract(int contractId, Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`