C# Class Tikal.MongoDBBlogProvider

Afficher le fichier Open project: tikalk/fuse.dotnet.mongodb-blogengine Class Usage Examples

Private Properties

Свойство Type Description
DocumentToPage BlogEngine.Core.Page
PageToDocument MongoDB.Driver.Document
WriteToFile void

Méthodes publiques

Méthode Description
DeleteBlogRollItem ( BlogEngine blogRollItem ) : void
DeleteCategory ( Category category ) : void

Deletes a Category

DeletePage ( BlogEngine page ) : void
DeletePost ( Post post ) : void

Deletes a post from the data store.

DeleteProfile ( AuthorProfile profile ) : void
FillBlogRoll ( ) : List
FillCategories ( ) : List

Fills an unsorted list of categories.

FillPages ( ) : List
FillPosts ( ) : List

Retrieves all posts from the data store

FillProfiles ( ) : List
FillReferrers ( ) : List
InsertBlogRollItem ( BlogEngine blogRollItem ) : void
InsertCategory ( Category category ) : void

Inserts a Category

InsertPage ( BlogEngine page ) : void
InsertPost ( Post post ) : void

Inserts a new Post to the data store.

InsertProfile ( AuthorProfile profile ) : void
InsertReferrer ( BlogEngine referrer ) : void
LoadFromDataStore ( BlogEngine exType, string exId ) : object
LoadPingServices ( ) : System.Collections.Specialized.StringCollection
LoadSettings ( ) : StringDictionary
LoadStopWords ( ) : System.Collections.Specialized.StringCollection
RemoveFromDataStore ( BlogEngine exType, string exId ) : void
SavePingServices ( System services ) : void
SaveSettings ( System settings ) : void
SaveToDataStore ( BlogEngine exType, string exId, object settings ) : void
SelectBlogRollItem ( System.Guid Id ) : BlogEngine.Core.BlogRollItem
SelectCategory ( System.Guid id ) : Category

Gets a Category based on a Guid

SelectPage ( System.Guid id ) : BlogEngine.Core.Page
SelectPost ( System.Guid id ) : Post

Retrieves a post based on the specified Id.

SelectProfile ( string id ) : AuthorProfile
SelectReferrer ( System.Guid Id ) : BlogEngine.Core.Referrer
StorageLocation ( ) : string
UpdateBlogRollItem ( BlogEngine blogRollItem ) : void
UpdateCategory ( Category category ) : void

Updates a Category

UpdatePage ( BlogEngine page ) : void
UpdatePost ( Post post ) : void

Updates a Post.

UpdateProfile ( AuthorProfile profile ) : void
UpdateReferrer ( BlogEngine referrer ) : void

Private Methods

Méthode Description
DocumentToPage ( Document doc ) : BlogEngine.Core.Page
PageToDocument ( Page page ) : Document
WriteToFile ( ) : void

Saves the Categories to disk.

Method Details

DeleteBlogRollItem() public méthode

public DeleteBlogRollItem ( BlogEngine blogRollItem ) : void
blogRollItem BlogEngine
Résultat void

DeleteCategory() public méthode

Deletes a Category
public DeleteCategory ( Category category ) : void
category Category Must be a valid Category object.
Résultat void

DeletePage() public méthode

public DeletePage ( BlogEngine page ) : void
page BlogEngine
Résultat void

DeletePost() public méthode

Deletes a post from the data store.
public DeletePost ( Post post ) : void
post Post
Résultat void

DeleteProfile() public méthode

public DeleteProfile ( AuthorProfile profile ) : void
profile AuthorProfile
Résultat void

FillBlogRoll() public méthode

public FillBlogRoll ( ) : List
Résultat List

FillCategories() public méthode

Fills an unsorted list of categories.
public FillCategories ( ) : List
Résultat List

FillPages() public méthode

public FillPages ( ) : List
Résultat List

FillPosts() public méthode

Retrieves all posts from the data store
public FillPosts ( ) : List
Résultat List

FillProfiles() public méthode

