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

Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat System

CreateNewPost() public méthode

public CreateNewPost ( Blog blog, Post post ) : Post
blog Castle.Applications.MindDump.Model.Blog
post Castle.Applications.MindDump.Model.Post
Résultat Castle.Applications.MindDump.Model.Post

ObtainBlogByAuthorName() public méthode

public ObtainBlogByAuthorName ( string authorName ) : Blog
authorName string
Résultat Castle.Applications.MindDump.Model.Blog

ObtainLatestBlogs() public méthode

public ObtainLatestBlogs ( ) : IList
Résultat IList

ObtainLatestPosts() public méthode

public ObtainLatestPosts ( ) : IList
Résultat IList

ObtainPost() public méthode

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

ObtainPosts() public méthode

public ObtainPosts ( Blog blog ) : IList
blog Castle.Applications.MindDump.Model.Blog
Résultat IList

UpdatePost() public méthode

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