C# Class Subtext.Framework.Providers.ObjectProvider

Provides a Data Object Source for interacting with Subtext Data. One example is a DataObjectProvider, which stores Subtext data in a database (which itself is provided via the DbProvider class).
Inheritance: System.Configuration.Provider.ProviderBase
Show file Open project: ayende/Subtext Class Usage Examples

Public Methods

Method Description
ClearBlogContent ( int blogId ) : void
Create ( Enclosure enclosure ) : int

Adds the given enclosure to the data store

Create ( Entry entry, int categoryIds ) : int

Creates the specified entry attaching the specified categories.

Create ( FeedbackItem feedbackItem ) : int

Creates a feedback record and returs the id of the newly created item.

Create ( MetaTag metaTag ) : int

Adds the given MetaTag to the data store.

CreateBlog ( string title, string userName, string password, string host, string subfolder ) : bool

Adds the initial blog configuration. This is a convenience method for allowing a user with a freshly installed blog to immediately gain access to the admin section to edit the blog.

CreateBlog ( string title, string userName, string password, string host, string subfolder, int blogGroupId ) : bool

Adds the initial blog configuration. This is a convenience method for allowing a user with a freshly installed blog to immediately gain access to the admin section to edit the blog.

CreateBlogAlias ( BlogAlias alias ) : bool
CreateLink ( Link link ) : int
CreateLinkCategory ( LinkCategory lc ) : int
Delete ( int entryId ) : bool

Deletes the specified entry.

DeleteBlogAlias ( BlogAlias alias ) : bool
DeleteEnclosure ( int enclosureId ) : bool
DeleteImage ( int ImageID ) : bool
DeleteKeyWord ( int id ) : bool
DeleteLink ( int LinkID ) : bool
DeleteLinkCategory ( int CategoryID ) : bool
DeleteMetaTag ( int metaTagId ) : bool

Deletes the MetaTag with the given metaTagId.

DestroyFeedback ( FeedbackStatusFlag status ) : void

Destroys the feedback with the given status.

DestroyFeedback ( int id ) : void

Completely deletes the specified feedback as opposed to moving it to the trash.

GetActiveCategories ( ) : IList
GetBlogAliasById ( int aliasId ) : BlogAlias
GetBlogByDomainAlias ( string host, string subfolder, bool strict ) : BlogInfo
GetBlogById ( int blogId ) : BlogInfo

Gets the blog by id.

GetBlogGroup ( int id, bool activeOnly ) : BlogGroup

Gets the blog group by id.

GetBlogInfo ( string hostname, string subfolder ) : BlogInfo

Returns a BlogInfo instance containing the configuration settings for the blog specified by the Hostname and Application.

GetBlogInfo ( string hostname, string subfolder, bool strict ) : BlogInfo

Returns a BlogInfo instance containing the configuration settings for the blog specified by the Hostname and Application.

Until Subtext supports multiple blogs again (if ever), this will always return the same instance.

GetBlogPosts ( int itemCount, PostConfig pc ) : IList

Gets entries within the system that meet the PostConfig flags.

GetCategories ( CategoryType catType, bool activeOnly ) : IList
GetCommentByChecksumHash ( string checksumHash ) : Entry

Searches the data store for the first comment with a matching checksum hash.

GetConditionalEntries ( int itemCount, PostType postType, PostConfig postConfig, bool includeCategories ) : IList

Gets the entries that meet the PostType and PostConfig flags.

GetEntriesByCategory ( int ItemCount, int catID, bool ActiveOnly ) : IList
GetEntriesByTag ( int itemCount, string tagName ) : IList
GetEntry ( int id, bool includeCategories ) : Entry

Returns an active Entry by the id regardless of which blog it is located in.

GetEntry ( int id, bool activeOnly, bool includeCategories ) : Entry

Returns an Entry with the specified id as long as it is within the current blog (Config.CurrentBlog).

GetEntry ( string entryName, bool activeOnly, bool includeCategories ) : Entry

Returns an Entry with the specified entry name as long as it is within the current blog (Config.CurrentBlog).

GetEntryDay ( System.DateTime dt ) : EntryDay
GetFeedback ( int id ) : FeedbackItem

Gets the feedback by the specified id.

GetFeedbackCounts ( int &approved, int &needsModeration, int &flaggedAsSpam, int &deleted ) : void

Gets the feedback counts for the various top level statuses.

GetFeedbackForEntry ( Entry parentEntry ) : IList

