C# Class Blog.Services.Helpers.Wcf.PostsResource

Inheritance: IPostsResource
Afficher le fichier Open project: jsnmgpnty/Blogness2.0

Méthodes publiques

Méthode Description
AddPost ( Post post ) : Post
DeletePost ( int postId ) : bool
GetHeartBeat ( ) : bool
GetMorePopularPosts ( int postsCount, int skip ) : List
GetMorePostsByTag ( string tagName, int skip ) : List
GetMorePostsByUser ( int userId, int skip ) : List
GetMoreRecentPosts ( int postsCount, int skip ) : List
GetPopularPosts ( int postsCount ) : List
GetPost ( int postId ) : Post
GetPostsByCommunity ( int communityId, int threshold = 10, int skip = 10 ) : List
GetPostsByTag ( string tagName ) : List
GetPostsByUser ( int userId ) : List
GetPostsForUser ( int userId, int threshold = 5, int skip = 10 ) : List
GetRecentPosts ( int postsCount ) : List
GetRelatedPosts ( int postId ) : RelatedPosts
SearchPosts ( string query, int threshold = 5, int skip = 10 ) : List
UpdatePost ( Post post ) : Post

Method Details

AddPost() public méthode

public AddPost ( Post post ) : Post
post Blog.Common.Contracts.Post
Résultat Blog.Common.Contracts.Post

DeletePost() public méthode

public DeletePost ( int postId ) : bool
postId int
Résultat bool

GetHeartBeat() public méthode

public GetHeartBeat ( ) : bool
Résultat bool

GetMorePopularPosts() public méthode

public GetMorePopularPosts ( int postsCount, int skip ) : List
postsCount int
skip int
Résultat List

GetMorePostsByTag() public méthode

public GetMorePostsByTag ( string tagName, int skip ) : List
tagName string
skip int
Résultat List

GetMorePostsByUser() public méthode

public GetMorePostsByUser ( int userId, int skip ) : List
userId int
skip int
Résultat List

GetMoreRecentPosts() public méthode

public GetMoreRecentPosts ( int postsCount, int skip ) : List
postsCount int
skip int
Résultat List

GetPopularPosts() public méthode

public GetPopularPosts ( int postsCount ) : List
postsCount int
Résultat List

GetPost() public méthode

public GetPost ( int postId ) : Post
postId int
Résultat Blog.Common.Contracts.Post

GetPostsByCommunity() public méthode

public GetPostsByCommunity ( int communityId, int threshold = 10, int skip = 10 ) : List
communityId int
threshold int
skip int
Résultat List

GetPostsByTag() public méthode

public GetPostsByTag ( string tagName ) : List
tagName string
Résultat List

GetPostsByUser() public méthode

public GetPostsByUser ( int userId ) : List
userId int
Résultat List

GetPostsForUser() public méthode

public GetPostsForUser ( int userId, int threshold = 5, int skip = 10 ) : List
userId int
threshold int
skip int
Résultat List

GetRecentPosts() public méthode

public GetRecentPosts ( int postsCount ) : List
postsCount int
Résultat List

GetRelatedPosts() public méthode

public GetRelatedPosts ( int postId ) : RelatedPosts
postId int
Résultat RelatedPosts

SearchPosts() public méthode

public SearchPosts ( string query, int threshold = 5, int skip = 10 ) : List
query string
threshold int
skip int
Résultat List

UpdatePost() public méthode

public UpdatePost ( Post post ) : Post
post Post
Résultat Post