public class Likes extends AbstractAction
| Constructor and Description |
|---|
Likes(VkApiClient client)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
LikesAddQuery |
add(UserActor actor)
Adds the specified object to the 'Likes' list of the current user.
|
LikesAddQuery |
add(UserActor actor,
Type type,
java.lang.Integer itemId)
Adds the specified object to the 'Likes' list of the current user.
|
LikesDeleteQuery |
delete(UserActor actor)
Deletes the specified object from the 'Likes' list of the current user.
|
LikesDeleteQuery |
delete(UserActor actor,
Type type,
java.lang.Integer itemId)
Deletes the specified object from the 'Likes' list of the current user.
|
LikesGetListQuery |
getList(ServiceActor actor)
Returns a list of IDs of users who added the specified object to their 'Likes' list.
|
LikesGetListQuery |
getList(ServiceActor actor,
Type type)
Returns a list of IDs of users who added the specified object to their 'Likes' list.
|
LikesGetListQuery |
getList(UserActor actor)
Returns a list of IDs of users who added the specified object to their 'Likes' list.
|
LikesGetListQuery |
getList(UserActor actor,
Type type)
Returns a list of IDs of users who added the specified object to their 'Likes' list.
|
LikesGetListQueryWithExtended |
getListExtended(ServiceActor actor,
Type type)
Returns a list of IDs of users who added the specified object to their 'Likes' list.
|
LikesGetListQueryWithExtended |
getListExtended(UserActor actor,
Type type)
Returns a list of IDs of users who added the specified object to their 'Likes' list.
|
LikesIsLikedQuery |
isLiked(UserActor actor)
Checks for the object in the 'Likes' list of the specified user.
|
LikesIsLikedQuery |
isLiked(UserActor actor,
Type type,
java.lang.Integer itemId)
Checks for the object in the 'Likes' list of the specified user.
|
getClientpublic Likes(VkApiClient client)
client - vk api clientpublic LikesAddQuery add(UserActor actor, Type type, java.lang.Integer itemId)
actor - vk user actortype - Object type: 'post' - post on user or community wall, 'comment' - comment on a wall post, 'photo' - photo, 'audio' - audio, 'video' - video, 'story' - story, 'note' - note, 'photo_comment' - comment on the photo, 'video_comment' - comment on the video, 'topic_comment' - comment in the discussion, 'sitepage' - page of the site where the [vk.com/dev/Like|Like widget] is installeditemId - Object ID.public LikesAddQuery add(UserActor actor)
actor - vk user actorpublic LikesDeleteQuery delete(UserActor actor, Type type, java.lang.Integer itemId)
actor - vk user actortype - Object type: 'post' - post on user or community wall, 'comment' - comment on a wall post, 'photo' - photo, 'audio' - audio, 'video' - video, 'story' - story, 'note' - note, 'photo_comment' - comment on the photo, 'video_comment' - comment on the video, 'topic_comment' - comment in the discussion, 'sitepage' - page of the site where the [vk.com/dev/Like|Like widget] is installeditemId - Object ID.public LikesDeleteQuery delete(UserActor actor)
actor - vk user actorpublic LikesGetListQueryWithExtended getListExtended(UserActor actor, Type type)
actor - vk user actortype - , Object type: 'post' - post on user or community wall, 'comment' - comment on a wall post, 'photo' - photo, 'audio' - audio, 'video' - video, 'story' - story, 'note' - note, 'photo_comment' - comment on the photo, 'video_comment' - comment on the video, 'topic_comment' - comment in the discussion, 'sitepage' - page of the site where the [vk.com/dev/Like|Like widget] is installedpublic LikesGetListQueryWithExtended getListExtended(ServiceActor actor, Type type)
actor - vk service actortype - , Object type: 'post' - post on user or community wall, 'comment' - comment on a wall post, 'photo' - photo, 'audio' - audio, 'video' - video, 'story' - story, 'note' - note, 'photo_comment' - comment on the photo, 'video_comment' - comment on the video, 'topic_comment' - comment in the discussion, 'sitepage' - page of the site where the [vk.com/dev/Like|Like widget] is installedpublic LikesGetListQuery getList(UserActor actor, Type type)
actor - vk user actortype - , Object type: 'post' - post on user or community wall, 'comment' - comment on a wall post, 'photo' - photo, 'audio' - audio, 'video' - video, 'story' - story, 'note' - note, 'photo_comment' - comment on the photo, 'video_comment' - comment on the video, 'topic_comment' - comment in the discussion, 'sitepage' - page of the site where the [vk.com/dev/Like|Like widget] is installedpublic LikesGetListQuery getList(UserActor actor)
actor - vk user actorpublic LikesGetListQuery getList(ServiceActor actor, Type type)
actor - vk service actortype - , Object type: 'post' - post on user or community wall, 'comment' - comment on a wall post, 'photo' - photo, 'audio' - audio, 'video' - video, 'story' - story, 'note' - note, 'photo_comment' - comment on the photo, 'video_comment' - comment on the video, 'topic_comment' - comment in the discussion, 'sitepage' - page of the site where the [vk.com/dev/Like|Like widget] is installedpublic LikesGetListQuery getList(ServiceActor actor)
actor - vk service actorpublic LikesIsLikedQuery isLiked(UserActor actor, Type type, java.lang.Integer itemId)
actor - vk user actortype - Object type: 'post' - post on user or community wall, 'comment' - comment on a wall post, 'photo' - photo, 'audio' - audio, 'video' - video, 'story' - story, 'note' - note, 'photo_comment' - comment on the photo, 'video_comment' - comment on the video, 'topic_comment' - comment in the discussionitemId - Object ID.public LikesIsLikedQuery isLiked(UserActor actor)
actor - vk user actor