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:
  • 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 ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • 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()