Uses of Class
eu.cloudnetservice.driver.permission.PermissionUser.Builder
Packages that use PermissionUser.Builder
-
Uses of PermissionUser.Builder in eu.cloudnetservice.driver.permission
Methods in eu.cloudnetservice.driver.permission that return PermissionUser.BuilderModifier and TypeMethodDescriptionPermissionUser.Builder.addGroup(@NonNull PermissionUserGroupInfo group) Adds the given group to the groups of the new user.PermissionUser.Builder.addPermission(@NonNull Permission permission) Adds the given permission to the permissions of the new user.static @NonNull PermissionUser.BuilderPermissionUser.builder()Creates a new permission user builder instance with all default values.static @NonNull PermissionUser.BuilderPermissionUser.builder(@NonNull PermissionUser user) Creates a new permission user builder instance and copies all values from the given permission user.PermissionUser.Builder.groupPermissions(@NonNull Map<String, Set<Permission>> groupPermissions) Sets the group permissions of the new permission user.PermissionUser.Builder.groups(@NonNull Collection<PermissionUserGroupInfo> groups) Sets the groups of the new permission user.PermissionUser.Builder.hashedPassword(@Nullable String hashedPassword) Sets the already hashed password for the new permission user.Sets the name of the new permission user.Sets the raw password of the new permission user.PermissionUser.Builder.permissions(@NonNull Collection<Permission> permissions) Sets the permissions of the new permission user.PermissionUser.Builder.potency(int potency) Sets the potency of the new permission user.PermissionUser.Builder.properties(@NonNull eu.cloudnetservice.common.document.gson.JsonDocument properties) Sets the properties of the new permission user.Sets the unique id of the new permission user.Method parameters in eu.cloudnetservice.driver.permission with type arguments of type PermissionUser.BuilderModifier and TypeMethodDescriptionDefaultPermissionManagement.modifyUser(@NonNull UUID uniqueId, @NonNull BiConsumer<PermissionUser, PermissionUser.Builder> modifier) Gets the permission user with the given unique id usingPermissionManagement.user(UUID)and, if not null, puts them into the consumer, after that, the user will be updated by usingPermissionManagement.updateUser(PermissionUser).PermissionManagement.modifyUser(@NonNull UUID uniqueId, @NonNull BiConsumer<PermissionUser, PermissionUser.Builder> modifier) Gets the permission user with the given unique id usingPermissionManagement.user(UUID)and, if not null, puts them into the consumer, after that, the user will be updated by usingPermissionManagement.updateUser(PermissionUser).default @NonNull eu.cloudnetservice.common.concurrent.Task<PermissionUser>PermissionManagement.modifyUserAsync(@NonNull UUID uniqueId, @NonNull BiConsumer<PermissionUser, PermissionUser.Builder> modifier) Gets the permission user with the given unique id usingPermissionManagement.user(UUID)and, if not null, puts them into the consumer, after that, the user will be updated by usingPermissionManagement.updateUser(PermissionUser).DefaultPermissionManagement.modifyUsers(@NonNull String name, @NonNull BiConsumer<PermissionUser, PermissionUser.Builder> modifier) Gets every user matching the given name usingPermissionManagement.usersByName(String)and puts them into the consumer, after that, every user will be updated by usingPermissionManagement.updateUser(PermissionUser).PermissionManagement.modifyUsers(@NonNull String name, @NonNull BiConsumer<PermissionUser, PermissionUser.Builder> modifier) Gets every user matching the given name usingPermissionManagement.usersByName(String)and puts them into the consumer, after that, every user will be updated by usingPermissionManagement.updateUser(PermissionUser).default @NonNull eu.cloudnetservice.common.concurrent.Task<List<PermissionUser>>PermissionManagement.modifyUsersAsync(@NonNull String name, @NonNull BiConsumer<PermissionUser, PermissionUser.Builder> modifier) Gets every user matching the given name usingPermissionManagement.usersByName(String)and puts them into the consumer, after that, every user will be updated by usingPermissionManagement.updateUser(PermissionUser).