Gets the FeedbackItem items for the specified entry.

GetImage ( int imageID, bool activeOnly ) : Image
GetImagesByCategoryID ( int catID, bool activeOnly ) : ImageCollection
GetKeyWord ( int KeyWordID ) : KeyWord
GetKeyWords ( ) : IList
GetLink ( int linkID ) : Link
GetLinkCategory ( int categoryId, bool activeOnly ) : LinkCategory

Gets the link category for the specified category id.

GetLinkCategory ( string categoryName, bool activeOnly ) : LinkCategory

Gets the link category for the specified category name.

GetLinkCollectionByPostID ( int PostID ) : IList
GetMetaTagsForBlog ( BlogInfo blog, int pageIndex, int pageSize ) : IPagedCollection

Gets a collection of MetaTags for the given Blog.

GetMetaTagsForEntry ( Entry entry, int pageIndex, int pageSize ) : IPagedCollection

Gets a collection of MetaTags for the given Entry

GetPagedBlogDomainAlias ( BlogInfo blog, int pageIndex, int pageSize ) : PagedCollection
GetPagedBlogs ( string host, int pageIndex, int pageSize, ConfigurationFlags flags ) : PagedCollection

Gets a pageable IList of BlogInfo instances.

GetPagedEntries ( PostType postType, int categoryID, int pageIndex, int pageSize ) : IPagedCollection

Returns a pageable collection of entries ordered by the id descending. This is used in the admin section.

GetPagedFeedback ( int pageIndex, int pageSize, FeedbackStatusFlag status, FeedbackStatusFlag excludeStatusMask, FeedbackType type ) : IPagedCollection

Gets the paged feedback.

GetPagedKeyWords ( int pageIndex, int pageSize ) : IPagedCollection
GetPagedLinks ( int categoryTypeID, int pageIndex, int pageSize, bool sortDescending ) : IPagedCollection
GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IPagedCollection
GetPagedViewStats ( int pageIndex, int pageSize, System.DateTime beginDate, System.DateTime endDate ) : IPagedCollection
GetPostCollectionByMonth ( int month, int year ) : IList
GetPostsByCategoryArchive ( ) : IList
GetPostsByCategoryID ( int itemCount, int catID ) : IList
GetPostsByDayRange ( System.DateTime start, System.DateTime stop, PostType postType, bool activeOnly ) : IList
GetPostsByMonth ( int month, int year ) : IList
GetPostsByMonthArchive ( ) : IList
GetPostsByYearArchive ( ) : IList
GetPreviousAndNextEntries ( int entryId, PostType postType ) : IList

Returns the previous and next entry to the specified entry.

GetTopTags ( int ItemCount ) : int>.IDictionary

Gets the top tags from the database sorted by tag name.

InsertImage ( Image _image ) : int
InsertKeyWord ( KeyWord keyWord ) : int
Instance ( ) : ObjectProvider

Returns the currently configured ObjectProvider.

ListBlogGroups ( bool activeOnly ) : IList

Lists the blog groups.

LoadHostInfo ( HostInfo info ) : HostInfo

Returns the HostInfo for the Subtext installation.

SetEntryCategoryList ( int entryId, int categoryIds ) : bool
SetEntryTagList ( int entryId, IList tags ) : bool

Sets the tags for the entry.

TrackEntry ( EntryView ev ) : bool
TrackEntry ( IEnumerable evc ) : bool
Update ( Enclosure metaTag ) : bool
Update ( Entry entry, int categoryIds ) : bool

Saves changes to the specified entry attaching the specified categories.

Update ( FeedbackItem feedbackItem ) : bool

Saves changes to the specified feedback.

Update ( MetaTag metaTag ) : bool

Updates the given MetaTag in the data store.

UpdateBlog ( BlogInfo info ) : bool

Updates the specified blog configuration.

UpdateBlogAlias ( BlogAlias alias ) : bool
UpdateHost ( HostInfo hostInfo ) : bool

Updates the HostInfo instance. If the host record is not in the database, one is created. There should only be one host record.

UpdateImage ( Image _image ) : bool
UpdateKeyWord ( KeyWord keyWord ) : bool
UpdateLink ( Link link ) : bool
UpdateLinkCategory ( LinkCategory lc ) : bool

Method Details

ClearBlogContent() public abstract method

public abstract ClearBlogContent ( int blogId ) : void
blogId int
return void

Create() public abstract method

