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

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `News.Builder`

  ## Nested classes/interfaces inherited from class ru.bitel.common.model.IdTitle

  `IdTitle.IdTitleBuilder`

- ## Field Summary

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

  `NO_SELECT, title`

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

  `id`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `News()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static News.Builder`
  `builder()`
  `int`
  `compareTo(News news)`
  `String`
  `getBody()`
  `Date`
  `getDate()`
  `Document`
  `getDocument()`
  `NewsFilter`
  `getFilter()`
  `String`
  `getFilterData()`
  `String`
  `getText()`
  `void`
  `setBody(String text)`
  `void`
  `setDate(Date date)`
  `void`
  `setFilter(NewsFilter filter)`
  `void`
  `setFilterData(String filterData)`
  `void`
  `setText(String text)`
  `String`
  `toString()`

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

  `copyTo, getGuiTitle, getTitle, setId, setTitle, 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 void setBody(String text)

  - ### setDate

    public void setDate(Date date)

  - ### setFilter

    public void setFilter(NewsFilter filter)

  - ### setFilterData

    public void setFilterData(String filterData)

  - ### setText

    public void setText(String text)

  - ### toString

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

  - ### builder

    public static News.Builder builder()