Click or drag to resize

NewsItem Methods

The NewsItem type exposes the following members.

Methods
  NameDescription
Public methodCopy
Copies the specified copy to category identifier.
Public methodDelete (Inherited from DbObject.)
Public methodDelete(Int32)
Deletes the specified news.
(Overrides DbObjectDelete(Int32).)
Public methodFill
Reads news item from data base.
(Overrides DbObjectFill(IDataReader).)
Public methodFillClicks
Fills count of clicks with data getting from statistic.
Public methodFillCustomFields
Fills a list of custom fields.
Public methodFillCustomFields(String)
Fills a list of custom fields according input IDs.
Public methodFillRelatedCategories
Fills a list of related categories.
Protected methodFillRow (Overrides DbObjectFillRow(DataRow).)
Public methodStatic memberGetAllNewsValidAndActiveAndNotArchive
Gets collection of valid, active and not archive news.
Public methodStatic memberGetMinMaxNewsDate
Retrieves minimum and maximum date.
Public methodStatic memberGetMinMaxNewsDate(String)
Retrieves minimum and maximum date from the specified news items range.
Public methodStatic memberGetNewsDates
Retrieves creation dates from the specified news items range.
Public methodStatic memberGetNewsList
Gets the collection of news by string of ids.
Public methodStatic memberGetNewsList(Int32)
Gets the collection of news by ids list.
Public methodStatic memberGetNewsList(String)
Gets the collection of news by string of ids.
Public methodStatic memberGetNewsListFromCategory(String, NewsStatus, SortFields, SortDirection, String, Int32, Int32, Boolean)
Gets the list of news by specified parameters.
Public methodStatic memberGetNewsListFromCategory(String, DateTime, DateTime, Boolean, NewsStatus, ArrayList, SortFields, SortDirection, String, Int32, Int32)
Gets the list of news by specified parameters.
Public methodStatic memberGetNewsListFromCategoryForIntegration
Gets the news list from category for integration.
Public methodStatic memberGetRowCount(String, String, NewsStatus, Boolean)
Gets amount of news by specified parameters.
Public methodStatic memberGetRowCount(String, DateTime, DateTime, Boolean, String, NewsStatus, ArrayList)
Gets amount of news by specified parameters.
Public methodLoad (Inherited from DbObject.)
Public methodStatic memberMostPopularNews
Gets the most popular news list.
Public methodMove
Moves the specified news to category identifier.
Public methodSave
Saves news to the data base.
(Overrides DbObjectSave.)
Public methodSave(Boolean)
Saves news to the data base.
Public methodStatic memberSetArchiveOnNews
Update one or more news.
Top
See Also