Adds the given enclosure to the data store
public abstract Create ( Enclosure enclosure ) : int
enclosure Subtext.Framework.Components.Enclosure
return int

Create() public abstract method

Creates the specified entry attaching the specified categories.
public abstract Create ( Entry entry, int categoryIds ) : int
entry Subtext.Framework.Components.Entry Entry.
categoryIds int Category Ids.
return int

Create() public abstract method

Creates a feedback record and returs the id of the newly created item.
public abstract Create ( FeedbackItem feedbackItem ) : int
feedbackItem Subtext.Framework.Components.FeedbackItem
return int

Create() public abstract method

Adds the given MetaTag to the data store.
public abstract Create ( MetaTag metaTag ) : int
metaTag Subtext.Framework.Components.MetaTag
return int

CreateBlog() public abstract method

Adds the initial blog configuration. This is a convenience method for allowing a user with a freshly installed blog to immediately gain access to the admin section to edit the blog.
public abstract CreateBlog ( string title, string userName, string password, string host, string subfolder ) : bool
title string
userName string Name of the user.
password string Password.
host string
subfolder string
return bool

CreateBlog() public abstract method

Adds the initial blog configuration. This is a convenience method for allowing a user with a freshly installed blog to immediately gain access to the admin section to edit the blog.
public abstract CreateBlog ( string title, string userName, string password, string host, string subfolder, int blogGroupId ) : bool
title string
userName string Name of the user.
password string Password.
host string
subfolder string
blogGroupId int
return bool

CreateBlogAlias() public abstract method

public abstract CreateBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
return bool

CreateLink() public abstract method

public abstract CreateLink ( Link link ) : int
link Subtext.Framework.Components.Link
return int

CreateLinkCategory() public abstract method

public abstract CreateLinkCategory ( LinkCategory lc ) : int
lc Subtext.Framework.Components.LinkCategory
return int

Delete() public abstract method

Deletes the specified entry.
public abstract Delete ( int entryId ) : bool
entryId int The entry id.
return bool

DeleteBlogAlias() public abstract method

public abstract DeleteBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
return bool

DeleteEnclosure() public abstract method

public abstract DeleteEnclosure ( int enclosureId ) : bool
enclosureId int
return bool

DeleteImage() public abstract method

public abstract DeleteImage ( int ImageID ) : bool
ImageID int
return bool

DeleteKeyWord() public abstract method

public abstract DeleteKeyWord ( int id ) : bool
id int
return bool

DeleteLink() public abstract method

public abstract DeleteLink ( int LinkID ) : bool
LinkID int
return bool

DeleteLinkCategory() public abstract method

public abstract DeleteLinkCategory ( int CategoryID ) : bool
CategoryID int
return bool

DeleteMetaTag() public abstract method

Deletes the MetaTag with the given metaTagId.
public abstract DeleteMetaTag ( int metaTagId ) : bool
metaTagId int
return bool

DestroyFeedback() public abstract method

Destroys the feedback with the given status.
public abstract DestroyFeedback ( FeedbackStatusFlag status ) : void
status FeedbackStatusFlag The status.
return void

DestroyFeedback() public abstract method

Completely deletes the specified feedback as opposed to moving it to the trash.
public abstract DestroyFeedback ( int id ) : void
id int The id.
return void

GetActiveCategories() public abstract method

public abstract GetActiveCategories ( ) : IList
return IList

GetBlogAliasById() public abstract method

public abstract GetBlogAliasById ( int aliasId ) : BlogAlias
aliasId int
return BlogAlias

GetBlogByDomainAlias() public abstract method

public abstract GetBlogByDomainAlias ( string host, string subfolder, bool strict ) : BlogInfo
host string
subfolder string
strict bool
return BlogInfo

GetBlogById() public abstract method

Gets the blog by id.
public abstract GetBlogById ( int blogId ) : BlogInfo
blogId int Blog id.
return BlogInfo

GetBlogGroup() public abstract method

Gets the blog group by id.
public abstract GetBlogGroup ( int id, bool activeOnly ) : BlogGroup
id int The id.
activeOnly bool if set to true [active only].
return Subtext.Framework.Components.BlogGroup

GetBlogInfo() public method

Returns a BlogInfo instance containing the configuration settings for the blog specified by the Hostname and Application.
public GetBlogInfo ( string hostname, string subfolder ) : BlogInfo
hostname string Hostname.
subfolder string Subfolder Name.
return BlogInfo

