NewsItem Class |
Namespace: Dynamicweb.News
The NewsItem type exposes the following members.
| Name | Description | |
|---|---|---|
| NewsItem |
Constructor for NewsItem class.
| |
| NewsItem(IDataReader) |
Constructor for NewsItem class.
| |
| NewsItem(Int32) |
Constructor for NewsItem class.
|
| Name | Description | |
|---|---|---|
| Clicks |
Gets or sets the amount of clicks.
| |
| Connection | (Inherited from DbObject.) | |
| CustomFields |
Stores and retrieves a list of CustomFields objects.
| |
| ID | (Inherited from DbObject.) | |
| IsNew | (Inherited from DbObject.) | |
| NewsActive |
Gets or sets the news active.
| |
| NewsActiveFrom |
Stores and retrieves the date the news are active from.
| |
| NewsActiveTo |
Stores and retrieves the date the news are active to.
| |
| NewsApprovalState |
Stores and retrieves approval state of news.
| |
| NewsApprovalType |
Stores and retrieves approval type of news.
| |
| NewsArchive |
Gets or sets the news archive.
| |
| NewsAuthor |
Gets or sets the news author.
| |
| NewsCategoryID |
Gets or sets the news category identifier.
| |
| NewsCreatedDate |
Stores and retrieves the date of news creation.
| |
| NewsDate |
Stores and retrieves the date of the news.
| |
| NewsHashKey |
Returns hash key of the news.
| |
| NewsHeading |
Stores and retrieves news heading.
| |
| NewsImage |
Stores and retrieves news image.
| |
| NewsImageText |
Stores and retrieves text for news image.
| |
| NewsInitials |
Stores and retrieves news initials.
| |
| NewsLink |
Stores and retrieves news link.
| |
| NewsLinkPopup |
Determines whether the news link to popup.
| |
| NewsManchet |
Stores and retrieves news teaser.
| |
| NewsMetaURL |
Stores and retrieves news Meta URL.
| |
| NewsShortDate |
Returns short date of the news date.
| |
| NewsSmallImage |
Stores and retrieves small news image.
| |
| NewsTemplateID |
Stores and retrieves ID of the news template.
| |
| NewsText |
Gets or sets the news text.
| |
| NewsUpdatedDate |
Stores and retrieves the date of news update.
| |
| NewsUpdatedShortDate |
Returns short date of the news update date.
| |
| NewsUserCreate |
Determines by what user news was created.
| |
| NewsUserEdit |
Determines by what user news was edited.
| |
| RelatedCategories |
Stores and retrieves new item related categories.
| |
| Transaction | (Inherited from DbObject.) |
| 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.
|
| Name | Description | |
|---|---|---|
| _id | (Inherited from DbObject.) | |
| _keyField | (Inherited from DbObject.) | |
| _tableName | (Inherited from DbObject.) |