The BlogBLL type exposes the following members.

Constructors

  Name Description
Public method BlogBLL
Initializes a new instance of the BlogBLL class

Methods

  Name Description
Public method EnsureBlogExists
Ensures that a blog exists, if not creates a new one.
Public method EnsureCategoryExists(Guid, Guid)
Ensures that a blog category exists.
Public method EnsureCategoryExists(Guid, String)
Ensures that a blog category exists.
Public method EnsureCategoryExists(Guid, Guid, String)
Ensures that a blog category exists.
Public method EnsurePostExists
Ensures that a blog post exists, if not creates a new one. Used primarily for uploading files, where file upload can be performed before the post is entered.
Public method GetBlog(Guid)
Fetches a blog entity using its id.
Public method GetBlog(String)
Fetches a blog entity using its slug.
Public method GetBlogCategories()()()()
Retrieves a collection of all blog post categories.
Public method GetBlogCategories(Guid)
Gets a collection of blog post categories.
Public method GetBlogCategories(String)
Gets a collection of blog post categories.
Public method GetBlogCategories(Nullable<(Of <<'(Guid>)>>), String)
Gets a collection of blog post categories.
Public method GetBlogCategories(String, Int32, Int32, Int32%)
Gets a list of categories.
Public method GetBlogCategories(Nullable<(Of <<'(Guid>)>>), String, Int32, Int32, Int32%)
Gets a list of categories.
Public method GetBlogCategoryByName
Used by Windows Live Writer: returns a category entity by name, creates a new category if non-existent.
Public method GetBlogCategoryCollection
Retrieves all blog categories.
Public method GetBlogCategoryPrefetchPath
Gets prefetch path for blog categories admin screens.
Public method GetBlogCategorySorter
Gets a sort expression for blog categories admin screens.
Public method GetBlogCollection
Retrieves all blogs.
Public method GetBlogEditors
Gets a list of editor user ids for a particular blog.
Public method GetBlogInitialFilter()()()()
Get initial filter for blog admin screens.
Public method GetBlogInitialFilter(Nullable<(Of <<'(Guid>)>>))
Get initial filter for blog admin screens.
Public method GetBlogLastModificationDate(String)
Gets the last modification date of the blog.
Public method GetBlogLastModificationDate(Nullable<(Of <<'(Guid>)>>), String)
Gets the last modification date of the blog.
Public method GetBlogPost(Guid)
Gets a blog post by id.
Public method GetBlogPost(Int32)
Gets a blog post by its identity ID (int)
Public method GetBlogPostCollection
Retrieves all blog posts.
Public method GetBlogPostId
Gets a blog post id by its identity ID (int)
Public method GetBlogPostInitialFilter
Get initial filter for blog post admin screens.
Public method GetBlogPostPrefetchPath
Get prefetch path for the blog post admin screens.
Public method GetBlogPostPublishFilter
Gets blog post published filter.
Public method GetBlogPosts(Guid, Guid, String, String, String, Boolean, Int32, Int32, Int32%)
Method that gets a paged collection of blog posts.
Public method GetBlogPosts(Nullable<(Of <<'(Guid>)>>), Guid, Guid, String, String, String, Boolean, Int32, Int32, Int32%)
Method that gets a paged collection of blog posts.
Public method GetBlogPostSorter
Get blog post sort expression for the blog post admin screens.
Public method GetBlogPrefetchPath
Get prefetch path for the blog admin screens.
Public method GetBlogs(String, Int32)
Fetches collections blog entity using its slug. If exact match cannot be located, the blog with the most similar slug will be returned, enabling the LIKE search operation in the blog manager screen.
Public method GetBlogs(Int32, Int32, Int32%)
Retrieve all blogs for a particular language and application instance.
Public method GetBlogs(Nullable<(Of <<'(Guid>)>>), Int32, Int32, Int32%)
Retrieves a list of blogs for a particular user. Empty user name (in cases when user is in the admin roles) get a list of all blogs.
Public method GetBlogs(String, Int32, Int32, Int32%)
Retrieves a list of blogs for a particular user. Empty user name (in cases when user is in the admin roles) get a list of all blogs.
Public method GetBlogs(Nullable<(Of <<'(Guid>)>>), Nullable<(Of <<'(Guid>)>>), Int32, Int32, Int32%)
Retrieve all blogs for a particular language and application instance.
Public method GetBlogSlug
Fetches a blog slug using its blog post id.
Public method GetBlogSlugs()()()()
Returns a list of all blog slugs in the system.
Public method GetBlogSlugs(Nullable<(Of <<'(Guid>)>>))
Returns a list of all blog slugs in the system.
Public method GetBlogSorter
Get blog sort expression for the blog post admin screens.
Public method GetCategoryLastModificationDate
Get last modification date for a category.
Public method GetDefaultBlog
Returns the first blog instance, used in EnsureBlogPostExists and similar methods to prefill the BlogId field with a value.
Public method GetEditableBlogsByUser(Guid)
Returns a list of names of blogs that that a particular user can edit.
Public method GetEditableBlogsByUser(String)
Returns a list of names of blogs that that a particular user can edit.
Public method GetFirstBlogForUser
Gets the first blog for the specified user.
Public method GetLatestBlogPost()()()()
Retrieves the newest blog post.
Public method GetLatestBlogPost(Nullable<(Of <<'(Guid>)>>))
Retrieves the newest blog post.
Public method GetTagCloudData(String, Int32)
Retrieves the data for constructing the tag cloud.
Public method GetTagCloudData(Nullable<(Of <<'(Guid>)>>), String, Int32)
Retrieves the data for constructing the tag cloud.
Public method GetTagLastModificationDate(String, String)
Get last modification date for a tag.
Public method GetTagLastModificationDate(Nullable<(Of <<'(Guid>)>>), String, String)
Get last modification date for a tag.
Public method ParseEditors
Parses blog editors string and constructs a BlogEditors collection for a given blog entity.
Public method ParseTags
Parses a tag string and constructs a BlogPostTags collection for a given blog post entity.
Public method RemoveCategory
Remove category from blog.
Public method SaveBlog(BlogEntity)
Saves a blog entity.
Public method SaveBlog(BlogEntity, String)
Saves a blog entity with appropriate editor roles.
Public method SaveBlogPost
Saves a blog post. All related entities are updated transactional fashion - no DB changes will be saved unless all entities are updated successfully.
Public method SaveRating
Saves a rating for a post
Public method SearchBlogPosts(String, Boolean, Int32)
Search blog posts.
Public method SearchBlogPosts(String, Boolean, Int32, Int32%)
Search blog posts.
Public method SearchBlogPosts(Nullable<(Of <<'(Guid>)>>), String, Boolean, Int32, Int32%)
Search blog posts.

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