C# Класс 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).
Наследование: System.Configuration.Provider.ProviderBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ClearBlogContent() публичный абстрактный Метод

public abstract ClearBlogContent ( int blogId ) : void
blogId int
Результат void

Create() публичный абстрактный Метод

Adds the given enclosure to the data store
public abstract Create ( Enclosure enclosure ) : int
enclosure Subtext.Framework.Components.Enclosure
Результат int

Create() публичный абстрактный Метод

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.
Результат int

Create() публичный абстрактный Метод

Creates a feedback record and returs the id of the newly created item.
public abstract Create ( FeedbackItem feedbackItem ) : int
feedbackItem Subtext.Framework.Components.FeedbackItem
Результат int

Create() публичный абстрактный Метод

Adds the given MetaTag to the data store.
public abstract Create ( MetaTag metaTag ) : int
metaTag Subtext.Framework.Components.MetaTag
Результат int

CreateBlog() публичный абстрактный Метод

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
Результат bool

CreateBlog() публичный абстрактный Метод

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
Результат bool

CreateBlogAlias() публичный абстрактный Метод

public abstract CreateBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
Результат bool

CreateLink() публичный абстрактный Метод

public abstract CreateLink ( Link link ) : int
link Subtext.Framework.Components.Link
Результат int

CreateLinkCategory() публичный абстрактный Метод

public abstract CreateLinkCategory ( LinkCategory lc ) : int
lc Subtext.Framework.Components.LinkCategory
Результат int

Delete() публичный абстрактный Метод

Deletes the specified entry.
public abstract Delete ( int entryId ) : bool
entryId int The entry id.
Результат bool

DeleteBlogAlias() публичный абстрактный Метод

public abstract DeleteBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
Результат bool

DeleteEnclosure() публичный абстрактный Метод

public abstract DeleteEnclosure ( int enclosureId ) : bool
enclosureId int
Результат bool

DeleteImage() публичный абстрактный Метод

public abstract DeleteImage ( int ImageID ) : bool
ImageID int
Результат bool

DeleteKeyWord() публичный абстрактный Метод

public abstract DeleteKeyWord ( int id ) : bool
id int
Результат bool

DeleteLink() публичный абстрактный Метод

public abstract DeleteLink ( int LinkID ) : bool
LinkID int
Результат bool

DeleteLinkCategory() публичный абстрактный Метод

public abstract DeleteLinkCategory ( int CategoryID ) : bool
CategoryID int
Результат bool

DeleteMetaTag() публичный абстрактный Метод

Deletes the MetaTag with the given metaTagId.
public abstract DeleteMetaTag ( int metaTagId ) : bool
metaTagId int
Результат bool

DestroyFeedback() публичный абстрактный Метод

Destroys the feedback with the given status.
public abstract DestroyFeedback ( FeedbackStatusFlag status ) : void
status FeedbackStatusFlag The status.
Результат void

DestroyFeedback() публичный абстрактный Метод

Completely deletes the specified feedback as opposed to moving it to the trash.
public abstract DestroyFeedback ( int id ) : void
id int The id.
Результат void

GetActiveCategories() публичный абстрактный Метод

public abstract GetActiveCategories ( ) : IList
Результат IList

GetBlogAliasById() публичный абстрактный Метод

public abstract GetBlogAliasById ( int aliasId ) : BlogAlias
aliasId int
Результат BlogAlias

GetBlogByDomainAlias() публичный абстрактный Метод

public abstract GetBlogByDomainAlias ( string host, string subfolder, bool strict ) : BlogInfo
host string
subfolder string
strict bool
Результат BlogInfo

GetBlogById() публичный абстрактный Метод

Gets the blog by id.
public abstract GetBlogById ( int blogId ) : BlogInfo
blogId int Blog id.
Результат BlogInfo

GetBlogGroup() публичный абстрактный Метод

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].
Результат Subtext.Framework.Components.BlogGroup

GetBlogInfo() публичный Метод

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.
Результат BlogInfo

GetBlogInfo() публичный абстрактный Метод

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.
Результат BlogInfo

GetBlogPosts() публичный абстрактный Метод

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.
Результат IList

GetCategories() публичный абстрактный Метод

public abstract GetCategories ( CategoryType catType, bool activeOnly ) : IList
catType CategoryType
activeOnly bool
Результат IList

GetCommentByChecksumHash() публичный абстрактный Метод

Searches the data store for the first comment with a matching checksum hash.
public abstract GetCommentByChecksumHash ( string checksumHash ) : Entry
checksumHash string Checksum hash.
Результат Subtext.Framework.Components.Entry

