The NewsBLL type exposes the following members.

Methods

  Name Description
Public method AddWordsToTags
Add term words to tags list.

Note: This method keeps track of ignored words by language.

Public method ClearCategoryTreeCache
Clear category tree cache.
Public method CreateNewsCategory
Creates new news category.
Public method CreateNewsCategoryInRole
Creates new news category in role.
Public method CreateNewsIgnoredMetaKeyword
Create news meta ignored keyword.
Public method CreateNewsItem
Create news item.
Public method CreateNewsPublishQueue
Creates new news publish queue.
Public method DeleteCategory(NewsCategoryEntity)
Delete category and all subcategories.
Public method DeleteCategory(Guid)
Delete category and all subcategories.
Public method DeleteNewsCategoryInRole
Deletes the news category in role.
Public method DeleteNewsCategoryTemplate
Deletes the news category template.
Public method DeleteNewsItem
Deletes the news item.
Public method EnsureNewsItemLocalization
Ensures that there is a relevant localization for the item that is passed as a parameter.
Public method EnsureUserEditPermissions
Ensure that edit permissions are added to the filter.
Public method FindCategoryInCategoryTree
Find category in category hierarchy tree.
Public method FindCategoryInRole
Finds a news category in role by role name.
Public method FindCategoryInRoleByRoleId
Finds a news category in role by role name.
Public method FindCategoryInRoleByRoleName
Finds a news category in role by role name.
Public method GetCategories
Get news categories for current application in specified language.
Public method GetCategory(Guid, Nullable<(Of <<'(Boolean>)>>), Nullable<(Of <<'(Boolean>)>>))
Get category by specified id.
Public method GetCategory(String, Nullable<(Of <<'(Boolean>)>>), Nullable<(Of <<'(Boolean>)>>))
Get category by category title.
Public method GetCategory(Guid, Boolean, Nullable<(Of <<'(Boolean>)>>), Nullable<(Of <<'(Boolean>)>>))
Get category by specified id.
Public method GetCategoryId
Get category by category title.
Public method GetCategoryInRole
Get categories in role for specified category.
Public method GetCategoryTree(Nullable<(Of <<'(Boolean>)>>), Nullable<(Of <<'(Boolean>)>>))
Get News Category Tree.
Public method GetCategoryTree(String, String, Nullable<(Of <<'(Boolean>)>>), Nullable<(Of <<'(Boolean>)>>))
Get News Category Tree.
Public method GetInlineTags
Gets tags in one string.
Public method GetMetaIgnoredWordCount
Get Meta Tag ignored word count.
Public method GetNewsFile
Get news file item by specified id.
Public method GetNewsIgnoredMetaKeywordsCollection
Retrieves all news Ignored Meta Keywords.
Public method GetNewsIgnoredMetaKeywordsInitialFilter
Get initial filter.
Public method GetNewsIgnoredMetaKeywordsPrefetchPath
Get prefetch path.
Public method GetNewsIgnoredMetaKeywordsSorter
Get sort expression.
Public method GetNewsItem
Get news item by specified id.
Public method GetNewsItemCollection(RelationPredicateBucket, ISortExpression, IPrefetchPath2, Int32, Int32, Int32%)
Retrieves all news items.
Public method GetNewsItemCollection(RelationPredicateBucket, ISortExpression, IPrefetchPath2, Int32, Int32, Int32, Int32%)
Retrieves all news items.
Public method GetNewsItemCount
Get news item count by category id.
Public method GetNewsItemInitialFilter
Get initial filter.
Public method GetNewsItemPrefetchPath
Get prefetch path.
Public method GetNewsItemSorter
Get sort expression.
Public method GetNewsLocalizationItemsTypedList
Get news localization items for specified category id in a shape of the typed list.
Public method GetNewsPublishCollection
Retrieves all news publish.
Public method GetNewsPublishInitialFilter
Get initial filter.
Public method GetNewsPublishPrefetchPath
Get prefetch path.
Public method GetNewsPublishSorter
Get sort expression.
Public method GetNewsReadMorePageUrl
Gets the full url of the news read more page.
Public method GetNewsSearchResultCollection(Boolean, String, Int32)
Get News Search Result collection.
Public method GetNewsSearchResultCollection(Boolean, String, Int32, Int32%)
Get News Search Result collection.
Public method GetNewsSearchResultCollection(Boolean, String, Int32, IRelationPredicateBucket, SortExpression, IPrefetchPath2, Int32%)
Get News Search Result collection.
Public method GetNewsSubCategoryIdsForCategoryId
Gets list of sub category guids.
Public method GetTagWords(Guid, String)
Gets array list of all meta tags from the text.
Public method GetTagWords(Guid, String, Boolean)
Gets a list of all meta tags from the text.
Public method NewsCategoryRolesFilter(IRelationPredicateBucket, IPrefetchPath2, Nullable<(Of <<'(Boolean>)>>), Nullable<(Of <<'(Boolean>)>>))
News category roles filter will append roles filter to the existing news filter.
Public method NewsCategoryRolesFilter(String, IRelationPredicateBucket, IPrefetchPath2, Nullable<(Of <<'(Boolean>)>>), Nullable<(Of <<'(Boolean>)>>))
News category roles filter will append roles filter to the existing news filter.
Public method ParseNewsTags
Parses a tag string and constructs a news tag collection for a given entity.
Public method SaveNewsCategory
Saves news category.
Public method SaveNewsItem(NewsItemEntity)
Saves news item.
Public method SaveNewsItem(NewsItemEntity, Boolean)
Saves news item.
Public method SaveNewsItem(NewsItemEntity, Boolean, Boolean)
Saves news item.
Public method SaveNewsItemLocalization
Saves news item localization.
Public method SaveNewsPublishQueue(NewsPublishQueueEntity)
Saves news publish queue.
Public method SaveNewsPublishQueue(NewsPublishQueueEntity, Boolean)
Saves news publish queue.
Public method SaveNewsPublishQueue(NewsPublishQueueEntity, Boolean, Boolean)
Saves news publish queue.
Public method UpdateViewCount
Updates view count.
Public method UserHasAnyPermissions
Check if user has any permissions for any of the news categories.
Public method UserHasArticleEditPermissions
Check if user has article edit permissions inside the specified category.
Public method UserHasEditPermissions(NewsCategoryEntity)
Check if user has edit permissions for the specified category.
Public method UserHasEditPermissions(Guid)
Check if user has edit permissions for the specified category.
Public method UserHasEditPermissions(NewsCategoryEntity, String)
Check if user has edit permissions for the specified category.
Public method UserHasEditPermissions(EntityCollection<(Of <<'(NewsCategoryInRoleEntity>)>>), String)
Check if user has edit permissions for the specified category.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

See Also