Method | Description | |
---|---|---|
AddPost ( |
||
DeletePost ( int postId ) : bool | ||
EntityToDtoPostCleanUp ( DataAccess db, int postId ) : |
||
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 ) : |
||
GetPostProperties ( |
||
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 ) : |
||
PostCleanUp ( |
||
PostsLogic ( IPostRepository postRepository, IPostContentRepository postContentRepository, IMediaRepository mediaRepository ) : System | ||
PrepareCommunities ( IEnumerable |
||
PreparePostContents ( IEnumerable |
||
PrepareTags ( IEnumerable |
||
SearchPosts ( string query, int threshold = 10, int skip = 10 ) : List |
||
UpdatePost ( |
||
ValidatePostContents ( IEnumerable |
public AddPost ( |
||
post | ||
return |
public EntityToDtoPostCleanUp ( DataAccess db, int postId ) : |
||
db | DataAccess | |
postId | int | |
return |
public GetMorePopularPosts ( int postsCount, int skip ) : List |
||
postsCount | int | |
skip | int | |
return | List |
public GetMorePostsByTag ( string tagName, int skip ) : List |
||
tagName | string | |
skip | int | |
return | List |
public GetMorePostsByUser ( int userId, int skip ) : List |
||
userId | int | |
skip | int | |
return | List |
public GetMoreRecentPosts ( int postsCount, int skip ) : List |
||
postsCount | int | |
skip | int | |
return | List |
public GetPopularPosts ( int postsCount ) : List |
||
postsCount | int | |
return | List |
public GetPost ( int postId ) : |
||
postId | int | |
return |
public GetPostProperties ( |
||
post | ||
return |
public GetPostsByCommunity ( int communityId, int threshold = 10, int skip = 10 ) : List |
||
communityId | int | |
threshold | int | |
skip | int | |
return | List |
public GetPostsByTag ( string tagName ) : List |
||
tagName | string | |
return | List |
public GetPostsForUser ( int userId, int threshold = 5, int skip = 10 ) : List |
||
userId | int | |
threshold | int | |
skip | int | |
return | List |
public GetRecentPosts ( int postsCount ) : List |
||
postsCount | int | |
return | List |
public GetRelatedPosts ( int postId ) : |
||
postId | int | |
return |
public PostCleanUp ( |
||
post | ||
return |
public PostsLogic ( IPostRepository postRepository, IPostContentRepository postContentRepository, IMediaRepository mediaRepository ) : System | ||
postRepository | IPostRepository | |
postContentRepository | IPostContentRepository | |
mediaRepository | IMediaRepository | |
return | System |
public PrepareCommunities ( IEnumerable |
||
communities | IEnumerable |
|
return | List |
public PreparePostContents ( IEnumerable |
||
contents | IEnumerable |
|
postId | int | |
return | List |
public PrepareTags ( IEnumerable |
||
tags | IEnumerable |
|
return | List |
public SearchPosts ( string query, int threshold = 10, int skip = 10 ) : List |
||
query | string | |
threshold | int | |
skip | int | |
return | List |
public UpdatePost ( |
||
post | ||
return |
public ValidatePostContents ( IEnumerable |
||
contents | IEnumerable |
|
return | bool |