Package com.vk.api.sdk.actions
Class Wall
- java.lang.Object
-
- com.vk.api.sdk.client.AbstractAction
-
- com.vk.api.sdk.actions.Wall
-
public class Wall extends AbstractAction
List of Wall methods
-
-
Constructor Summary
Constructors Constructor Description Wall(VkApiClient client)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WallCheckCopyrightLinkQuerycheckCopyrightLink(UserActor actor, java.lang.String link)WallCloseCommentsQuerycloseComments(GroupActor actor, int ownerId, int postId)WallCloseCommentsQuerycloseComments(UserActor actor, int ownerId, int postId)WallCreateCommentQuerycreateComment(GroupActor actor, int postId)Adds a comment to a post on a user wall or community wall.WallCreateCommentQuerycreateComment(UserActor actor, int postId)Adds a comment to a post on a user wall or community wall.WallDeleteQuerydelete(UserActor actor)Deletes a post from a user wall or community wall.WallDeleteCommentQuerydeleteComment(UserActor actor, int commentId)Deletes a comment on a post on a user wall or community wall.WallEditQueryedit(UserActor actor, int postId)Edits a post on a user wall or community wall.WallEditAdsStealthQueryeditAdsStealth(UserActor actor, int postId)Allows to edit hidden post.WallEditCommentQueryeditComment(UserActor actor, int commentId)Edits a comment on a user wall or community wall.WallGetQueryget(ServiceActor actor)Returns a list of posts on a user wall or community wall.WallGetQueryget(UserActor actor)Returns a list of posts on a user wall or community wall.WallGetByIdQueryWithExtendedgetByIdExtended(ServiceActor actor, java.lang.String... posts)Returns a list of posts from user or community walls by their IDs.WallGetByIdQueryWithExtendedgetByIdExtended(ServiceActor actor, java.util.List<java.lang.String> posts)Returns a list of posts from user or community walls by their IDs.WallGetByIdQueryWithExtendedgetByIdExtended(UserActor actor, java.lang.String... posts)Returns a list of posts from user or community walls by their IDs.WallGetByIdQueryWithExtendedgetByIdExtended(UserActor actor, java.util.List<java.lang.String> posts)Returns a list of posts from user or community walls by their IDs.WallGetByIdQueryWithLegacygetByIdLegacy(ServiceActor actor, java.lang.String... posts)Returns a list of posts from user or community walls by their IDs.WallGetByIdQueryWithLegacygetByIdLegacy(ServiceActor actor, java.util.List<java.lang.String> posts)Returns a list of posts from user or community walls by their IDs.WallGetByIdQueryWithLegacygetByIdLegacy(UserActor actor, java.lang.String... posts)Returns a list of posts from user or community walls by their IDs.WallGetByIdQueryWithLegacygetByIdLegacy(UserActor actor, java.util.List<java.lang.String> posts)Returns a list of posts from user or community walls by their IDs.WallGetCommentQuerygetComment(UserActor actor, int commentId)Returns a comment on a post on a user wall or community wall.WallGetCommentQueryWithExtendedgetCommentExtended(UserActor actor, int commentId)Returns a comment on a post on a user wall or community wall.WallGetCommentsQuerygetComments(ServiceActor actor)Returns a list of comments on a post on a user wall or community wall.WallGetCommentsQuerygetComments(UserActor actor)Returns a list of comments on a post on a user wall or community wall.WallGetCommentsQueryWithExtendedgetCommentsExtended(ServiceActor actor)Returns a list of comments on a post on a user wall or community wall.WallGetCommentsQueryWithExtendedgetCommentsExtended(UserActor actor)Returns a list of comments on a post on a user wall or community wall.WallGetQueryWithExtendedgetExtended(ServiceActor actor)Returns a list of posts on a user wall or community wall.WallGetQueryWithExtendedgetExtended(UserActor actor)Returns a list of posts on a user wall or community wall.WallGetRepostsQuerygetReposts(ServiceActor actor)Returns information about reposts of a post on user wall or community wall.WallGetRepostsQuerygetReposts(UserActor actor)Returns information about reposts of a post on user wall or community wall.WallOpenCommentsQueryopenComments(GroupActor actor, int ownerId, int postId)WallOpenCommentsQueryopenComments(UserActor actor, int ownerId, int postId)WallPinQuerypin(UserActor actor, int postId)Pins the post on wall.WallPostQuerypost(UserActor actor)Adds a new post on a user wall or community wall.WallPostAdsStealthQuerypostAdsStealth(UserActor actor, int ownerId)Allows to create hidden post which will not be shown on the community's wall and can be used for creating an ad with type "Community post".WallReportCommentQueryreportComment(UserActor actor, int ownerId, int commentId)Reports (submits a complaint about) a comment on a post on a user wall or community wall.WallReportPostQueryreportPost(UserActor actor, int ownerId, int postId)Reports (submits a complaint about) a post on a user wall or community wall.WallRepostQueryrepost(UserActor actor, java.lang.String object)Reposts (copies) an object to a user wall or community wall.WallRestoreQueryrestore(UserActor actor)Restores a post deleted from a user wall or community wall.WallRestoreCommentQueryrestoreComment(UserActor actor, int commentId)Restores a comment deleted from a user wall or community wall.WallSearchQuerysearch(ServiceActor actor)Allows to search posts on user or community walls.WallSearchQuerysearch(UserActor actor)Allows to search posts on user or community walls.WallSearchQueryWithExtendedsearchExtended(ServiceActor actor)Allows to search posts on user or community walls.WallSearchQueryWithExtendedsearchExtended(UserActor actor)Allows to search posts on user or community walls.WallUnpinQueryunpin(UserActor actor, int postId)Unpins the post on wall.-
Methods inherited from class com.vk.api.sdk.client.AbstractAction
getClient
-
-
-
-
Constructor Detail
-
Wall
public Wall(VkApiClient client)
Constructor- Parameters:
client- vk api client
-
-
Method Detail
-
checkCopyrightLink
public WallCheckCopyrightLinkQuery checkCopyrightLink(UserActor actor, java.lang.String link)
- Parameters:
actor- vk actorlink-- Returns:
- query
-
closeComments
public WallCloseCommentsQuery closeComments(UserActor actor, int ownerId, int postId)
- Parameters:
actor- vk actorownerId-postId-- Returns:
- query
-
closeComments
public WallCloseCommentsQuery closeComments(GroupActor actor, int ownerId, int postId)
- Parameters:
actor- vk actorownerId-postId-- Returns:
- query
-
createComment
public WallCreateCommentQuery createComment(UserActor actor, int postId)
Adds a comment to a post on a user wall or community wall.- Parameters:
actor- vk actorpostId- Post ID.- Returns:
- query
-
createComment
public WallCreateCommentQuery createComment(GroupActor actor, int postId)
Adds a comment to a post on a user wall or community wall.- Parameters:
actor- vk actorpostId- Post ID.- Returns:
- query
-
delete
public WallDeleteQuery delete(UserActor actor)
Deletes a post from a user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
deleteComment
public WallDeleteCommentQuery deleteComment(UserActor actor, int commentId)
Deletes a comment on a post on a user wall or community wall.- Parameters:
actor- vk actorcommentId- Comment ID.- Returns:
- query
-
edit
public WallEditQuery edit(UserActor actor, int postId)
Edits a post on a user wall or community wall.- Parameters:
actor- vk actorpostId-- Returns:
- query
-
editAdsStealth
public WallEditAdsStealthQuery editAdsStealth(UserActor actor, int postId)
Allows to edit hidden post.- Parameters:
actor- vk actorpostId- Post ID. Used for publishing of scheduled and suggested posts.- Returns:
- query
-
editComment
public WallEditCommentQuery editComment(UserActor actor, int commentId)
Edits a comment on a user wall or community wall.- Parameters:
actor- vk actorcommentId- Comment ID.- Returns:
- query
-
getExtended
public WallGetQueryWithExtended getExtended(UserActor actor)
Returns a list of posts on a user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
getExtended
public WallGetQueryWithExtended getExtended(ServiceActor actor)
Returns a list of posts on a user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
get
public WallGetQuery get(UserActor actor)
Returns a list of posts on a user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
get
public WallGetQuery get(ServiceActor actor)
Returns a list of posts on a user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
getByIdLegacy
public WallGetByIdQueryWithLegacy getByIdLegacy(UserActor actor, java.lang.String... posts)
Returns a list of posts from user or community walls by their IDs.- Parameters:
actor- vk actorposts- User or community IDs and post IDs, separated by underscores. Use a negative value to designate a community ID. Example: "93388_21539,93388_20904,2943_4276,-1_1"- Returns:
- query
-
getByIdLegacy
public WallGetByIdQueryWithLegacy getByIdLegacy(UserActor actor, java.util.List<java.lang.String> posts)
Returns a list of posts from user or community walls by their IDs.- Parameters:
actor- vk actorposts- User or community IDs and post IDs, separated by underscores. Use a negative value to designate a community ID. Example: "93388_21539,93388_20904,2943_4276,-1_1"- Returns:
- query
-
getByIdLegacy
public WallGetByIdQueryWithLegacy getByIdLegacy(ServiceActor actor, java.lang.String... posts)
Returns a list of posts from user or community walls by their IDs.- Parameters:
actor- vk actorposts- User or community IDs and post IDs, separated by underscores. Use a negative value to designate a community ID. Example: "93388_21539,93388_20904,2943_4276,-1_1"- Returns:
- query
-
getByIdLegacy
public WallGetByIdQueryWithLegacy getByIdLegacy(ServiceActor actor, java.util.List<java.lang.String> posts)
Returns a list of posts from user or community walls by their IDs.- Parameters:
actor- vk actorposts- User or community IDs and post IDs, separated by underscores. Use a negative value to designate a community ID. Example: "93388_21539,93388_20904,2943_4276,-1_1"- Returns:
- query
-
getByIdExtended
public WallGetByIdQueryWithExtended getByIdExtended(UserActor actor, java.lang.String... posts)
Returns a list of posts from user or community walls by their IDs.- Parameters:
actor- vk actorposts- User or community IDs and post IDs, separated by underscores. Use a negative value to designate a community ID. Example: "93388_21539,93388_20904,2943_4276,-1_1"- Returns:
- query
-
getByIdExtended
public WallGetByIdQueryWithExtended getByIdExtended(UserActor actor, java.util.List<java.lang.String> posts)
Returns a list of posts from user or community walls by their IDs.- Parameters:
actor- vk actorposts- User or community IDs and post IDs, separated by underscores. Use a negative value to designate a community ID. Example: "93388_21539,93388_20904,2943_4276,-1_1"- Returns:
- query
-
getByIdExtended
public WallGetByIdQueryWithExtended getByIdExtended(ServiceActor actor, java.lang.String... posts)
Returns a list of posts from user or community walls by their IDs.- Parameters:
actor- vk actorposts- User or community IDs and post IDs, separated by underscores. Use a negative value to designate a community ID. Example: "93388_21539,93388_20904,2943_4276,-1_1"- Returns:
- query
-
getByIdExtended
public WallGetByIdQueryWithExtended getByIdExtended(ServiceActor actor, java.util.List<java.lang.String> posts)
Returns a list of posts from user or community walls by their IDs.- Parameters:
actor- vk actorposts- User or community IDs and post IDs, separated by underscores. Use a negative value to designate a community ID. Example: "93388_21539,93388_20904,2943_4276,-1_1"- Returns:
- query
-
getCommentExtended
public WallGetCommentQueryWithExtended getCommentExtended(UserActor actor, int commentId)
Returns a comment on a post on a user wall or community wall.- Parameters:
actor- vk actorcommentId- Comment ID.- Returns:
- query
-
getComment
public WallGetCommentQuery getComment(UserActor actor, int commentId)
Returns a comment on a post on a user wall or community wall.- Parameters:
actor- vk actorcommentId- Comment ID.- Returns:
- query
-
getCommentsExtended
public WallGetCommentsQueryWithExtended getCommentsExtended(UserActor actor)
Returns a list of comments on a post on a user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
getCommentsExtended
public WallGetCommentsQueryWithExtended getCommentsExtended(ServiceActor actor)
Returns a list of comments on a post on a user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
getComments
public WallGetCommentsQuery getComments(UserActor actor)
Returns a list of comments on a post on a user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
getComments
public WallGetCommentsQuery getComments(ServiceActor actor)
Returns a list of comments on a post on a user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
getReposts
public WallGetRepostsQuery getReposts(UserActor actor)
Returns information about reposts of a post on user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
getReposts
public WallGetRepostsQuery getReposts(ServiceActor actor)
Returns information about reposts of a post on user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
openComments
public WallOpenCommentsQuery openComments(UserActor actor, int ownerId, int postId)
- Parameters:
actor- vk actorownerId-postId-- Returns:
- query
-
openComments
public WallOpenCommentsQuery openComments(GroupActor actor, int ownerId, int postId)
- Parameters:
actor- vk actorownerId-postId-- Returns:
- query
-
pin
public WallPinQuery pin(UserActor actor, int postId)
Pins the post on wall.- Parameters:
actor- vk actorpostId- Post ID.- Returns:
- query
-
post
public WallPostQuery post(UserActor actor)
Adds a new post on a user wall or community wall. Can also be used to publish suggested or scheduled posts.- Parameters:
actor- vk actor- Returns:
- query
-
postAdsStealth
public WallPostAdsStealthQuery postAdsStealth(UserActor actor, int ownerId)
Allows to create hidden post which will not be shown on the community's wall and can be used for creating an ad with type "Community post".- Parameters:
actor- vk actorownerId- User ID or community ID. Use a negative value to designate a community ID.- Returns:
- query
-
reportComment
public WallReportCommentQuery reportComment(UserActor actor, int ownerId, int commentId)
Reports (submits a complaint about) a comment on a post on a user wall or community wall.- Parameters:
actor- vk actorownerId- ID of the user or community that owns the wall.commentId- Comment ID.- Returns:
- query
-
reportPost
public WallReportPostQuery reportPost(UserActor actor, int ownerId, int postId)
Reports (submits a complaint about) a post on a user wall or community wall.- Parameters:
actor- vk actorownerId- ID of the user or community that owns the wall.postId- Post ID.- Returns:
- query
-
repost
public WallRepostQuery repost(UserActor actor, java.lang.String object)
Reposts (copies) an object to a user wall or community wall.- Parameters:
actor- vk actorobject- ID of the object to be reposted on the wall. Example: "wall66748_3675"- Returns:
- query
-
restore
public WallRestoreQuery restore(UserActor actor)
Restores a post deleted from a user wall or community wall.- Parameters:
actor- vk actor- Returns:
- query
-
restoreComment
public WallRestoreCommentQuery restoreComment(UserActor actor, int commentId)
Restores a comment deleted from a user wall or community wall.- Parameters:
actor- vk actorcommentId- Comment ID.- Returns:
- query
-
search
public WallSearchQuery search(UserActor actor)
Allows to search posts on user or community walls.- Parameters:
actor- vk actor- Returns:
- query
-
search
public WallSearchQuery search(ServiceActor actor)
Allows to search posts on user or community walls.- Parameters:
actor- vk actor- Returns:
- query
-
searchExtended
public WallSearchQueryWithExtended searchExtended(UserActor actor)
Allows to search posts on user or community walls.- Parameters:
actor- vk actor- Returns:
- query
-
searchExtended
public WallSearchQueryWithExtended searchExtended(ServiceActor actor)
Allows to search posts on user or community walls.- Parameters:
actor- vk actor- Returns:
- query
-
unpin
public WallUnpinQuery unpin(UserActor actor, int postId)
Unpins the post on wall.- Parameters:
actor- vk actorpostId- Post ID.- Returns:
- query
-
-