Class Storage

    • 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
      • 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 actor
        key -
        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 actor
        key -
        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 actor
        key -
        Returns:
        query