public FillProfiles ( ) : List
Résultat List

FillReferrers() public méthode

public FillReferrers ( ) : List
Résultat List

InsertBlogRollItem() public méthode

public InsertBlogRollItem ( BlogEngine blogRollItem ) : void
blogRollItem BlogEngine
Résultat void

InsertCategory() public méthode

Inserts a Category
public InsertCategory ( Category category ) : void
category Category Must be a valid Category object.
Résultat void

InsertPage() public méthode

public InsertPage ( BlogEngine page ) : void
page BlogEngine
Résultat void

InsertPost() public méthode

Inserts a new Post to the data store.
public InsertPost ( Post post ) : void
post Post
Résultat void

InsertProfile() public méthode

public InsertProfile ( AuthorProfile profile ) : void
profile AuthorProfile
Résultat void

InsertReferrer() public méthode

public InsertReferrer ( BlogEngine referrer ) : void
referrer BlogEngine
Résultat void

LoadFromDataStore() public méthode

public LoadFromDataStore ( BlogEngine exType, string exId ) : object
exType BlogEngine
exId string
Résultat object

LoadPingServices() public méthode

public LoadPingServices ( ) : System.Collections.Specialized.StringCollection
Résultat System.Collections.Specialized.StringCollection

LoadSettings() public méthode

public LoadSettings ( ) : StringDictionary
Résultat System.Collections.Specialized.StringDictionary

LoadStopWords() public méthode

public LoadStopWords ( ) : System.Collections.Specialized.StringCollection
Résultat System.Collections.Specialized.StringCollection

RemoveFromDataStore() public méthode

public RemoveFromDataStore ( BlogEngine exType, string exId ) : void
exType BlogEngine
exId string
Résultat void

SavePingServices() public méthode

public SavePingServices ( System services ) : void
services System
Résultat void

SaveSettings() public méthode

public SaveSettings ( System settings ) : void
settings System
Résultat void

SaveToDataStore() public méthode

public SaveToDataStore ( BlogEngine exType, string exId, object settings ) : void
exType BlogEngine
exId string
settings object
Résultat void

SelectBlogRollItem() public méthode

public SelectBlogRollItem ( System.Guid Id ) : BlogEngine.Core.BlogRollItem
Id System.Guid
Résultat BlogEngine.Core.BlogRollItem

SelectCategory() public méthode

Gets a Category based on a Guid
public SelectCategory ( System.Guid id ) : Category
id System.Guid The category's Guid.
Résultat Category

SelectPage() public méthode

public SelectPage ( System.Guid id ) : BlogEngine.Core.Page
id System.Guid
Résultat BlogEngine.Core.Page

SelectPost() public méthode

Retrieves a post based on the specified Id.
public SelectPost ( System.Guid id ) : Post
id System.Guid
Résultat Post

SelectProfile() public méthode

public SelectProfile ( string id ) : AuthorProfile
id string
Résultat AuthorProfile

SelectReferrer() public méthode

public SelectReferrer ( System.Guid Id ) : BlogEngine.Core.Referrer
Id System.Guid
Résultat BlogEngine.Core.Referrer

StorageLocation() public méthode

public StorageLocation ( ) : string
Résultat string

UpdateBlogRollItem() public méthode

public UpdateBlogRollItem ( BlogEngine blogRollItem ) : void
blogRollItem BlogEngine
Résultat void

UpdateCategory() public méthode

Updates a Category
public UpdateCategory ( Category category ) : void
category Category Must be a valid Category object.
Résultat void

UpdatePage() public méthode

public UpdatePage ( BlogEngine page ) : void
page BlogEngine
Résultat void

UpdatePost() public méthode

Updates a Post.
public UpdatePost ( Post post ) : void
post Post
Résultat void

UpdateProfile() public méthode

public UpdateProfile ( AuthorProfile profile ) : void
profile AuthorProfile
Résultat void

UpdateReferrer() public méthode

public UpdateReferrer ( BlogEngine referrer ) : void
referrer BlogEngine
Résultat void