NewsItem Methods |
The NewsItem type exposes the following members.
Name | Description | |
---|---|---|
Copy |
Copies the specified copy to category identifier.
| |
Delete | (Inherited from DbObject.) | |
Delete(Int32) |
Deletes the specified news.
(Overrides DbObjectDelete(Int32).) | |
Fill |
Reads news item from data base.
(Overrides DbObjectFill(IDataReader).) | |
FillClicks |
Fills count of clicks with data getting from statistic.
| |
FillCustomFields |
Fills a list of custom fields.
| |
FillCustomFields(String) |
Fills a list of custom fields according input IDs.
| |
FillRelatedCategories |
Fills a list of related categories.
| |
FillRow | (Overrides DbObjectFillRow(DataRow).) | |
GetAllNewsValidAndActiveAndNotArchive |
Gets collection of valid, active and not archive news.
| |
GetMinMaxNewsDate |
Retrieves minimum and maximum date.
| |
GetMinMaxNewsDate(String) |
Retrieves minimum and maximum date from the specified news items range.
| |
GetNewsDates |
Retrieves creation dates from the specified news items range.
| |
GetNewsList |
Gets the collection of news by string of ids.
| |
GetNewsList(Int32) |
Gets the collection of news by ids list.
| |
GetNewsList(String) |
Gets the collection of news by string of ids.
| |
GetNewsListFromCategory(String, NewsStatus, SortFields, SortDirection, String, Int32, Int32, Boolean) |
Gets the list of news by specified parameters.
| |
GetNewsListFromCategory(String, DateTime, DateTime, Boolean, NewsStatus, ArrayList, SortFields, SortDirection, String, Int32, Int32) |
Gets the list of news by specified parameters.
| |
GetNewsListFromCategoryForIntegration |
Gets the news list from category for integration.
| |
GetRowCount(String, String, NewsStatus, Boolean) |
Gets amount of news by specified parameters.
| |
GetRowCount(String, DateTime, DateTime, Boolean, String, NewsStatus, ArrayList) |
Gets amount of news by specified parameters.
| |
Load | (Inherited from DbObject.) | |
MostPopularNews |
Gets the most popular news list.
| |
Move |
Moves the specified news to category identifier.
| |
Save |
Saves news to the data base.
(Overrides DbObjectSave.) | |
Save(Boolean) |
Saves news to the data base.
| |
SetArchiveOnNews |
Update one or more news.
|