GetConditionalEntries() публичный абстрактный Метод

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
Результат IList

GetEntriesByCategory() публичный абстрактный Метод

public abstract GetEntriesByCategory ( int ItemCount, int catID, bool ActiveOnly ) : IList
ItemCount int
catID int
ActiveOnly bool
Результат IList

GetEntriesByTag() публичный абстрактный Метод

public abstract GetEntriesByTag ( int itemCount, string tagName ) : IList
itemCount int
tagName string
Результат IList

GetEntry() публичный абстрактный Метод

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
Результат Subtext.Framework.Components.Entry

GetEntry() публичный абстрактный Метод

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
Результат Subtext.Framework.Components.Entry

GetEntry() публичный абстрактный Метод

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
Результат Subtext.Framework.Components.Entry

GetEntryDay() публичный абстрактный Метод

public abstract GetEntryDay ( System.DateTime dt ) : EntryDay
dt System.DateTime
Результат EntryDay

GetFeedback() публичный абстрактный Метод

Gets the feedback by the specified id.
public abstract GetFeedback ( int id ) : FeedbackItem
id int The id.
Результат Subtext.Framework.Components.FeedbackItem

GetFeedbackCounts() публичный абстрактный Метод

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.
Результат void

GetFeedbackForEntry() публичный абстрактный Метод

Gets the FeedbackItem items for the specified entry.
public abstract GetFeedbackForEntry ( Entry parentEntry ) : IList
parentEntry Subtext.Framework.Components.Entry The parent entry.
Результат IList

GetImage() публичный абстрактный Метод

public abstract GetImage ( int imageID, bool activeOnly ) : Image
imageID int
activeOnly bool
Результат Image

GetImagesByCategoryID() публичный абстрактный Метод

public abstract GetImagesByCategoryID ( int catID, bool activeOnly ) : ImageCollection
catID int
activeOnly bool
Результат ImageCollection

GetKeyWord() публичный абстрактный Метод

public abstract GetKeyWord ( int KeyWordID ) : KeyWord
KeyWordID int
Результат Subtext.Framework.Components.KeyWord

GetKeyWords() публичный абстрактный Метод

public abstract GetKeyWords ( ) : IList
Результат IList

GetLink() публичный абстрактный Метод

public abstract GetLink ( int linkID ) : Link
linkID int
Результат Subtext.Framework.Components.Link

GetLinkCategory() публичный абстрактный Метод

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].
Результат Subtext.Framework.Components.LinkCategory

GetLinkCategory() публичный абстрактный Метод

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].
Результат Subtext.Framework.Components.LinkCategory

GetLinkCollectionByPostID() публичный абстрактный Метод

public abstract GetLinkCollectionByPostID ( int PostID ) : IList
PostID int
Результат IList

GetMetaTagsForBlog() публичный абстрактный Метод

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
Результат IPagedCollection

GetMetaTagsForEntry() публичный абстрактный Метод

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
Результат IPagedCollection

GetPagedBlogDomainAlias() публичный абстрактный Метод

public abstract GetPagedBlogDomainAlias ( BlogInfo blog, int pageIndex, int pageSize ) : PagedCollection
blog BlogInfo
pageIndex int
pageSize int
Результат PagedCollection

GetPagedBlogs() публичный абстрактный Метод

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
Результат PagedCollection

GetPagedEntries() публичный абстрактный Метод

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.
Результат IPagedCollection

GetPagedFeedback() публичный абстрактный Метод

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.
Результат IPagedCollection

GetPagedKeyWords() публичный абстрактный Метод

public abstract GetPagedKeyWords ( int pageIndex, int pageSize ) : IPagedCollection
pageIndex int
pageSize int
Результат IPagedCollection

GetPagedLinks() публичный абстрактный Метод

public abstract GetPagedLinks ( int categoryTypeID, int pageIndex, int pageSize, bool sortDescending ) : IPagedCollection
categoryTypeID int
pageIndex int
pageSize int
sortDescending bool
Результат IPagedCollection

GetPagedReferrers() публичный абстрактный Метод

public abstract GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IPagedCollection
pageIndex int
pageSize int
entryId int
Результат IPagedCollection

GetPagedViewStats() публичный абстрактный Метод

public abstract GetPagedViewStats ( int pageIndex, int pageSize, System.DateTime beginDate, System.DateTime endDate ) : IPagedCollection
pageIndex int
pageSize int
beginDate System.DateTime
endDate System.DateTime
Результат IPagedCollection

GetPostCollectionByMonth() публичный абстрактный Метод

public abstract GetPostCollectionByMonth ( int month, int year ) : IList
month int
year int
Результат IList

