C# Class Castle.Applications.MindDump.Services.BlogService

Exibir arquivo Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
BlogService ( AuthorDao authorDao, BlogDao blogDao, PostDao postDao ) : System
CreateNewPost ( Blog blog, Post post ) : Post
ObtainBlogByAuthorName ( string authorName ) : Blog
ObtainLatestBlogs ( ) : IList
ObtainLatestPosts ( ) : IList
ObtainPost ( Blog blog, long postId ) : Post
ObtainPosts ( Blog blog ) : IList
UpdatePost ( Blog blog, long postId, Post post ) : void

Method Details

BlogService() public method

public BlogService ( AuthorDao authorDao, BlogDao blogDao, PostDao postDao ) : System
authorDao Castle.Applications.MindDump.Dao.AuthorDao
blogDao Castle.Applications.MindDump.Dao.BlogDao
postDao Castle.Applications.MindDump.Dao.PostDao
return System

CreateNewPost() public method

public CreateNewPost ( Blog blog, Post post ) : Post
blog Castle.Applications.MindDump.Model.Blog
post Castle.Applications.MindDump.Model.Post
return Castle.Applications.MindDump.Model.Post

ObtainBlogByAuthorName() public method

public ObtainBlogByAuthorName ( string authorName ) : Blog
authorName string
return Castle.Applications.MindDump.Model.Blog

ObtainLatestBlogs() public method

public ObtainLatestBlogs ( ) : IList
return IList

ObtainLatestPosts() public method

public ObtainLatestPosts ( ) : IList
return IList

ObtainPost() public method

public ObtainPost ( Blog blog, long postId ) : Post
blog Castle.Applications.MindDump.Model.Blog
postId long
return Castle.Applications.MindDump.Model.Post

ObtainPosts() public method

public ObtainPosts ( Blog blog ) : IList
blog Castle.Applications.MindDump.Model.Blog
return IList

UpdatePost() public method

public UpdatePost ( Blog blog, long postId, Post post ) : void
blog Castle.Applications.MindDump.Model.Blog
postId long
post Castle.Applications.MindDump.Model.Post
return void