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 Exception
    Throws:
      `Exception`

  - ### newsUpdate

    int newsUpdate(News news) throws Exception
    Throws:
      `Exception`

  - ### newsDelete

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

  - ### newsList

    List<News> newsList(Page page) throws Exception
    Throws:
      `Exception`

  - ### newsSearch

    SearchResult<NewsItem> newsSearch(Page page) throws Exception
    Throws:
      `Exception`

  - ### newsListForContract

    List<News> newsListForContract(int contractId, Page page) throws Exception
    Throws:
      `Exception`