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

# Class News

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.plugins.news.common.bean.News

All Implemented Interfaces:
  `Serializable`, `Comparable<News>`, `GuiTitlable`, `Idable`, `ListItem`

public class News extends IdTitle implements Comparable<News>

See Also:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class ru.bitel.common.model.IdTitle

  `NO_SELECT`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `News()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(News news)`
  `String`
  `getBody()`
  `Date`
  `getDate()`
  `Document`
  `getDocument()`
  `NewsFilter`
  `getFilter()`
  `String`
  `getFilterData()`
  `String`
  `getText()`
  `News`
  `setBody(String text)`
  `News`
  `setDate(Date date)`
  `News`
  `setFilter(NewsFilter filter)`
  `News`
  `setFilterData(String filterData)`
  `News`
  `setId(int id)`
  Устанавливает id объекта
  `News`
  `setText(String text)`
  `News`
  `setTitle(String title)`
  Устанавливает название (описание) объекта
  `String`
  `toString()`

  ### Methods inherited from class ru.bitel.common.model.IdTitle

  `copyTo, getGuiTitle, getTitle, setAsNoSelect, to, toIdTitle`

  ### Methods inherited from class ru.bitel.common.model.Id

  `copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface ru.bitel.common.model.ListItem

  `getId`

- ## Constructor Details

  - ### News

    public News()

- ## Method Details

  - ### compareTo

    public int compareTo(News news)
    Specified by:
      `compareTo` in interface `Comparable<News>`

  - ### getBody

    public String getBody()

  - ### getDate

    public Date getDate()

  - ### getDocument

    public Document getDocument() throws Exception
    Throws:
      `Exception`

  - ### getFilter

    public NewsFilter getFilter()

  - ### getFilterData

    public String getFilterData()

  - ### getText

    public String getText()

  - ### setBody

    public News setBody(String text)

  - ### setDate

    public News setDate(Date date)

  - ### setFilter

    public News setFilter(NewsFilter filter)

  - ### setFilterData

    public News setFilterData(String filterData)

  - ### setText

    public News setText(String text)

  - ### setId

    public News setId(int id)
    Description copied from class: `Id`
    Устанавливает id объекта
    Overrides:
      `setId` in class `IdTitle`

  - ### setTitle

    public News setTitle(String title)
    Description copied from class: `IdTitle`
    Устанавливает название (описание) объекта
    Overrides:
      `setTitle` in class `IdTitle`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `IdTitle`