GetBlogInfo() public abstract method

Returns a BlogInfo instance containing the configuration settings for the blog specified by the Hostname and Application.
Until Subtext supports multiple blogs again (if ever), this will always return the same instance.
public abstract GetBlogInfo ( string hostname, string subfolder, bool strict ) : BlogInfo
hostname string Hostname.
subfolder string Subfolder Name.
strict bool If false, then this will return a blog record if /// there is only one blog record, regardless if the subfolder and hostname match.
return BlogInfo

GetBlogPosts() public abstract method

Gets entries within the system that meet the PostConfig flags.
public abstract GetBlogPosts ( int itemCount, PostConfig pc ) : IList
itemCount int Item count.
pc PostConfig Pc.
return IList

GetCategories() public abstract method

public abstract GetCategories ( CategoryType catType, bool activeOnly ) : IList
catType CategoryType
activeOnly bool
return IList

GetCommentByChecksumHash() public abstract method

Searches the data store for the first comment with a matching checksum hash.
public abstract GetCommentByChecksumHash ( string checksumHash ) : Entry
checksumHash string Checksum hash.
return Subtext.Framework.Components.Entry

GetConditionalEntries() public abstract method

Gets the entries that meet the PostType and PostConfig flags.
public abstract GetConditionalEntries ( int itemCount, PostType postType, PostConfig postConfig, bool includeCategories ) : IList
itemCount int Item count.
postType PostType The type of entry to return.
postConfig PostConfig Post Configuration options.
includeCategories bool Whether or not to include categories
return IList

GetEntriesByCategory() public abstract method

public abstract GetEntriesByCategory ( int ItemCount, int catID, bool ActiveOnly ) : IList
ItemCount int
catID int
ActiveOnly bool
return IList

GetEntriesByTag() public abstract method

public abstract GetEntriesByTag ( int itemCount, string tagName ) : IList
itemCount int
tagName string
return IList

GetEntry() public abstract method

Returns an active Entry by the id regardless of which blog it is located in.
public abstract GetEntry ( int id, bool includeCategories ) : Entry
id int Id of the entry
includeCategories bool Whether the entry should have its Categories property populated
return Subtext.Framework.Components.Entry

GetEntry() public abstract method

Returns an Entry with the specified id as long as it is within the current blog (Config.CurrentBlog).
public abstract GetEntry ( int id, bool activeOnly, bool includeCategories ) : Entry
id int Id of the entry
activeOnly bool Whether or not to only return the entry if it is active.
includeCategories bool Whether the entry should have its Categories property populated
return Subtext.Framework.Components.Entry

GetEntry() public abstract method

Returns an Entry with the specified entry name as long as it is within the current blog (Config.CurrentBlog).
public abstract GetEntry ( string entryName, bool activeOnly, bool includeCategories ) : Entry
entryName string Url friendly entry name.
activeOnly bool Whether or not to only return the entry if it is active.
includeCategories bool Whether the entry should have its Categories property populated
return Subtext.Framework.Components.Entry

GetEntryDay() public abstract method

public abstract GetEntryDay ( System.DateTime dt ) : EntryDay
dt System.DateTime
return EntryDay

GetFeedback() public abstract method

Gets the feedback by the specified id.
public abstract GetFeedback ( int id ) : FeedbackItem
id int The id.
return Subtext.Framework.Components.FeedbackItem

GetFeedbackCounts() public abstract method

Gets the feedback counts for the various top level statuses.
public abstract GetFeedbackCounts ( int &approved, int &needsModeration, int &flaggedAsSpam, int &deleted ) : void
approved int The approved.
needsModeration int The needs moderation.
flaggedAsSpam int The flagged as spam.
deleted int The deleted.
return void

GetFeedbackForEntry() public abstract method

Gets the FeedbackItem items for the specified entry.
public abstract GetFeedbackForEntry ( Entry parentEntry ) : IList
parentEntry Subtext.Framework.Components.Entry The parent entry.
return IList

GetImage() public abstract method

public abstract GetImage ( int imageID, bool activeOnly ) : Image
imageID int
activeOnly bool
return Image

GetImagesByCategoryID() public abstract method

public abstract GetImagesByCategoryID ( int catID, bool activeOnly ) : ImageCollection
catID int
activeOnly bool
return ImageCollection

GetKeyWord() public abstract method

public abstract GetKeyWord ( int KeyWordID ) : KeyWord
KeyWordID int
return Subtext.Framework.Components.KeyWord

