Interface UserManager


public interface UserManager
An interface to load a BoxUser.
  • Method Details

    • createBoxUser

      @NotNull @NotNull BoxUser createBoxUser(@NotNull @NotNull UUID uuid)
      Creates a BoxUser with a UUID.
      Parameters:
      uuid - the user's UUID
      Returns:
      a new BoxUser
    • createBoxUser

      @NotNull @NotNull BoxUser createBoxUser(@NotNull @NotNull UUID uuid, @NotNull @NotNull String name)
      Creates a BoxUser with a UUID and a name.
      Parameters:
      uuid - the user's UUID
      name - the user's name
      Returns:
      a new BoxUser
    • loadBoxUser

      @NotNull @NotNull BoxUser loadBoxUser(@NotNull @NotNull UUID uuid)
      Loads the BoxUser of specified UUID.
      Parameters:
      uuid - the UUID to load
      Returns:
      the loaded BoxUser
    • searchByName

      @Nullable @Nullable BoxUser searchByName(@NotNull @NotNull String name)
      Searches for BoxUser with the specified name.
      Parameters:
      name - the name to search
      Returns:
      the found BoxUser or null if not found