public interface UserManager
-
Method Summary
Searches for
BoxUser with the specified name.
-
Method Details
-
createBoxUser
@NotNull
@NotNull BoxUser createBoxUser(@NotNull
@NotNull UUID uuid)
- Parameters:
uuid - the user's UUID
- Returns:
- a new
BoxUser
-
createBoxUser
@NotNull
@NotNull BoxUser createBoxUser(@NotNull
@NotNull UUID uuid,
@NotNull
@NotNull String 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)
- 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