GetPostsByCategoryArchive() публичный абстрактный Метод

public abstract GetPostsByCategoryArchive ( ) : IList
Результат IList

GetPostsByCategoryID() публичный абстрактный Метод

public abstract GetPostsByCategoryID ( int itemCount, int catID ) : IList
itemCount int
catID int
Результат IList

GetPostsByDayRange() публичный абстрактный Метод

public abstract GetPostsByDayRange ( System.DateTime start, System.DateTime stop, PostType postType, bool activeOnly ) : IList
start System.DateTime
stop System.DateTime
postType PostType
activeOnly bool
Результат IList

GetPostsByMonth() публичный абстрактный Метод

public abstract GetPostsByMonth ( int month, int year ) : IList
month int
year int
Результат IList

GetPostsByMonthArchive() публичный абстрактный Метод

public abstract GetPostsByMonthArchive ( ) : IList
Результат IList

GetPostsByYearArchive() публичный абстрактный Метод

public abstract GetPostsByYearArchive ( ) : IList
Результат IList

GetPreviousAndNextEntries() публичный абстрактный Метод

Returns the previous and next entry to the specified entry.
public abstract GetPreviousAndNextEntries ( int entryId, PostType postType ) : IList
entryId int
postType PostType
Результат IList

GetTopTags() публичный абстрактный Метод

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.
Результат int>.IDictionary

InsertImage() публичный абстрактный Метод

public abstract InsertImage ( Image _image ) : int
_image Image
Результат int

InsertKeyWord() публичный абстрактный Метод

public abstract InsertKeyWord ( KeyWord keyWord ) : int
keyWord Subtext.Framework.Components.KeyWord
Результат int

Instance() публичный статический Метод

Returns the currently configured ObjectProvider.
public static Instance ( ) : ObjectProvider
Результат ObjectProvider

ListBlogGroups() публичный абстрактный Метод

Lists the blog groups.
public abstract ListBlogGroups ( bool activeOnly ) : IList
activeOnly bool if set to true [active only].
Результат IList

LoadHostInfo() публичный абстрактный Метод

Returns the HostInfo for the Subtext installation.
public abstract LoadHostInfo ( HostInfo info ) : HostInfo
info HostInfo
Результат HostInfo

SetEntryCategoryList() публичный абстрактный Метод

public abstract SetEntryCategoryList ( int entryId, int categoryIds ) : bool
entryId int
categoryIds int
Результат bool

SetEntryTagList() публичный абстрактный Метод

Sets the tags for the entry.
public abstract SetEntryTagList ( int entryId, IList tags ) : bool
entryId int
tags IList
Результат bool

TrackEntry() публичный абстрактный Метод

public abstract TrackEntry ( EntryView ev ) : bool
ev Subtext.Framework.Components.EntryView
Результат bool

TrackEntry() публичный абстрактный Метод

public abstract TrackEntry ( IEnumerable evc ) : bool
evc IEnumerable
Результат bool

Update() публичный абстрактный Метод

public abstract Update ( Enclosure metaTag ) : bool
metaTag Subtext.Framework.Components.Enclosure
Результат bool

Update() публичный абстрактный Метод

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.
Результат bool

Update() публичный абстрактный Метод

Saves changes to the specified feedback.
public abstract Update ( FeedbackItem feedbackItem ) : bool
feedbackItem Subtext.Framework.Components.FeedbackItem The feedback item.
Результат bool

Update() публичный абстрактный Метод

Updates the given MetaTag in the data store.
public abstract Update ( MetaTag metaTag ) : bool
metaTag Subtext.Framework.Components.MetaTag
Результат bool

UpdateBlog() публичный абстрактный Метод

Updates the specified blog configuration.
public abstract UpdateBlog ( BlogInfo info ) : bool
info BlogInfo Config.
Результат bool

UpdateBlogAlias() публичный абстрактный Метод

public abstract UpdateBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
Результат bool

UpdateHost() публичный абстрактный Метод

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.
Результат bool

UpdateImage() публичный абстрактный Метод

public abstract UpdateImage ( Image _image ) : bool
_image Image
Результат bool

UpdateKeyWord() публичный абстрактный Метод

public abstract UpdateKeyWord ( KeyWord keyWord ) : bool
keyWord Subtext.Framework.Components.KeyWord
Результат bool

UpdateLink() публичный абстрактный Метод

public abstract UpdateLink ( Link link ) : bool
link Subtext.Framework.Components.Link
Результат bool

UpdateLinkCategory() публичный абстрактный Метод

public abstract UpdateLinkCategory ( LinkCategory lc ) : bool
lc Subtext.Framework.Components.LinkCategory
Результат bool