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
Afficher le fichier Open project: ayende/Subtext Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public abstract ClearBlogContent ( int blogId ) : void
blogId int
Résultat void

Create() public abstract méthode

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

Create() public abstract méthode

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.
Résultat int

Create() public abstract méthode

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

Create() public abstract méthode

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

CreateBlog() public abstract méthode

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
Résultat bool

CreateBlog() public abstract méthode

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
Résultat bool

CreateBlogAlias() public abstract méthode

public abstract CreateBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
Résultat bool

CreateLink() public abstract méthode

public abstract CreateLink ( Link link ) : int
link Subtext.Framework.Components.Link
Résultat int

CreateLinkCategory() public abstract méthode

public abstract CreateLinkCategory ( LinkCategory lc ) : int
lc Subtext.Framework.Components.LinkCategory
Résultat int

Delete() public abstract méthode

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

DeleteBlogAlias() public abstract méthode

public abstract DeleteBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
Résultat bool

DeleteEnclosure() public abstract méthode

public abstract DeleteEnclosure ( int enclosureId ) : bool
enclosureId int
Résultat bool

DeleteImage() public abstract méthode

public abstract DeleteImage ( int ImageID ) : bool
ImageID int
Résultat bool

DeleteKeyWord() public abstract méthode

public abstract DeleteKeyWord ( int id ) : bool
id int
Résultat bool

DeleteLink() public abstract méthode

public abstract DeleteLink ( int LinkID ) : bool
LinkID int
Résultat bool

DeleteLinkCategory() public abstract méthode

public abstract DeleteLinkCategory ( int CategoryID ) : bool
CategoryID int
Résultat bool

DeleteMetaTag() public abstract méthode

Deletes the MetaTag with the given metaTagId.
public abstract DeleteMetaTag ( int metaTagId ) : bool
metaTagId int
Résultat bool

DestroyFeedback() public abstract méthode

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

DestroyFeedback() public abstract méthode

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

GetActiveCategories() public abstract méthode

public abstract GetActiveCategories ( ) : IList
Résultat IList

GetBlogAliasById() public abstract méthode

public abstract GetBlogAliasById ( int aliasId ) : BlogAlias
aliasId int
Résultat BlogAlias

GetBlogByDomainAlias() public abstract méthode

public abstract GetBlogByDomainAlias ( string host, string subfolder, bool strict ) : BlogInfo
host string
subfolder string
strict bool
Résultat BlogInfo

GetBlogById() public abstract méthode

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

GetBlogGroup() public abstract méthode

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].
Résultat Subtext.Framework.Components.BlogGroup

GetBlogInfo() public méthode

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.
Résultat BlogInfo

GetBlogInfo() public abstract méthode

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.
Résultat BlogInfo

GetBlogPosts() public abstract méthode

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.
Résultat IList

GetCategories() public abstract méthode

public abstract GetCategories ( CategoryType catType, bool activeOnly ) : IList
catType CategoryType
activeOnly bool
Résultat IList

GetCommentByChecksumHash() public abstract méthode

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

GetConditionalEntries() public abstract méthode

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
Résultat IList

GetEntriesByCategory() public abstract méthode

public abstract GetEntriesByCategory ( int ItemCount, int catID, bool ActiveOnly ) : IList
ItemCount int
catID int
ActiveOnly bool
Résultat IList

GetEntriesByTag() public abstract méthode

public abstract GetEntriesByTag ( int itemCount, string tagName ) : IList
itemCount int
tagName string
Résultat IList

GetEntry() public abstract méthode

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
Résultat Subtext.Framework.Components.Entry

GetEntry() public abstract méthode

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
Résultat Subtext.Framework.Components.Entry

GetEntry() public abstract méthode

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
Résultat Subtext.Framework.Components.Entry

GetEntryDay() public abstract méthode

public abstract GetEntryDay ( System.DateTime dt ) : EntryDay
dt System.DateTime
Résultat EntryDay

GetFeedback() public abstract méthode

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

GetFeedbackCounts() public abstract méthode

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.
Résultat void

GetFeedbackForEntry() public abstract méthode

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

GetImage() public abstract méthode

public abstract GetImage ( int imageID, bool activeOnly ) : Image
imageID int
activeOnly bool
Résultat Image

GetImagesByCategoryID() public abstract méthode

public abstract GetImagesByCategoryID ( int catID, bool activeOnly ) : ImageCollection
catID int
activeOnly bool
Résultat ImageCollection

GetKeyWord() public abstract méthode

public abstract GetKeyWord ( int KeyWordID ) : KeyWord
KeyWordID int
Résultat Subtext.Framework.Components.KeyWord

GetKeyWords() public abstract méthode

public abstract GetKeyWords ( ) : IList
Résultat IList

GetLink() public abstract méthode

public abstract GetLink ( int linkID ) : Link
linkID int
Résultat Subtext.Framework.Components.Link

GetLinkCategory() public abstract méthode

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].
Résultat Subtext.Framework.Components.LinkCategory

