NewsCategory Class |
Namespace: Dynamicweb.News
The NewsCategory type exposes the following members.
| Name | Description | |
|---|---|---|
| NewsCategory |
Constructor for NewsCategory class.
| |
| NewsCategory(IDataReader) |
Constructor for NewsCategory class.
| |
| NewsCategory(Int32) |
Constructor for NewsCategory class.
|
| Name | Description | |
|---|---|---|
| Connection | (Inherited from DbObject.) | |
| DefaultPermission | ||
| Description |
Gets or sets the description of news category.
| |
| Groups |
Gets or sets the custom groups list.
| |
| ID | (Inherited from DbObject.) | |
| IsNew | (Inherited from DbObject.) | |
| IsTemplateEnforcedForThisCategory |
Stores and retrieves is template enforced for this category.
| |
| NewsCategoryAccess |
Stores and retrieves access value for news category.
| |
| NewsCategoryApprovalType |
Stores and retrieves news category approval type.
| |
| NewsCategoryName |
Stores and retrieves name of news category.
| |
| NewsCategoryTemplateID |
Stores and retrieves ID of the news template.
| |
| PermissionsDeny | ||
| Sort |
Sort.
| |
| Transaction | (Inherited from DbObject.) |
| Name | Description | |
|---|---|---|
| CheckChainIdsString |
Checks if the input string is compared with the Template.
| |
| Delete | (Inherited from DbObject.) | |
| Delete(Int32) |
Deletes the custom category with specified id.
(Overrides DbObjectDelete(Int32).) | |
| DeleteCustomFieldsValues |
Deletes the custom field values by context and id.
| |
| Fill |
Reads news category from data base.
(Overrides DbObjectFill(IDataReader).) | |
| FillRow |
Fills the row.
(Overrides DbObjectFillRow(DataRow).) | |
| GetAllCategoryList |
Gets all news category list.
| |
| GetAllowedCategoriesForUser |
Gets all news category list.
| |
| GetArchiveNewsCount |
Gets the amount of archive news.
| |
| GetArchiveNewsCount(Int32) |
Gets the amount of archive news.
| |
| GetCategoryList(String) |
Gets the news category list by ids.
| |
| GetCategoryList(NewsCategorySortFields, SortDirection, String, Int32, Int32) |
Gets the news category list.
| |
| GetNewsCount |
Gets the amount of news.
| |
| GetNewsCount(Int32) |
Gets the amount of news.
| |
| GetNewsIdsInCategory |
Gets the list of news ids by specified category id.
| |
| GetRowCount |
Gets the amount of news categories by searching filter.
| |
| Load | (Inherited from DbObject.) | |
| LoadGroups |
Loads the custom groups.
| |
| RemoveCache |
Removes the cache.
| |
| Save |
Saves current news category to the data base.
(Overrides DbObjectSave.) |
| Name | Description | |
|---|---|---|
| _id | (Inherited from DbObject.) | |
| _keyField | (Inherited from DbObject.) | |
| _tableName | (Inherited from DbObject.) |