메소드 | 설명 | |
---|---|---|
ApprovePost ( System.Guid postId, System.Guid userId ) : void | ||
GetPostById ( System.Guid id ) : Post | ||
GetPosts ( List |
||
GetReportedPosts ( List |
||
GetUnmoderatedPosts ( List |
||
InsertPost ( Post post ) : void | ||
PostService ( IDbConnectionProvider conn ) : System | ||
QueryPosts ( string text, System.Guid subId = null, PostsSearchSortBy sortBy = PostsSearchSortBy.Relevance, PostsTimeFilter timeFilter = PostsTimeFilter.All, System.Guid userId = null, bool hideRemovedPosts = true, bool showDeleted = false, bool nsfw = null, int skip = null, int take = null ) : SeekedList |
||
RemovePost ( System.Guid postId, System.Guid userId ) : void | ||
SetIgnoreReportsForPost ( System.Guid postId, bool ignoreReports ) : void | ||
SetStickyForPost ( System.Guid postId, bool sticky ) : void | ||
UpdateMediaObjectForPost ( System.Guid postId, Post mediaObject ) : void | ||
UpdateNumberOfCommentsForPost ( System.Guid postId, int numberOfComments ) : void | ||
UpdateNumberOfReportsForPost ( System.Guid postId, int numberOfReports ) : void | ||
UpdatePost ( Post post ) : void | ||
UpdatePostVotes ( System.Guid postId, int upVotes, int downVotes ) : void | ||
UpdateThumbnailForPost ( System.Guid postId, string thumbnail ) : void |
public ApprovePost ( System.Guid postId, System.Guid userId ) : void | ||
postId | System.Guid | |
userId | System.Guid | |
리턴 | void |
public GetPosts ( List |
||
subs | List |
|
sortby | PostsSortBy | |
timeFilter | PostsTimeFilter | |
userId | System.Guid | |
hideRemovedPosts | bool | |
showDeleted | bool | |
onlyAll | bool | |
nsfw | bool | |
sticky | bool | |
stickyFirst | bool | |
skip | int | |
take | int | |
리턴 | SeekedList |
public GetReportedPosts ( List |
||
subs | List |
|
skip | int | |
take | int | |
리턴 | SeekedList |
public GetUnmoderatedPosts ( List |
||
subs | List |
|
skip | int | |
take | int | |
리턴 | SeekedList |
public PostService ( IDbConnectionProvider conn ) : System | ||
conn | IDbConnectionProvider | |
리턴 | System |
public QueryPosts ( string text, System.Guid subId = null, PostsSearchSortBy sortBy = PostsSearchSortBy.Relevance, PostsTimeFilter timeFilter = PostsTimeFilter.All, System.Guid userId = null, bool hideRemovedPosts = true, bool showDeleted = false, bool nsfw = null, int skip = null, int take = null ) : SeekedList |
||
text | string | |
subId | System.Guid | |
sortBy | PostsSearchSortBy | |
timeFilter | PostsTimeFilter | |
userId | System.Guid | |
hideRemovedPosts | bool | |
showDeleted | bool | |
nsfw | bool | |
skip | int | |
take | int | |
리턴 | SeekedList |
public RemovePost ( System.Guid postId, System.Guid userId ) : void | ||
postId | System.Guid | |
userId | System.Guid | |
리턴 | void |
public SetIgnoreReportsForPost ( System.Guid postId, bool ignoreReports ) : void | ||
postId | System.Guid | |
ignoreReports | bool | |
리턴 | void |
public SetStickyForPost ( System.Guid postId, bool sticky ) : void | ||
postId | System.Guid | |
sticky | bool | |
리턴 | void |
public UpdateMediaObjectForPost ( System.Guid postId, Post mediaObject ) : void | ||
postId | System.Guid | |
mediaObject | Post | |
리턴 | void |
public UpdateNumberOfCommentsForPost ( System.Guid postId, int numberOfComments ) : void | ||
postId | System.Guid | |
numberOfComments | int | |
리턴 | void |
public UpdateNumberOfReportsForPost ( System.Guid postId, int numberOfReports ) : void | ||
postId | System.Guid | |
numberOfReports | int | |
리턴 | void |
public UpdatePostVotes ( System.Guid postId, int upVotes, int downVotes ) : void | ||
postId | System.Guid | |
upVotes | int | |
downVotes | int | |
리턴 | void |
public UpdateThumbnailForPost ( System.Guid postId, string thumbnail ) : void | ||
postId | System.Guid | |
thumbnail | string | |
리턴 | void |