GetLinkCategory() public abstract méthode

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].
Résultat Subtext.Framework.Components.LinkCategory

GetLinkCollectionByPostID() public abstract méthode

public abstract GetLinkCollectionByPostID ( int PostID ) : IList
PostID int
Résultat IList

GetMetaTagsForBlog() public abstract méthode

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
Résultat IPagedCollection

GetMetaTagsForEntry() public abstract méthode

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
Résultat IPagedCollection

GetPagedBlogDomainAlias() public abstract méthode

public abstract GetPagedBlogDomainAlias ( BlogInfo blog, int pageIndex, int pageSize ) : PagedCollection
blog BlogInfo
pageIndex int
pageSize int
Résultat PagedCollection

GetPagedBlogs() public abstract méthode

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
Résultat PagedCollection

GetPagedEntries() public abstract méthode

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.
Résultat IPagedCollection

GetPagedFeedback() public abstract méthode

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.
Résultat IPagedCollection

GetPagedKeyWords() public abstract méthode

public abstract GetPagedKeyWords ( int pageIndex, int pageSize ) : IPagedCollection
pageIndex int
pageSize int
Résultat IPagedCollection

GetPagedLinks() public abstract méthode

public abstract GetPagedLinks ( int categoryTypeID, int pageIndex, int pageSize, bool sortDescending ) : IPagedCollection
categoryTypeID int
pageIndex int
pageSize int
sortDescending bool
Résultat IPagedCollection

GetPagedReferrers() public abstract méthode

public abstract GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IPagedCollection
pageIndex int
pageSize int
entryId int
Résultat IPagedCollection

GetPagedViewStats() public abstract méthode

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

GetPostCollectionByMonth() public abstract méthode

public abstract GetPostCollectionByMonth ( int month, int year ) : IList
month int
year int
Résultat IList

GetPostsByCategoryArchive() public abstract méthode

public abstract GetPostsByCategoryArchive ( ) : IList
Résultat IList

GetPostsByCategoryID() public abstract méthode

public abstract GetPostsByCategoryID ( int itemCount, int catID ) : IList
itemCount int
catID int
Résultat IList

GetPostsByDayRange() public abstract méthode

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

GetPostsByMonth() public abstract méthode

public abstract GetPostsByMonth ( int month, int year ) : IList
month int
year int
Résultat IList

GetPostsByMonthArchive() public abstract méthode

public abstract GetPostsByMonthArchive ( ) : IList
Résultat IList

GetPostsByYearArchive() public abstract méthode

public abstract GetPostsByYearArchive ( ) : IList
Résultat IList

GetPreviousAndNextEntries() public abstract méthode

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

GetTopTags() public abstract méthode

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.
Résultat int>.IDictionary

InsertImage() public abstract méthode

public abstract InsertImage ( Image _image ) : int
_image Image
Résultat int

InsertKeyWord() public abstract méthode

public abstract InsertKeyWord ( KeyWord keyWord ) : int
keyWord Subtext.Framework.Components.KeyWord
Résultat int

Instance() public static méthode

Returns the currently configured ObjectProvider.
public static Instance ( ) : ObjectProvider
Résultat ObjectProvider

ListBlogGroups() public abstract méthode

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

LoadHostInfo() public abstract méthode

Returns the HostInfo for the Subtext installation.
public abstract LoadHostInfo ( HostInfo info ) : HostInfo
info HostInfo
Résultat HostInfo

SetEntryCategoryList() public abstract méthode

public abstract SetEntryCategoryList ( int entryId, int categoryIds ) : bool
entryId int
categoryIds int
Résultat bool

SetEntryTagList() public abstract méthode

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

TrackEntry() public abstract méthode

public abstract TrackEntry ( EntryView ev ) : bool
ev Subtext.Framework.Components.EntryView
Résultat bool

TrackEntry() public abstract méthode

public abstract TrackEntry ( IEnumerable evc ) : bool
evc IEnumerable
Résultat bool

Update() public abstract méthode

public abstract Update ( Enclosure metaTag ) : bool
metaTag Subtext.Framework.Components.Enclosure
Résultat bool

Update() public abstract méthode

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.
Résultat bool

Update() public abstract méthode

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

Update() public abstract méthode

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

UpdateBlog() public abstract méthode

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

UpdateBlogAlias() public abstract méthode

public abstract UpdateBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
Résultat bool

UpdateHost() public abstract méthode

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.
Résultat bool

UpdateImage() public abstract méthode

public abstract UpdateImage ( Image _image ) : bool
_image Image
Résultat bool

UpdateKeyWord() public abstract méthode

public abstract UpdateKeyWord ( KeyWord keyWord ) : bool
keyWord Subtext.Framework.Components.KeyWord
Résultat bool

UpdateLink() public abstract méthode

public abstract UpdateLink ( Link link ) : bool
link Subtext.Framework.Components.Link
Résultat bool

UpdateLinkCategory() public abstract méthode

public abstract UpdateLinkCategory ( LinkCategory lc ) : bool
lc Subtext.Framework.Components.LinkCategory
Résultat bool