메소드 | 설명 | |
---|---|---|
AddBlogAlias ( BlogAlias alias ) : bool | ||
AddBlogConfiguration ( 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.
|
|
AddBlogConfiguration ( 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.
|
|
ClearBlogContent ( int blogId ) : bool |
Clears all content (Entries, Comments, Track/Ping-backs, Statistices, etc...) for a the current blog (sans the Image Galleries).
|
|
ClearLog ( ) : void | ||
DeleteBlogAlias ( BlogAlias alias ) : bool | ||
DeleteBlogGroup ( int BlogGroupId ) : bool | ||
DeleteCategory ( int catId ) : bool | ||
DeleteEnclosure ( int enclosureId ) : bool | ||
DeleteEntry ( int id ) : bool |
Deletes an entry with the specified id.
|
|
DeleteImage ( int imageID ) : bool | ||
DeleteKeyWord ( int keywordId ) : bool | ||
DeleteLink ( int linkId ) : bool | ||
DeleteMetaTag ( int metaTagId ) : bool | ||
DestroyFeedback ( FeedbackStatusFlag status ) : void |
Completely deletes all feedback that fit the status.
|
|
DestroyFeedback ( int id ) : void |
Completely deletes a feedback item from the database.
|
|
GetActiveCategories ( ) : |
||
GetAggregateHomePageData ( int groupId ) : |
Returns data displayed on an aggregate blog's home page.
|
|
GetAggregateRecentImages ( int groupId ) : |
||
GetAggregateRecentPosts ( int groupId ) : |
||
GetAggregateStats ( int groupId ) : |
||
GetAggregateTotalStats ( int groupId ) : |
||
GetBlogAliasById ( int aliasId ) : IDataReader | ||
GetBlogByDomainAlias ( string host, string subfolder, bool strict ) : IDataReader |
Get blog using a domain alias
|
|
GetBlogById ( int blogId ) : IDataReader |
Gets the blog by id.
|
|
GetBlogGroup ( int id, bool activeOnly ) : IDataReader |
Deletes the specified BlogGroup id.
|
|
GetBlogInfo ( string host, string subfolder ) : IDataReader |
Returns a IDataReader instance containing the configuration settings for the blog specified by the Hostname and Application.
|
|
GetBlogInfo ( string host, string subfolder, bool strict ) : IDataReader |
Returns a IDataReader 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. |
|
GetCategories ( CategoryType catType, bool activeOnly ) : IDataReader | ||
GetCommentByChecksumHash ( string checksumHash ) : IDataReader |
Searches the data store for the first comment with a matching checksum hash.
|
|
GetConditionalEntries ( int itemCount, PostType postType, PostConfig postConfiguration, bool includeCategories ) : IDataReader |
Returns the specified number of blog entries
|
|
GetEntriesByCategory ( int itemCount, int catID, bool activeOnly ) : IDataReader | ||
GetEntriesByDateRange ( System.DateTime start, System.DateTime stop, PostType postType, bool activeOnly ) : IDataReader | ||
GetEntriesByTag ( int itemCount, string tagName ) : IDataReader | ||
GetEntryDayReader ( System.DateTime dt ) : IDataReader | ||
GetEntryReader ( int id, bool includeCategories ) : IDataReader |
Returns a Data Reader pointing to the active entry specified by the entry id no matter which bog it belongs to.
|
|
GetEntryReader ( int id, bool activeOnly, bool includeCategories ) : IDataReader |
Returns a Data Reader pointing to the entry specified by the entry id. Only returns entries for the current blog (Config.CurrentBlog).
|
|
GetEntryReader ( string entryName, bool activeOnly, bool includeCategories ) : IDataReader |
Returns a Data Reader pointing to the entry specified by the entry name. Only returns entries for the current blog (Config.CurrentBlog).
|
|
GetFeedBackItem ( int id ) : IDataReader |
Gets the feed back item by id.
|
|
GetFeedBackItems ( int postId ) : IDataReader |
Gets the feed back items belonging to the specified post.
|
|
GetFeedbackCounts ( int &approved, int &needsModeration, int &flaggedAsSpam, int &deleted ) : void |
Gets the feedback counts for the various top level statuses.
|
|
GetHost ( ) : IDataReader |
Returns the data for the Host.
|
|
GetImage ( int imageID, bool activeOnly ) : IDataReader | ||
GetImagesByCategoryID ( int catID, bool activeOnly ) : IDataReader | ||
GetKeyWord ( int keyWordID ) : IDataReader | ||
GetKeyWords ( ) : IDataReader | ||
GetLatestEntryDate ( ) : DateTime? | ||
GetLinkCategory ( int categoryId, bool isActive ) : IDataReader |
Returns a data reader for the specified category id.
|
|
GetLinkCategory ( string categoryName, bool isActive ) : IDataReader |
Returns a data reader for the specified category name.
|
|
GetLinkCollectionByPostID ( int postId ) : IDataReader | ||
GetLinkReader ( int linkID ) : IDataReader | ||
GetMetaTagsForBlog ( BlogInfo blog, int pageIndex, int pageSize ) : IDataReader | ||
GetMetaTagsForEntry ( |
||
GetPagedBlogDomainAliases ( int blogId, int pageIndex, int pageSize ) : IDataReader | ||
GetPagedBlogs ( string host, int pageIndex, int pageSize, ConfigurationFlags flags ) : IDataReader |
Returns a list of all the blogs within the specified range.
|
|
GetPagedEntries ( PostType postType, int categoryID, int pageIndex, int pageSize ) : IDataReader |
Returns a data reader (IDataReader) pointing to all the blog entries ordered by ID Descending for the specified page index (0-based) and page size.
|
|
GetPagedFeedback ( int pageIndex, int pageSize, FeedbackStatusFlag status, FeedbackStatusFlag excludeStatusMask, FeedbackType type ) : IDataReader |
Returns a data reader (IDataReader) pointing to all the comments ordered by ID Descending for the specified page index (0-based) and page size.
|
|
GetPagedKeyWords ( int pageIndex, int pageSize ) : IDataReader | ||
GetPagedLinks ( int categoryId, int pageIndex, int pageSize, bool sortDescending ) : IDataReader | ||
GetPagedLogEntries ( int pageIndex, int pageSize ) : IDataReader |
Gets the specified page of log entries.
|
|
GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IDataReader | ||
GetPagedViewStats ( int pageIndex, int pageSize, System.DateTime beginDate, System.DateTime endDate ) : IDataReader | ||
GetPostCollectionByMonth ( int month, int year ) : IDataReader | ||
GetPostsByCategoryArchive ( ) : IDataReader | ||
GetPostsByMonthArchive ( ) : IDataReader | ||
GetPostsByYearArchive ( ) : IDataReader | ||
GetPreviousNext ( int entryId ) : IDataReader |
Returns a data set with the previous and next entries.
|
|
GetTopTags ( int ItemCount ) : IDataReader | ||
Initialize ( string name, |
Initializes this provider, setting the connection string.
|
|
InsertBlogGroup ( string title, bool isActive, int displayOrder, string description ) : int |
Inserts the blog group.
|
|
InsertCategory ( |
||
InsertEnclosure ( |
||
InsertEntry ( |
Adds a new entry in the database.
|
|
InsertFeedback ( |
Adds comment or a ping/trackback for an entry in the database.
|
|
InsertImage ( Image image ) : int | ||
InsertKeyWord ( |
||
InsertLink ( |
||
InsertMetaTag ( |
||
Instance ( ) : |
Returns the currently configured DbProvider.
|
|
ListBlogGroups ( bool isActive ) : IDataReader |
Lists the blog groups.
|
|
PushOtherPostsDatesAfter ( System.DateTime dateTimeInPost ) : void | ||
SetEntryCategoryList ( int postId, int categoryIds ) : bool | ||
SetEntryTagList ( int postId, IEnumerable |
||
SetGroupActive ( int id, bool isActive ) : IDataReader |
Sets the group active.
|
|
TrackEntry ( |
||
TrackEntry ( IEnumerable |
||
UpdateBlog ( BlogInfo info ) : bool | ||
UpdateBlogAlias ( BlogAlias alias ) : bool | ||
UpdateBlogGroup ( int id, string title, bool isActive, int displayOrder, string description ) : bool |
Updates the blog group.
|
|
UpdateCategory ( |
||
UpdateEnclosure ( |
||
UpdateEntry ( |
Updates an existing entry.
|
|
UpdateFeedback ( |
Updates an existing feedback.
|
|
UpdateHost ( HostInfo host ) : 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 ( |
||
UpdateLink ( |
||
UpdateMetaTag ( |
public abstract AddBlogAlias ( BlogAlias alias ) : bool | ||
alias | BlogAlias | |
리턴 | bool |
public abstract AddBlogConfiguration ( 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 |
public abstract AddBlogConfiguration ( string title, string userName, string password, string host, string subfolder, int blogGroupId ) : bool | ||
title | string | The title. |
userName | string | Name of the user. |
password | string | Password. |
host | string | The host. |
subfolder | string | The subfolder. |
blogGroupId | int | The blog group. |
리턴 | bool |
public abstract ClearBlogContent ( int blogId ) : bool | ||
blogId | int | |
리턴 | bool |
public abstract DeleteBlogAlias ( BlogAlias alias ) : bool | ||
alias | BlogAlias | |
리턴 | bool |
public abstract DeleteBlogGroup ( int BlogGroupId ) : bool | ||
BlogGroupId | int | |
리턴 | bool |
public abstract DeleteEnclosure ( int enclosureId ) : bool | ||
enclosureId | int | |
리턴 | bool |
public abstract DeleteKeyWord ( int keywordId ) : bool | ||
keywordId | int | |
리턴 | bool |
public abstract DeleteMetaTag ( int metaTagId ) : bool | ||
metaTagId | int | |
리턴 | bool |
public abstract DestroyFeedback ( FeedbackStatusFlag status ) : void | ||
status | FeedbackStatusFlag | |
리턴 | void |
public abstract GetActiveCategories ( ) : |
||
리턴 |
public abstract GetAggregateHomePageData ( int groupId ) : |
||
groupId | int | The group id. |
리턴 |
public abstract GetAggregateRecentImages ( int groupId ) : |
||
groupId | int | |
리턴 |
public abstract GetAggregateRecentPosts ( int groupId ) : |
||
groupId | int | |
리턴 |
public abstract GetAggregateStats ( int groupId ) : |
||
groupId | int | |
리턴 |
public abstract GetAggregateTotalStats ( int groupId ) : |
||
groupId | int | |
리턴 |
public abstract GetBlogAliasById ( int aliasId ) : IDataReader | ||
aliasId | int | |
리턴 | IDataReader |
public abstract GetBlogByDomainAlias ( string host, string subfolder, bool strict ) : IDataReader | ||
host | string | |
subfolder | string | |
strict | bool | |
리턴 | IDataReader |
public abstract GetBlogById ( int blogId ) : IDataReader | ||
blogId | int | Blog id. |
리턴 | IDataReader |
public abstract GetBlogGroup ( int id, bool activeOnly ) : IDataReader | ||
id | int | |
activeOnly | bool | |
리턴 | IDataReader |
public abstract GetBlogInfo ( string host, string subfolder ) : IDataReader | ||
host | string | Subfolder Name. |
subfolder | string | Subfolder Name. |
리턴 | IDataReader |
public abstract GetBlogInfo ( string host, string subfolder, bool strict ) : IDataReader | ||
host | 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. |
리턴 | IDataReader |
public abstract GetCategories ( CategoryType catType, bool activeOnly ) : IDataReader | ||
catType | CategoryType | |
activeOnly | bool | |
리턴 | IDataReader |
public abstract GetCommentByChecksumHash ( string checksumHash ) : IDataReader | ||
checksumHash | string | Checksum hash. |
리턴 | IDataReader |
public abstract GetConditionalEntries ( int itemCount, PostType postType, PostConfig postConfiguration, bool includeCategories ) : IDataReader | ||
itemCount | int | |
postType | PostType | |
postConfiguration | PostConfig | |
includeCategories | bool | Whether or not to include categories |
리턴 | IDataReader |
public abstract GetEntriesByCategory ( int itemCount, int catID, bool activeOnly ) : IDataReader | ||
itemCount | int | |
catID | int | |
activeOnly | bool | |
리턴 | IDataReader |
public abstract GetEntriesByDateRange ( System.DateTime start, System.DateTime stop, PostType postType, bool activeOnly ) : IDataReader | ||
start | System.DateTime | |
stop | System.DateTime | |
postType | PostType | |
activeOnly | bool | |
리턴 | IDataReader |
public abstract GetEntriesByTag ( int itemCount, string tagName ) : IDataReader | ||
itemCount | int | |
tagName | string | |
리턴 | IDataReader |
public abstract GetEntryDayReader ( System.DateTime dt ) : IDataReader | ||
dt | System.DateTime | |
리턴 | IDataReader |
public abstract GetEntryReader ( int id, bool includeCategories ) : IDataReader | ||
id | int | |
includeCategories | bool | |
리턴 | IDataReader |
public abstract GetEntryReader ( int id, bool activeOnly, bool includeCategories ) : IDataReader | ||
id | int | |
activeOnly | bool | |
includeCategories | bool | |
리턴 | IDataReader |
public abstract GetEntryReader ( string entryName, bool activeOnly, bool includeCategories ) : IDataReader | ||
entryName | string | Url friendly entry name. |
activeOnly | bool | |
includeCategories | bool | |
리턴 | IDataReader |
public abstract GetFeedBackItem ( int id ) : IDataReader | ||
id | int | The id. |
리턴 | IDataReader |
public abstract GetFeedBackItems ( int postId ) : IDataReader | ||
postId | int | The post id. |
리턴 | IDataReader |
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 |
public abstract GetImage ( int imageID, bool activeOnly ) : IDataReader | ||
imageID | int | |
activeOnly | bool | |
리턴 | IDataReader |
public abstract GetImagesByCategoryID ( int catID, bool activeOnly ) : IDataReader | ||
catID | int | |
activeOnly | bool | |
리턴 | IDataReader |
public abstract GetKeyWord ( int keyWordID ) : IDataReader | ||
keyWordID | int | |
리턴 | IDataReader |
public abstract GetLinkCategory ( int categoryId, bool isActive ) : IDataReader | ||
categoryId | int | |
isActive | bool | |
리턴 | IDataReader |
public abstract GetLinkCategory ( string categoryName, bool isActive ) : IDataReader | ||
categoryName | string | |
isActive | bool | |
리턴 | IDataReader |
public abstract GetLinkCollectionByPostID ( int postId ) : IDataReader | ||
postId | int | |
리턴 | IDataReader |
public abstract GetLinkReader ( int linkID ) : IDataReader | ||
linkID | int | |
리턴 | IDataReader |
public abstract GetMetaTagsForBlog ( BlogInfo blog, int pageIndex, int pageSize ) : IDataReader | ||
blog | BlogInfo | |
pageIndex | int | |
pageSize | int | |
리턴 | IDataReader |
public abstract GetMetaTagsForEntry ( |
||
entry | ||
pageIndex | int | |
pageSize | int | |
리턴 | IDataReader |
public abstract GetPagedBlogDomainAliases ( int blogId, int pageIndex, int pageSize ) : IDataReader | ||
blogId | int | |
pageIndex | int | |
pageSize | int | |
리턴 | IDataReader |
public abstract GetPagedBlogs ( string host, int pageIndex, int pageSize, ConfigurationFlags flags ) : IDataReader | ||
host | string | Hostname for the blogs to grab |
pageIndex | int | Page index. |
pageSize | int | Size of the page. |
flags | ConfigurationFlags | Filter blogs retrieved. |
리턴 | IDataReader |
public abstract GetPagedEntries ( PostType postType, int categoryID, int pageIndex, int pageSize ) : IDataReader | ||
postType | PostType | |
categoryID | int | |
pageIndex | int | |
pageSize | int | |
리턴 | IDataReader |
public abstract GetPagedFeedback ( int pageIndex, int pageSize, FeedbackStatusFlag status, FeedbackStatusFlag excludeStatusMask, FeedbackType type ) : IDataReader | ||
pageIndex | int | |
pageSize | int | |
status | FeedbackStatusFlag | Status flag for the feedback to return. |
excludeStatusMask | FeedbackStatusFlag | A flag for the statuses to exclude. |
type | FeedbackType | Feedback Type (comment, comment api, etc..) for the feedback to return. |
리턴 | IDataReader |
public abstract GetPagedKeyWords ( int pageIndex, int pageSize ) : IDataReader | ||
pageIndex | int | |
pageSize | int | |
리턴 | IDataReader |
public abstract GetPagedLinks ( int categoryId, int pageIndex, int pageSize, bool sortDescending ) : IDataReader | ||
categoryId | int | |
pageIndex | int | |
pageSize | int | |
sortDescending | bool | |
리턴 | IDataReader |
public abstract GetPagedLogEntries ( int pageIndex, int pageSize ) : IDataReader | ||
pageIndex | int | Index of the page. |
pageSize | int | Size of the page. |
리턴 | IDataReader |
public abstract GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IDataReader | ||
pageIndex | int | |
pageSize | int | |
entryId | int | |
리턴 | IDataReader |
public abstract GetPagedViewStats ( int pageIndex, int pageSize, System.DateTime beginDate, System.DateTime endDate ) : IDataReader | ||
pageIndex | int | |
pageSize | int | |
beginDate | System.DateTime | |
endDate | System.DateTime | |
리턴 | IDataReader |
public abstract GetPostCollectionByMonth ( int month, int year ) : IDataReader | ||
month | int | |
year | int | |
리턴 | IDataReader |
public abstract GetPostsByCategoryArchive ( ) : IDataReader | ||
리턴 | IDataReader |
public abstract GetPostsByMonthArchive ( ) : IDataReader | ||
리턴 | IDataReader |
public abstract GetPostsByYearArchive ( ) : IDataReader | ||
리턴 | IDataReader |
public abstract GetPreviousNext ( int entryId ) : IDataReader | ||
entryId | int | |
리턴 | IDataReader |
public abstract GetTopTags ( int ItemCount ) : IDataReader | ||
ItemCount | int | |
리턴 | IDataReader |
public Initialize ( string name, |
||
name | string | Friendly Name of the provider. |
configValue | Config value. | |
리턴 | void |
public abstract InsertBlogGroup ( string title, bool isActive, int displayOrder, string description ) : int | ||
title | string | The title. |
isActive | bool | if set to |
displayOrder | int | The display order. |
description | string | The description. |
리턴 | int |
public abstract InsertCategory ( |
||
category | ||
리턴 | int |
public abstract InsertEnclosure ( |
||
enclosure | ||
리턴 | int |
public abstract InsertEntry ( |
||
entry | ||
리턴 | int |
public abstract InsertFeedback ( |
||
feedbackItem | ||
리턴 | int |
public abstract InsertKeyWord ( |
||
keyword | ||
리턴 | int |
public abstract InsertLink ( |
||
link | ||
리턴 | int |
public abstract InsertMetaTag ( |
||
metaTag | ||
리턴 | int |
public abstract ListBlogGroups ( bool isActive ) : IDataReader | ||
isActive | bool | if set to |
리턴 | IDataReader |
public abstract PushOtherPostsDatesAfter ( System.DateTime dateTimeInPost ) : void | ||
dateTimeInPost | System.DateTime | |
리턴 | void |
public abstract SetEntryCategoryList ( int postId, int categoryIds ) : bool | ||
postId | int | |
categoryIds | int | |
리턴 | bool |
public abstract SetEntryTagList ( int postId, IEnumerable |
||
postId | int | |
tags | IEnumerable |
|
리턴 | bool |
public abstract SetGroupActive ( int id, bool isActive ) : IDataReader | ||
id | int | The id. |
isActive | bool | if set to |
리턴 | IDataReader |
public abstract TrackEntry ( |
||
ev | ||
리턴 | bool |
public abstract TrackEntry ( IEnumerable |
||
evc | IEnumerable |
|
리턴 | bool |
public abstract UpdateBlogAlias ( BlogAlias alias ) : bool | ||
alias | BlogAlias | |
리턴 | bool |
public abstract UpdateBlogGroup ( int id, string title, bool isActive, int displayOrder, string description ) : bool | ||
id | int | The id. |
title | string | The title. |
isActive | bool | if set to |
displayOrder | int | The display order. |
description | string | The description. |
리턴 | bool |
public abstract UpdateCategory ( |
||
lc | ||
리턴 | bool |
public abstract UpdateEnclosure ( |
||
enclosure | ||
리턴 | bool |
public abstract UpdateEntry ( |
||
entry | ||
리턴 | bool |
public abstract UpdateFeedback ( |
||
feedbackItem | ||
리턴 | bool |
public abstract UpdateHost ( HostInfo host ) : bool | ||
host | HostInfo | The host information. |
리턴 | bool |
public abstract UpdateKeyWord ( |
||
kw | ||
리턴 | bool |
public abstract UpdateLink ( |
||
link | ||
리턴 | bool |
public abstract UpdateMetaTag ( |
||
metaTag | ||
리턴 | bool |