C# 클래스 Tikal.MongoDBBlogProvider

파일 보기 프로젝트 열기: tikalk/fuse.dotnet.mongodb-blogengine 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DocumentToPage BlogEngine.Core.Page
PageToDocument MongoDB.Driver.Document
WriteToFile void

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
DocumentToPage ( Document doc ) : BlogEngine.Core.Page
PageToDocument ( Page page ) : Document
WriteToFile ( ) : void

Saves the Categories to disk.

메소드 상세

DeleteBlogRollItem() 공개 메소드

public DeleteBlogRollItem ( BlogEngine blogRollItem ) : void
blogRollItem BlogEngine
리턴 void

DeleteCategory() 공개 메소드

Deletes a Category
public DeleteCategory ( Category category ) : void
category Category Must be a valid Category object.
리턴 void

DeletePage() 공개 메소드

public DeletePage ( BlogEngine page ) : void
page BlogEngine
리턴 void

DeletePost() 공개 메소드

Deletes a post from the data store.
public DeletePost ( Post post ) : void
post Post
리턴 void

DeleteProfile() 공개 메소드

public DeleteProfile ( AuthorProfile profile ) : void
profile AuthorProfile
리턴 void

FillBlogRoll() 공개 메소드

public FillBlogRoll ( ) : List
리턴 List

FillCategories() 공개 메소드

Fills an unsorted list of categories.
public FillCategories ( ) : List
리턴 List

FillPages() 공개 메소드

public FillPages ( ) : List
리턴 List

FillPosts() 공개 메소드

Retrieves all posts from the data store
public FillPosts ( ) : List
리턴 List

FillProfiles() 공개 메소드

public FillProfiles ( ) : List
리턴 List

FillReferrers() 공개 메소드

public FillReferrers ( ) : List
리턴 List

InsertBlogRollItem() 공개 메소드

public InsertBlogRollItem ( BlogEngine blogRollItem ) : void
blogRollItem BlogEngine
리턴 void

InsertCategory() 공개 메소드

Inserts a Category
public InsertCategory ( Category category ) : void
category Category Must be a valid Category object.
리턴 void

InsertPage() 공개 메소드

public InsertPage ( BlogEngine page ) : void
page BlogEngine
리턴 void

InsertPost() 공개 메소드

Inserts a new Post to the data store.
public InsertPost ( Post post ) : void
post Post
리턴 void

InsertProfile() 공개 메소드

public InsertProfile ( AuthorProfile profile ) : void
profile AuthorProfile
리턴 void

InsertReferrer() 공개 메소드

public InsertReferrer ( BlogEngine referrer ) : void
referrer BlogEngine
리턴 void

LoadFromDataStore() 공개 메소드

public LoadFromDataStore ( BlogEngine exType, string exId ) : object
exType BlogEngine
exId string
리턴 object

LoadPingServices() 공개 메소드

public LoadPingServices ( ) : System.Collections.Specialized.StringCollection
리턴 System.Collections.Specialized.StringCollection

LoadSettings() 공개 메소드

public LoadSettings ( ) : StringDictionary
리턴 System.Collections.Specialized.StringDictionary

LoadStopWords() 공개 메소드

public LoadStopWords ( ) : System.Collections.Specialized.StringCollection
리턴 System.Collections.Specialized.StringCollection

RemoveFromDataStore() 공개 메소드

public RemoveFromDataStore ( BlogEngine exType, string exId ) : void
exType BlogEngine
exId string
리턴 void

SavePingServices() 공개 메소드

public SavePingServices ( System services ) : void
services System
리턴 void

SaveSettings() 공개 메소드

public SaveSettings ( System settings ) : void
settings System
리턴 void

SaveToDataStore() 공개 메소드

public SaveToDataStore ( BlogEngine exType, string exId, object settings ) : void
exType BlogEngine
exId string
settings object
리턴 void

SelectBlogRollItem() 공개 메소드

public SelectBlogRollItem ( System.Guid Id ) : BlogEngine.Core.BlogRollItem
Id System.Guid
리턴 BlogEngine.Core.BlogRollItem

SelectCategory() 공개 메소드

Gets a Category based on a Guid
public SelectCategory ( System.Guid id ) : Category
id System.Guid The category's Guid.
리턴 Category

SelectPage() 공개 메소드

public SelectPage ( System.Guid id ) : BlogEngine.Core.Page
id System.Guid
리턴 BlogEngine.Core.Page

SelectPost() 공개 메소드

Retrieves a post based on the specified Id.
public SelectPost ( System.Guid id ) : Post
id System.Guid
리턴 Post

SelectProfile() 공개 메소드

public SelectProfile ( string id ) : AuthorProfile
id string
리턴 AuthorProfile

SelectReferrer() 공개 메소드

public SelectReferrer ( System.Guid Id ) : BlogEngine.Core.Referrer
Id System.Guid
리턴 BlogEngine.Core.Referrer

StorageLocation() 공개 메소드

public StorageLocation ( ) : string
리턴 string

UpdateBlogRollItem() 공개 메소드

public UpdateBlogRollItem ( BlogEngine blogRollItem ) : void
blogRollItem BlogEngine
리턴 void

UpdateCategory() 공개 메소드

Updates a Category
public UpdateCategory ( Category category ) : void
category Category Must be a valid Category object.
리턴 void

UpdatePage() 공개 메소드

public UpdatePage ( BlogEngine page ) : void
page BlogEngine
리턴 void

UpdatePost() 공개 메소드

Updates a Post.
public UpdatePost ( Post post ) : void
post Post
리턴 void

UpdateProfile() 공개 메소드

public UpdateProfile ( AuthorProfile profile ) : void
profile AuthorProfile
리턴 void

UpdateReferrer() 공개 메소드

public UpdateReferrer ( BlogEngine referrer ) : void
referrer BlogEngine
리턴 void