GetKeyWords() public abstract method

public abstract GetKeyWords ( ) : IList
return IList

GetLink() public abstract method

public abstract GetLink ( int linkID ) : Link
linkID int
return Subtext.Framework.Components.Link

GetLinkCategory() public abstract method

Gets the link category for the specified category id.
public abstract GetLinkCategory ( int categoryId, bool activeOnly ) : LinkCategory
categoryId int The category id.
activeOnly bool if set to true [active only].
return Subtext.Framework.Components.LinkCategory

GetLinkCategory() public abstract method

Gets the link category for the specified category name.
public abstract GetLinkCategory ( string categoryName, bool activeOnly ) : LinkCategory
categoryName string The category name.
activeOnly bool if set to true [active only].
return Subtext.Framework.Components.LinkCategory

GetLinkCollectionByPostID() public abstract method

public abstract GetLinkCollectionByPostID ( int PostID ) : IList
PostID int
return IList

GetMetaTagsForBlog() public abstract method

Gets a collection of MetaTags for the given Blog.
public abstract GetMetaTagsForBlog ( BlogInfo blog, int pageIndex, int pageSize ) : IPagedCollection
blog BlogInfo
pageIndex int
pageSize int
return IPagedCollection

GetMetaTagsForEntry() public abstract method

Gets a collection of MetaTags for the given Entry
public abstract GetMetaTagsForEntry ( Entry entry, int pageIndex, int pageSize ) : IPagedCollection
entry Subtext.Framework.Components.Entry
pageIndex int
pageSize int
return IPagedCollection

GetPagedBlogDomainAlias() public abstract method

public abstract GetPagedBlogDomainAlias ( BlogInfo blog, int pageIndex, int pageSize ) : PagedCollection
blog BlogInfo
pageIndex int
pageSize int
return PagedCollection

GetPagedBlogs() public abstract method

Gets a pageable IList of BlogInfo instances.
public abstract GetPagedBlogs ( string host, int pageIndex, int pageSize, ConfigurationFlags flags ) : PagedCollection
host string The host to filter by.
pageIndex int Page index.
pageSize int Size of the page.
flags ConfigurationFlags
return PagedCollection

GetPagedEntries() public abstract method

Returns a pageable collection of entries ordered by the id descending. This is used in the admin section.
public abstract GetPagedEntries ( PostType postType, int categoryID, int pageIndex, int pageSize ) : IPagedCollection
postType PostType Type of the post.
categoryID int The category ID.
pageIndex int Index of the page.
pageSize int Size of the page.
return IPagedCollection

GetPagedFeedback() public abstract method

Gets the paged feedback.
public abstract GetPagedFeedback ( int pageIndex, int pageSize, FeedbackStatusFlag status, FeedbackStatusFlag excludeStatusMask, FeedbackType type ) : IPagedCollection
pageIndex int Index of the page.
pageSize int Size of the page.
status FeedbackStatusFlag A flag for the status types to return.
excludeStatusMask FeedbackStatusFlag A flag for the statuses to exclude.
type FeedbackType The type of feedback to return.
return IPagedCollection

GetPagedKeyWords() public abstract method

public abstract GetPagedKeyWords ( int pageIndex, int pageSize ) : IPagedCollection
pageIndex int
pageSize int
return IPagedCollection

GetPagedLinks() public abstract method

public abstract GetPagedLinks ( int categoryTypeID, int pageIndex, int pageSize, bool sortDescending ) : IPagedCollection
categoryTypeID int
pageIndex int
pageSize int
sortDescending bool
return IPagedCollection

GetPagedReferrers() public abstract method

public abstract GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IPagedCollection
pageIndex int
pageSize int
entryId int
return IPagedCollection

GetPagedViewStats() public abstract method

public abstract GetPagedViewStats ( int pageIndex, int pageSize, System.DateTime beginDate, System.DateTime endDate ) : IPagedCollection
pageIndex int
pageSize int
beginDate System.DateTime
endDate System.DateTime
return IPagedCollection

GetPostCollectionByMonth() public abstract method

public abstract GetPostCollectionByMonth ( int month, int year ) : IList
month int
year int
return IList

GetPostsByCategoryArchive() public abstract method

public abstract GetPostsByCategoryArchive ( ) : IList
return IList

GetPostsByCategoryID() public abstract method

