public class Storage extends AbstractAction
| Constructor and Description |
|---|
Storage(VkApiClient client)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
StorageGetQuery |
get(GroupActor actor)
Returns a value of variable with the name set by key parameter.
|
StorageGetQuery |
get(ServiceActor actor)
Returns a value of variable with the name set by key parameter.
|
StorageGetQuery |
get(UserActor actor)
Returns a value of variable with the name set by key parameter.
|
StorageGetKeysQuery |
getKeys(GroupActor actor)
Returns the names of all variables.
|
StorageGetKeysQuery |
getKeys(ServiceActor actor)
Returns the names of all variables.
|
StorageGetKeysQuery |
getKeys(UserActor actor)
Returns the names of all variables.
|
StorageSetQuery |
set(GroupActor actor)
Saves a value of variable with the name set by 'key' parameter.
|
StorageSetQuery |
set(GroupActor actor,
java.lang.String key)
Saves a value of variable with the name set by 'key' parameter.
|
StorageSetQuery |
set(ServiceActor actor)
Saves a value of variable with the name set by 'key' parameter.
|
StorageSetQuery |
set(ServiceActor actor,
java.lang.String key)
Saves a value of variable with the name set by 'key' parameter.
|
StorageSetQuery |
set(UserActor actor)
Saves a value of variable with the name set by 'key' parameter.
|
StorageSetQuery |
set(UserActor actor,
java.lang.String key)
Saves a value of variable with the name set by 'key' parameter.
|
getClientpublic Storage(VkApiClient client)
client - vk api clientpublic StorageGetQuery get(UserActor actor)
actor - vk user actorpublic StorageGetQuery get(GroupActor actor)
actor - vk group actorpublic StorageGetQuery get(ServiceActor actor)
actor - vk service actorpublic StorageGetKeysQuery getKeys(UserActor actor)
actor - vk user actorpublic StorageGetKeysQuery getKeys(GroupActor actor)
actor - vk group actorpublic StorageGetKeysQuery getKeys(ServiceActor actor)
actor - vk service actorpublic StorageSetQuery set(UserActor actor, java.lang.String key)
actor - vk user actorkey - public StorageSetQuery set(UserActor actor)
actor - vk user actorpublic StorageSetQuery set(GroupActor actor, java.lang.String key)
actor - vk group actorkey - public StorageSetQuery set(GroupActor actor)
actor - vk group actorpublic StorageSetQuery set(ServiceActor actor, java.lang.String key)
actor - vk service actorkey - public StorageSetQuery set(ServiceActor actor)
actor - vk service actor