Package com.vk.api.sdk.actions
Class Storage
- java.lang.Object
-
- com.vk.api.sdk.client.AbstractAction
-
- com.vk.api.sdk.actions.Storage
-
public class Storage extends AbstractAction
List of Storage methods
-
-
Constructor Summary
Constructors Constructor Description Storage(VkApiClient client)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageGetQueryget(GroupActor actor)Returns a value of variable with the name set by key parameter.StorageGetQueryget(ServiceActor actor)Returns a value of variable with the name set by key parameter.StorageGetQueryget(UserActor actor)Returns a value of variable with the name set by key parameter.StorageGetKeysQuerygetKeys(GroupActor actor)Returns the names of all variables.StorageGetKeysQuerygetKeys(ServiceActor actor)Returns the names of all variables.StorageGetKeysQuerygetKeys(UserActor actor)Returns the names of all variables.StorageSetQueryset(GroupActor actor, java.lang.String key)Saves a value of variable with the name set by 'key' parameter.StorageSetQueryset(ServiceActor actor, java.lang.String key)Saves a value of variable with the name set by 'key' parameter.StorageSetQueryset(UserActor actor, java.lang.String key)Saves a value of variable with the name set by 'key' parameter.-
Methods inherited from class com.vk.api.sdk.client.AbstractAction
getClient
-
-
-
-
Constructor Detail
-
Storage
public Storage(VkApiClient client)
Constructor- Parameters:
client- vk api client
-
-
Method Detail
-
get
public StorageGetQuery get(UserActor actor)
Returns a value of variable with the name set by key parameter.- Parameters:
actor- vk actor- Returns:
- query
-
get
public StorageGetQuery get(GroupActor actor)
Returns a value of variable with the name set by key parameter.- Parameters:
actor- vk actor- Returns:
- query
-
get
public StorageGetQuery get(ServiceActor actor)
Returns a value of variable with the name set by key parameter.- Parameters:
actor- vk actor- Returns:
- query
-
getKeys
public StorageGetKeysQuery getKeys(UserActor actor)
Returns the names of all variables.- Parameters:
actor- vk actor- Returns:
- query
-
getKeys
public StorageGetKeysQuery getKeys(GroupActor actor)
Returns the names of all variables.- Parameters:
actor- vk actor- Returns:
- query
-
getKeys
public StorageGetKeysQuery getKeys(ServiceActor actor)
Returns the names of all variables.- Parameters:
actor- vk actor- Returns:
- query
-
set
public StorageSetQuery set(UserActor actor, java.lang.String key)
Saves a value of variable with the name set by 'key' parameter.- Parameters:
actor- vk actorkey-- Returns:
- query
-
set
public StorageSetQuery set(GroupActor actor, java.lang.String key)
Saves a value of variable with the name set by 'key' parameter.- Parameters:
actor- vk actorkey-- Returns:
- query
-
set
public StorageSetQuery set(ServiceActor actor, java.lang.String key)
Saves a value of variable with the name set by 'key' parameter.- Parameters:
actor- vk actorkey-- Returns:
- query
-
-