public abstract GetPostsByCategoryID ( int itemCount, int catID ) : IList
itemCount int
catID int
return IList

GetPostsByDayRange() public abstract method

public abstract GetPostsByDayRange ( System.DateTime start, System.DateTime stop, PostType postType, bool activeOnly ) : IList
start System.DateTime
stop System.DateTime
postType PostType
activeOnly bool
return IList

GetPostsByMonth() public abstract method

public abstract GetPostsByMonth ( int month, int year ) : IList
month int
year int
return IList

GetPostsByMonthArchive() public abstract method

public abstract GetPostsByMonthArchive ( ) : IList
return IList

GetPostsByYearArchive() public abstract method

public abstract GetPostsByYearArchive ( ) : IList
return IList

GetPreviousAndNextEntries() public abstract method

Returns the previous and next entry to the specified entry.
public abstract GetPreviousAndNextEntries ( int entryId, PostType postType ) : IList
entryId int
postType PostType
return IList

GetTopTags() public abstract method

Gets the top tags from the database sorted by tag name.
public abstract GetTopTags ( int ItemCount ) : int>.IDictionary
ItemCount int The number of tags to return.
return int>.IDictionary

InsertImage() public abstract method

public abstract InsertImage ( Image _image ) : int
_image Image
return int

InsertKeyWord() public abstract method

public abstract InsertKeyWord ( KeyWord keyWord ) : int
keyWord Subtext.Framework.Components.KeyWord
return int

Instance() public static method

Returns the currently configured ObjectProvider.
public static Instance ( ) : ObjectProvider
return ObjectProvider

ListBlogGroups() public abstract method

Lists the blog groups.
public abstract ListBlogGroups ( bool activeOnly ) : IList
activeOnly bool if set to true [active only].
return IList

LoadHostInfo() public abstract method

Returns the HostInfo for the Subtext installation.
public abstract LoadHostInfo ( HostInfo info ) : HostInfo
info HostInfo
return HostInfo

SetEntryCategoryList() public abstract method

public abstract SetEntryCategoryList ( int entryId, int categoryIds ) : bool
entryId int
categoryIds int
return bool

SetEntryTagList() public abstract method

Sets the tags for the entry.
public abstract SetEntryTagList ( int entryId, IList tags ) : bool
entryId int
tags IList
return bool

TrackEntry() public abstract method

public abstract TrackEntry ( EntryView ev ) : bool
ev Subtext.Framework.Components.EntryView
return bool

TrackEntry() public abstract method

public abstract TrackEntry ( IEnumerable evc ) : bool
evc IEnumerable
return bool

Update() public abstract method

public abstract Update ( Enclosure metaTag ) : bool
metaTag Subtext.Framework.Components.Enclosure
return bool

Update() public abstract method

Saves changes to the specified entry attaching the specified categories.
public abstract Update ( Entry entry, int categoryIds ) : bool
entry Subtext.Framework.Components.Entry Entry.
categoryIds int Category Ids.
return bool

Update() public abstract method

Saves changes to the specified feedback.
public abstract Update ( FeedbackItem feedbackItem ) : bool
feedbackItem Subtext.Framework.Components.FeedbackItem The feedback item.
return bool

Update() public abstract method

Updates the given MetaTag in the data store.
public abstract Update ( MetaTag metaTag ) : bool
metaTag Subtext.Framework.Components.MetaTag
return bool

UpdateBlog() public abstract method

Updates the specified blog configuration.
public abstract UpdateBlog ( BlogInfo info ) : bool
info BlogInfo Config.
return bool

UpdateBlogAlias() public abstract method

public abstract UpdateBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
return bool

UpdateHost() public abstract method

Updates the HostInfo instance. If the host record is not in the database, one is created. There should only be one host record.
public abstract UpdateHost ( HostInfo hostInfo ) : bool
hostInfo HostInfo The host information.
return bool

UpdateImage() public abstract method

public abstract UpdateImage ( Image _image ) : bool
_image Image
return bool

UpdateKeyWord() public abstract method

public abstract UpdateKeyWord ( KeyWord keyWord ) : bool
keyWord Subtext.Framework.Components.KeyWord
return bool

UpdateLink() public abstract method

public abstract UpdateLink ( Link link ) : bool
link Subtext.Framework.Components.Link
return bool

UpdateLinkCategory() public abstract method

public abstract UpdateLinkCategory ( LinkCategory lc ) : bool
lc Subtext.Framework.Components.LinkCategory
return bool