Метод | Описание | |
---|---|---|
ClearBlogContent ( int blogId ) : void | ||
Create ( |
||
Create ( |
Creates the specified entry in the back end data store attaching the specified category ids.
|
|
Create ( |
||
Create ( |
||
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 ( |
||
CreateLinkCategory ( |
||
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 | ||
DestroyFeedback ( FeedbackStatusFlag status ) : void | ||
DestroyFeedback ( int id ) : void |
Completely deletes the feedback from the system.
|
|
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 ) : |
Gets the blog group.
|
|
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 |
Returns blog posts that meet the criteria specified in the PostConfig flags.
|
|
GetCategories ( CategoryType catType, bool activeOnly ) : IList |
Gets the categories for the specified category type.
|
|
GetCommentByChecksumHash ( string checksumHash ) : |
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 specific PostType and the PostConfig flags. This is called to get the main syndicated entries. |
|
GetEntriesByCategory ( int itemCount, int catID, bool activeOnly ) : IList |
||
GetEntriesByTag ( int itemCount, string tagName ) : IList |
||
GetEntry ( int id, bool includeCategories ) : |
Returns an active Entry by the id regardless of which blog it is located in.
|
|
GetEntry ( int id, bool activeOnly, bool includeCategories ) : |
Returns an Entry with the specified id.
|
|
GetEntry ( string entryName, bool activeOnly, bool includeCategories ) : |
Returns an Entry with the specified entry name.
|
|
GetEntryDay ( DateTime dt ) : EntryDay | ||
GetFeedback ( int id ) : |
Returns the feedback by id.
|
|
GetFeedbackCounts ( int &approved, int &needsModeration, int &flaggedAsSpam, int &deleted ) : void |
Gets the feedback counts for the various top level statuses.
|
|
GetFeedbackForEntry ( |
Returns all the active entries for the specified post.
|
|
GetImage ( int imageID, bool activeOnly ) : |
||
GetImagesByCategoryID ( int catID, bool activeOnly ) : ImageCollection | ||
GetKeyWord ( int KeyWordID ) : |
||
GetKeyWords ( ) : IList |
||
GetLink ( int linkID ) : |
||
GetLinkCategory ( int categoryId, bool activeOnly ) : |
Gets the link category for the specified category id.
|
|
GetLinkCategory ( string categoryName, bool activeOnly ) : |
Gets the link category for the specified category name.
|
|
GetLinkCollectionByPostID ( int PostID ) : IList | ||
GetMetaTagsForBlog ( BlogInfo blog, int pageIndex, int pageSize ) : IPagedCollection |
||
GetMetaTagsForEntry ( |
||
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, DateTime beginDate, DateTime endDate ) : IPagedCollection |
||
GetPostCollectionByMonth ( int month, int year ) : IList |
||
GetPostsByCategoryArchive ( ) : IList |
||
GetPostsByCategoryID ( int itemCount, int catID ) : IList |
||
GetPostsByDayRange ( DateTime start, 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 |
||
InsertImage ( |
||
InsertKeyWord ( |
||
ListBlogGroups ( bool activeOnly ) : IList |
Lists the blog groups.
|
|
LoadHostInfo ( HostInfo hostInfo ) : HostInfo |
Returns the HostInfo for the Subtext installation.
|
|
SetEntryCategoryList ( int entryId, int categoryIds ) : bool | ||
SetEntryTagList ( int entryId, IList |
||
TrackEntry ( |
||
TrackEntry ( IEnumerable |
||
Update ( |
||
Update ( |
Saves changes to the specified entry attaching the specified categories.
|
|
Update ( |
Saves changes to the specified feedback.
|
|
Update ( |
||
UpdateBlog ( BlogInfo info ) : bool | ||
UpdateBlogAlias ( BlogAlias alias ) : bool | ||
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 ( |
||
UpdateKeyWord ( |
||
UpdateLink ( |
||
UpdateLinkCategory ( |
Метод | Описание | |
---|---|---|
FormatEntry ( |
||
LoadLinkCategoryFromReader ( IDataReader reader ) : |
||
LoadPagedReferrersCollection ( IDataReader reader ) : IPagedCollection |
public ClearBlogContent ( int blogId ) : void | ||
blogId | int | |
Результат | void |
public Create ( |
||
enclosure | ||
Результат | int |
public Create ( |
||
entry | Entry. | |
categoryIds | int | Category I ds. |
Результат | int |
public Create ( |
||
feedbackItem | ||
Результат | int |
public Create ( |
||
metaTag | ||
Результат | int |
public 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 |
public 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 |
public CreateBlogAlias ( BlogAlias alias ) : bool | ||
alias | BlogAlias | |
Результат | bool |
public CreateLink ( |
||
link | ||
Результат | int |
public CreateLinkCategory ( |
||
lc | ||
Результат | int |
public Delete ( int entryId ) : bool | ||
entryId | int | The entry id. |
Результат | bool |
public DeleteBlogAlias ( BlogAlias alias ) : bool | ||
alias | BlogAlias | |
Результат | bool |
public DeleteEnclosure ( int enclosureId ) : bool | ||
enclosureId | int | |
Результат | bool |
public DeleteLinkCategory ( int CategoryID ) : bool | ||
CategoryID | int | |
Результат | bool |
public DeleteMetaTag ( int metaTagId ) : bool | ||
metaTagId | int | |
Результат | bool |
public DestroyFeedback ( FeedbackStatusFlag status ) : void | ||
status | FeedbackStatusFlag | |
Результат | void |
public DestroyFeedback ( int id ) : void | ||
id | int | The id. |
Результат | void |
public GetBlogAliasById ( int aliasId ) : BlogAlias | ||
aliasId | int | |
Результат | BlogAlias |
public GetBlogByDomainAlias ( string host, string subfolder, bool strict ) : BlogInfo | ||
host | string | |
subfolder | string | |
strict | bool | |
Результат | BlogInfo |
public GetBlogById ( int blogId ) : BlogInfo | ||
blogId | int | Blog id. |
Результат | BlogInfo |
public GetBlogGroup ( int id, bool activeOnly ) : |
||
id | int | The id. |
activeOnly | bool | if set to |
Результат |
public GetBlogInfo ( string hostname, string subfolder, bool strict ) : BlogInfo | ||
hostname | string | Hostname. |
subfolder | string | Subfolder. |
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 |
public GetBlogPosts ( int itemCount, PostConfig pc ) : IList |
||
itemCount | int | Item count. |
pc | PostConfig | Pc. |
Результат | IList |
public GetCategories ( CategoryType catType, bool activeOnly ) : IList |
||
catType | CategoryType | Type of the cat. |
activeOnly | bool | if set to |
Результат | IList |
public GetCommentByChecksumHash ( string checksumHash ) : |
||
checksumHash | string | Checksum hash. |
Результат |
public GetConditionalEntries ( int itemCount, PostType postType, PostConfig postConfig, bool includeCategories ) : IList |
||
itemCount | int | Item count. |
postType | PostType | The type of post to retrieve. |
postConfig | PostConfig | Post configuration options. |
includeCategories | bool | Whether or not to include categories |
Результат | IList |
public GetEntriesByCategory ( int itemCount, int catID, bool activeOnly ) : IList |
||
itemCount | int | |
catID | int | |
activeOnly | bool | |
Результат | IList |
public GetEntriesByTag ( int itemCount, string tagName ) : IList |
||
itemCount | int | |
tagName | string | |
Результат | IList |
public GetEntry ( int id, bool includeCategories ) : |
||
id | int | Id of the entry |
includeCategories | bool | Whether the entry should have its Categories property populated |
Результат |
public GetEntry ( int id, bool activeOnly, bool includeCategories ) : |
||
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 |
Результат |
public GetEntry ( string entryName, bool activeOnly, bool includeCategories ) : |
||
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 |
Результат |
public GetEntryDay ( DateTime dt ) : EntryDay | ||
dt | DateTime | |
Результат | EntryDay |
public GetFeedback ( int id ) : |
||
id | int | |
Результат |
public 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 GetFeedbackForEntry ( |
||
parentEntry | ||
Результат | IList |
public GetImage ( int imageID, bool activeOnly ) : |
||
imageID | int | |
activeOnly | bool | |
Результат |
public GetImagesByCategoryID ( int catID, bool activeOnly ) : ImageCollection | ||
catID | int | |
activeOnly | bool | |
Результат | ImageCollection |
public GetKeyWord ( int KeyWordID ) : |
||
KeyWordID | int | |
Результат |
public GetLink ( int linkID ) : |
||
linkID | int | |
Результат |
public GetLinkCategory ( int categoryId, bool activeOnly ) : |
||
categoryId | int | The category id. |
activeOnly | bool | if set to |
Результат |
public GetLinkCategory ( string categoryName, bool activeOnly ) : |
||
categoryName | string | The category name. |
activeOnly | bool | if set to |
Результат |
public GetLinkCollectionByPostID ( int PostID ) : IList | ||
PostID | int | |
Результат | IList |
public GetMetaTagsForBlog ( BlogInfo blog, int pageIndex, int pageSize ) : IPagedCollection |
||
blog | BlogInfo | |
pageIndex | int | |
pageSize | int | |
Результат | IPagedCollection |
public GetMetaTagsForEntry ( |
||
entry | ||
pageIndex | int | |
pageSize | int | |
Результат | IPagedCollection |
public GetPagedBlogDomainAlias ( BlogInfo blog, int pageIndex, int pageSize ) : PagedCollection |
||
blog | BlogInfo | |
pageIndex | int | |
pageSize | int | |
Результат | PagedCollection |
public GetPagedBlogs ( string host, int pageIndex, int pageSize, ConfigurationFlags flags ) : PagedCollection |
||
host | string | The host filter. Set to null to return all blogs. |
pageIndex | int | Page index. |
pageSize | int | Size of the page. |
flags | ConfigurationFlags | |
Результат | PagedCollection |
public 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 |
public 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 |
public GetPagedKeyWords ( int pageIndex, int pageSize ) : IPagedCollection |
||
pageIndex | int | |
pageSize | int | |
Результат | IPagedCollection |
public GetPagedLinks ( int categoryTypeID, int pageIndex, int pageSize, bool sortDescending ) : IPagedCollection | ||
categoryTypeID | int | |
pageIndex | int | |
pageSize | int | |
sortDescending | bool | |
Результат | IPagedCollection |
public GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IPagedCollection |
||
pageIndex | int | |
pageSize | int | |
entryId | int | |
Результат | IPagedCollection |
public GetPagedViewStats ( int pageIndex, int pageSize, DateTime beginDate, DateTime endDate ) : IPagedCollection |
||
pageIndex | int | |
pageSize | int | |
beginDate | DateTime | |
endDate | DateTime | |
Результат | IPagedCollection |
public GetPostCollectionByMonth ( int month, int year ) : IList |
||
month | int | |
year | int | |
Результат | IList |
public GetPostsByCategoryArchive ( ) : IList |
||
Результат | IList |
public GetPostsByCategoryID ( int itemCount, int catID ) : IList |
||
itemCount | int | |
catID | int | |
Результат | IList |
public GetPostsByDayRange ( DateTime start, DateTime stop, PostType postType, bool activeOnly ) : IList |
||
start | DateTime | |
stop | DateTime | |
postType | PostType | |
activeOnly | bool | |
Результат | IList |
public GetPostsByMonth ( int month, int year ) : IList |
||
month | int | |
year | int | |
Результат | IList |
public GetPreviousAndNextEntries ( int entryId, PostType postType ) : IList |
||
entryId | int | |
postType | PostType | |
Результат | IList |
public GetTopTags ( int ItemCount ) : int>.IDictionary |
||
ItemCount | int | |
Результат | int>.IDictionary |
public InsertImage ( |
||
_image | ||
Результат | int |
public InsertKeyWord ( |
||
keyWord | ||
Результат | int |
public ListBlogGroups ( bool activeOnly ) : IList |
||
activeOnly | bool | if set to |
Результат | IList |
public LoadHostInfo ( HostInfo hostInfo ) : HostInfo | ||
hostInfo | HostInfo | |
Результат | HostInfo |
public SetEntryCategoryList ( int entryId, int categoryIds ) : bool | ||
entryId | int | |
categoryIds | int | |
Результат | bool |
public SetEntryTagList ( int entryId, IList |
||
entryId | int | |
tags | IList |
|
Результат | bool |
public TrackEntry ( |
||
ev | ||
Результат | bool |
public TrackEntry ( IEnumerable |
||
evc | IEnumerable |
|
Результат | bool |
public Update ( |
||
enclosure | ||
Результат | bool |
public Update ( |
||
entry | Entry. | |
Результат | bool |
public Update ( |
||
feedbackItem | The feedback item. | |
Результат | bool |
public Update ( |
||
metaTag | ||
Результат | bool |
public UpdateBlog ( BlogInfo info ) : bool | ||
info | BlogInfo | |
Результат | bool |
public UpdateBlogAlias ( BlogAlias alias ) : bool | ||
alias | BlogAlias | |
Результат | bool |
public UpdateHost ( HostInfo host ) : bool | ||
host | HostInfo | The host information. |
Результат | bool |
public UpdateImage ( |
||
image | ||
Результат | bool |
public UpdateKeyWord ( |
||
keyWord | ||
Результат | bool |
public UpdateLink ( |
||
link | ||
Результат | bool |
public UpdateLinkCategory ( |
||
lc | ||
Результат | bool |