public class Notes extends AbstractAction
| Constructor and Description |
|---|
Notes(VkApiClient client)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
NotesAddQuery |
add(UserActor actor)
Creates a new note for the current user.
|
NotesAddQuery |
add(UserActor actor,
java.lang.String title,
java.lang.String text)
Creates a new note for the current user.
|
NotesCreateCommentQuery |
createComment(UserActor actor)
Adds a new comment on a note.
|
NotesCreateCommentQuery |
createComment(UserActor actor,
java.lang.Integer noteId,
java.lang.String message)
Adds a new comment on a note.
|
NotesDeleteQuery |
delete(UserActor actor)
Deletes a note of the current user.
|
NotesDeleteQuery |
delete(UserActor actor,
java.lang.Integer noteId)
Deletes a note of the current user.
|
NotesDeleteCommentQuery |
deleteComment(UserActor actor)
Deletes a comment on a note.
|
NotesDeleteCommentQuery |
deleteComment(UserActor actor,
java.lang.Integer commentId)
Deletes a comment on a note.
|
NotesEditQuery |
edit(UserActor actor)
Edits a note of the current user.
|
NotesEditQuery |
edit(UserActor actor,
java.lang.Integer noteId,
java.lang.String title,
java.lang.String text)
Edits a note of the current user.
|
NotesEditCommentQuery |
editComment(UserActor actor)
Edits a comment on a note.
|
NotesEditCommentQuery |
editComment(UserActor actor,
java.lang.Integer commentId,
java.lang.String message)
Edits a comment on a note.
|
NotesGetQuery |
get(UserActor actor)
Returns a list of notes created by a user.
|
NotesGetByIdQuery |
getById(UserActor actor)
Returns a note by its ID.
|
NotesGetByIdQuery |
getById(UserActor actor,
java.lang.Integer noteId)
Returns a note by its ID.
|
NotesGetCommentsQuery |
getComments(UserActor actor)
Returns a list of comments on a note.
|
NotesGetCommentsQuery |
getComments(UserActor actor,
java.lang.Integer noteId)
Returns a list of comments on a note.
|
NotesRestoreCommentQuery |
restoreComment(UserActor actor)
Restores a deleted comment on a note.
|
NotesRestoreCommentQuery |
restoreComment(UserActor actor,
java.lang.Integer commentId)
Restores a deleted comment on a note.
|
getClientpublic Notes(VkApiClient client)
client - vk api clientpublic NotesAddQuery add(UserActor actor, java.lang.String title, java.lang.String text)
actor - vk user actortitle - Note title.text - Note text.public NotesAddQuery add(UserActor actor)
actor - vk user actorpublic NotesCreateCommentQuery createComment(UserActor actor, java.lang.Integer noteId, java.lang.String message)
actor - vk user actornoteId - Note ID.message - Comment text.public NotesCreateCommentQuery createComment(UserActor actor)
actor - vk user actorpublic NotesDeleteQuery delete(UserActor actor, java.lang.Integer noteId)
actor - vk user actornoteId - Note ID.public NotesDeleteQuery delete(UserActor actor)
actor - vk user actorpublic NotesDeleteCommentQuery deleteComment(UserActor actor, java.lang.Integer commentId)
actor - vk user actorcommentId - Comment ID.public NotesDeleteCommentQuery deleteComment(UserActor actor)
actor - vk user actorpublic NotesEditQuery edit(UserActor actor, java.lang.Integer noteId, java.lang.String title, java.lang.String text)
actor - vk user actornoteId - Note ID.title - Note title.text - Note text.public NotesEditQuery edit(UserActor actor)
actor - vk user actorpublic NotesEditCommentQuery editComment(UserActor actor, java.lang.Integer commentId, java.lang.String message)
actor - vk user actorcommentId - Comment ID.message - New comment text.public NotesEditCommentQuery editComment(UserActor actor)
actor - vk user actorpublic NotesGetQuery get(UserActor actor)
actor - vk user actorpublic NotesGetByIdQuery getById(UserActor actor, java.lang.Integer noteId)
actor - vk user actornoteId - Note ID.public NotesGetByIdQuery getById(UserActor actor)
actor - vk user actorpublic NotesGetCommentsQuery getComments(UserActor actor, java.lang.Integer noteId)
actor - vk user actornoteId - Note ID.public NotesGetCommentsQuery getComments(UserActor actor)
actor - vk user actorpublic NotesRestoreCommentQuery restoreComment(UserActor actor, java.lang.Integer commentId)
actor - vk user actorcommentId - Comment ID.public NotesRestoreCommentQuery restoreComment(UserActor actor)
actor - vk user actor