public class Board extends AbstractAction
| Constructor and Description |
|---|
Board(VkApiClient client)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
BoardAddTopicQuery |
addTopic(UserActor actor)
Creates a new topic on a community's discussion board.
|
BoardAddTopicQuery |
addTopic(UserActor actor,
java.lang.Long groupId,
java.lang.String title)
Creates a new topic on a community's discussion board.
|
BoardCloseTopicQuery |
closeTopic(UserActor actor)
Closes a topic on a community's discussion board so that comments cannot be posted.
|
BoardCloseTopicQuery |
closeTopic(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId)
Closes a topic on a community's discussion board so that comments cannot be posted.
|
BoardCreateCommentQuery |
createComment(UserActor actor)
Adds a comment on a topic on a community's discussion board.
|
BoardCreateCommentQuery |
createComment(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId)
Adds a comment on a topic on a community's discussion board.
|
BoardDeleteCommentQuery |
deleteComment(GroupActor actor)
Deletes a comment on a topic on a community's discussion board.
|
BoardDeleteCommentQuery |
deleteComment(GroupActor actor,
java.lang.Long groupId,
java.lang.Integer topicId,
java.lang.Integer commentId)
Deletes a comment on a topic on a community's discussion board.
|
BoardDeleteCommentQuery |
deleteComment(UserActor actor)
Deletes a comment on a topic on a community's discussion board.
|
BoardDeleteCommentQuery |
deleteComment(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId,
java.lang.Integer commentId)
Deletes a comment on a topic on a community's discussion board.
|
BoardDeleteTopicQuery |
deleteTopic(UserActor actor)
Deletes a topic from a community's discussion board.
|
BoardDeleteTopicQuery |
deleteTopic(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId)
Deletes a topic from a community's discussion board.
|
BoardEditCommentQuery |
editComment(UserActor actor)
Edits a comment on a topic on a community's discussion board.
|
BoardEditCommentQuery |
editComment(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId,
java.lang.Integer commentId)
Edits a comment on a topic on a community's discussion board.
|
BoardEditTopicQuery |
editTopic(UserActor actor)
Edits the title of a topic on a community's discussion board.
|
BoardEditTopicQuery |
editTopic(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId,
java.lang.String title)
Edits the title of a topic on a community's discussion board.
|
BoardFixTopicQuery |
fixTopic(UserActor actor)
Pins a topic (fixes its place) to the top of a community's discussion board.
|
BoardFixTopicQuery |
fixTopic(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId)
Pins a topic (fixes its place) to the top of a community's discussion board.
|
BoardGetCommentsQuery |
getComments(ServiceActor actor)
Returns a list of comments on a topic on a community's discussion board.
|
BoardGetCommentsQuery |
getComments(ServiceActor actor,
java.lang.Long groupId,
java.lang.Integer topicId)
Returns a list of comments on a topic on a community's discussion board.
|
BoardGetCommentsQuery |
getComments(UserActor actor)
Returns a list of comments on a topic on a community's discussion board.
|
BoardGetCommentsQuery |
getComments(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId)
Returns a list of comments on a topic on a community's discussion board.
|
BoardGetCommentsQueryWithExtended |
getCommentsExtended(ServiceActor actor,
java.lang.Long groupId,
java.lang.Integer topicId)
Returns a list of comments on a topic on a community's discussion board.
|
BoardGetCommentsQueryWithExtended |
getCommentsExtended(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId)
Returns a list of comments on a topic on a community's discussion board.
|
BoardGetTopicsQuery |
getTopics(ServiceActor actor)
Returns a list of topics on a community's discussion board.
|
BoardGetTopicsQuery |
getTopics(ServiceActor actor,
java.lang.Long groupId)
Returns a list of topics on a community's discussion board.
|
BoardGetTopicsQuery |
getTopics(UserActor actor)
Returns a list of topics on a community's discussion board.
|
BoardGetTopicsQuery |
getTopics(UserActor actor,
java.lang.Long groupId)
Returns a list of topics on a community's discussion board.
|
BoardGetTopicsQueryWithExtended |
getTopicsExtended(ServiceActor actor,
java.lang.Long groupId)
Returns a list of topics on a community's discussion board.
|
BoardGetTopicsQueryWithExtended |
getTopicsExtended(UserActor actor,
java.lang.Long groupId)
Returns a list of topics on a community's discussion board.
|
BoardOpenTopicQuery |
openTopic(UserActor actor)
Re-opens a previously closed topic on a community's discussion board.
|
BoardOpenTopicQuery |
openTopic(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId)
Re-opens a previously closed topic on a community's discussion board.
|
BoardRestoreCommentQuery |
restoreComment(GroupActor actor)
Restores a comment deleted from a topic on a community's discussion board.
|
BoardRestoreCommentQuery |
restoreComment(GroupActor actor,
java.lang.Long groupId,
java.lang.Integer topicId,
java.lang.Integer commentId)
Restores a comment deleted from a topic on a community's discussion board.
|
BoardRestoreCommentQuery |
restoreComment(UserActor actor)
Restores a comment deleted from a topic on a community's discussion board.
|
BoardRestoreCommentQuery |
restoreComment(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId,
java.lang.Integer commentId)
Restores a comment deleted from a topic on a community's discussion board.
|
BoardUnfixTopicQuery |
unfixTopic(UserActor actor)
Unpins a pinned topic from the top of a community's discussion board.
|
BoardUnfixTopicQuery |
unfixTopic(UserActor actor,
java.lang.Long groupId,
java.lang.Integer topicId)
Unpins a pinned topic from the top of a community's discussion board.
|
getClientpublic Board(VkApiClient client)
client - vk api clientpublic BoardAddTopicQuery addTopic(UserActor actor, java.lang.Long groupId, java.lang.String title)
actor - vk user actorgroupId - ID of the community that owns the discussion board.title - Topic title.public BoardAddTopicQuery addTopic(UserActor actor)
actor - vk user actorpublic BoardCloseTopicQuery closeTopic(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.public BoardCloseTopicQuery closeTopic(UserActor actor)
actor - vk user actorpublic BoardCreateCommentQuery createComment(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - ID of the topic to be commented on.public BoardCreateCommentQuery createComment(UserActor actor)
actor - vk user actorpublic BoardDeleteCommentQuery deleteComment(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId, java.lang.Integer commentId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.commentId - Comment ID.public BoardDeleteCommentQuery deleteComment(UserActor actor)
actor - vk user actorpublic BoardDeleteCommentQuery deleteComment(GroupActor actor, java.lang.Long groupId, java.lang.Integer topicId, java.lang.Integer commentId)
actor - vk group actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.commentId - Comment ID.public BoardDeleteCommentQuery deleteComment(GroupActor actor)
actor - vk group actorpublic BoardDeleteTopicQuery deleteTopic(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.public BoardDeleteTopicQuery deleteTopic(UserActor actor)
actor - vk user actorpublic BoardEditCommentQuery editComment(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId, java.lang.Integer commentId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.commentId - ID of the comment on the topic.public BoardEditCommentQuery editComment(UserActor actor)
actor - vk user actorpublic BoardEditTopicQuery editTopic(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId, java.lang.String title)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.title - New title of the topic.public BoardEditTopicQuery editTopic(UserActor actor)
actor - vk user actorpublic BoardFixTopicQuery fixTopic(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.public BoardFixTopicQuery fixTopic(UserActor actor)
actor - vk user actorpublic BoardGetCommentsQuery getComments(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.public BoardGetCommentsQuery getComments(UserActor actor)
actor - vk user actorpublic BoardGetCommentsQuery getComments(ServiceActor actor, java.lang.Long groupId, java.lang.Integer topicId)
actor - vk service actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.public BoardGetCommentsQuery getComments(ServiceActor actor)
actor - vk service actorpublic BoardGetCommentsQueryWithExtended getCommentsExtended(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.public BoardGetCommentsQueryWithExtended getCommentsExtended(ServiceActor actor, java.lang.Long groupId, java.lang.Integer topicId)
actor - vk service actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.public BoardGetTopicsQueryWithExtended getTopicsExtended(UserActor actor, java.lang.Long groupId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.public BoardGetTopicsQueryWithExtended getTopicsExtended(ServiceActor actor, java.lang.Long groupId)
actor - vk service actorgroupId - ID of the community that owns the discussion board.public BoardGetTopicsQuery getTopics(UserActor actor, java.lang.Long groupId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.public BoardGetTopicsQuery getTopics(UserActor actor)
actor - vk user actorpublic BoardGetTopicsQuery getTopics(ServiceActor actor, java.lang.Long groupId)
actor - vk service actorgroupId - ID of the community that owns the discussion board.public BoardGetTopicsQuery getTopics(ServiceActor actor)
actor - vk service actorpublic BoardOpenTopicQuery openTopic(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.public BoardOpenTopicQuery openTopic(UserActor actor)
actor - vk user actorpublic BoardRestoreCommentQuery restoreComment(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId, java.lang.Integer commentId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.commentId - Comment ID.public BoardRestoreCommentQuery restoreComment(UserActor actor)
actor - vk user actorpublic BoardRestoreCommentQuery restoreComment(GroupActor actor, java.lang.Long groupId, java.lang.Integer topicId, java.lang.Integer commentId)
actor - vk group actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.commentId - Comment ID.public BoardRestoreCommentQuery restoreComment(GroupActor actor)
actor - vk group actorpublic BoardUnfixTopicQuery unfixTopic(UserActor actor, java.lang.Long groupId, java.lang.Integer topicId)
actor - vk user actorgroupId - ID of the community that owns the discussion board.topicId - Topic ID.public BoardUnfixTopicQuery unfixTopic(UserActor actor)
actor - vk user actor