Uses of Class
eu.cloudnetservice.driver.permission.PermissionUser
Packages that use PermissionUser
Package
Description
-
Uses of PermissionUser in eu.cloudnetservice.driver.event.events.permission
Fields in eu.cloudnetservice.driver.event.events.permission declared as PermissionUserMethods in eu.cloudnetservice.driver.event.events.permission that return PermissionUserModifier and TypeMethodDescriptionPermissionUserEvent.permissionUser()Get the permission user which is associated with this event.Constructors in eu.cloudnetservice.driver.event.events.permission with parameters of type PermissionUserModifierConstructorDescriptionPermissionAddUserEvent(@NonNull PermissionManagement permissionManagement, @NonNull PermissionUser permissionUser) Constructs a new permission add user event.PermissionDeleteUserEvent(@NonNull PermissionManagement permissionManagement, @NonNull PermissionUser permissionUser) Constructs a new permission delete user event.PermissionUpdateUserEvent(@NonNull PermissionManagement permissionManagement, @NonNull PermissionUser permissionUser) Constructs a new permission update user event.PermissionUserEvent(@NonNull PermissionManagement permissionManagement, @NonNull PermissionUser permissionUser) Constructs a new permission user event. -
Uses of PermissionUser in eu.cloudnetservice.driver.permission
Fields in eu.cloudnetservice.driver.permission with type parameters of type PermissionUserModifier and TypeFieldDescriptionprotected final com.github.benmanes.caffeine.cache.Cache<UUID,PermissionUser> DefaultCachedPermissionManagement.permissionUserCacheMethods in eu.cloudnetservice.driver.permission that return PermissionUserModifier and TypeMethodDescriptionPermissionUser.addGroup(@NonNull PermissionUserGroupInfo groupInfo) Adds the given group user info to this permission user.Adds the given group without any time-out to this permission user.Adds the given group with the given time-out to this permission user.PermissionManagement.addPermissionUser(@NonNull PermissionUser permissionUser) Inserts the given permission user into the database.PermissionManagement.addPermissionUser(@NonNull String name, @NonNull String password, int potency) Creates a new permission user and inserts it into the database.PermissionUser.Builder.build()Constructs the new permission user from this builder.CachedPermissionManagement.cachedUser(@NonNull UUID uniqueId) Searches the permission user cache for a permission user with the given unique id.DefaultCachedPermissionManagement.cachedUser(@NonNull UUID uniqueId) Searches the permission user cache for a permission user with the given unique id.Searches all users matching the given name and selecting the first one.PermissionManagement.getOrCreateUser(@NonNull UUID uniqueId, @NonNull String name) Searches the database for a permission user with the given unique id.DefaultPermissionManagement.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).Searches for the user with the given unique id.Methods in eu.cloudnetservice.driver.permission that return types with arguments of type PermissionUserModifier and TypeMethodDescriptiondefault @NonNull eu.cloudnetservice.common.concurrent.Task<PermissionUser>PermissionManagement.addPermissionUserAsync(@NonNull PermissionUser permissionUser) Inserts the given permission user into the database.default @NonNull eu.cloudnetservice.common.concurrent.Task<PermissionUser>PermissionManagement.addUserAsync(@NonNull String name, @NonNull String password, int potency) Creates a new permission user and inserts it into the database.CachedPermissionManagement.cachedPermissionUsers()Gets a map with all cached permission users mapped to their uuid.DefaultCachedPermissionManagement.cachedPermissionUsers()Gets a map with all cached permission users mapped to their uuid.default @NonNull eu.cloudnetservice.common.concurrent.Task<PermissionUser>PermissionManagement.firstUserAsync(String name) Searches all users matching the given name and selecting the first one.default @NonNull eu.cloudnetservice.common.concurrent.Task<PermissionUser>PermissionManagement.getOrCreateUserAsync(@NonNull UUID uniqueId, @NonNull String name) Searches the database for a permission user with the given unique id.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).default @NonNull eu.cloudnetservice.common.concurrent.Task<PermissionUser>Searches for the user with the given unique id.PermissionManagement.users()Gets a list of all stored permission users in the database.default @NonNull eu.cloudnetservice.common.concurrent.Task<Collection<PermissionUser>>PermissionManagement.usersAsync()Gets a list of all stored permission users in the database.PermissionManagement.usersByGroup(@NonNull String group) Gets a list of all stored permission users in the database that are in the given group.default @NonNull eu.cloudnetservice.common.concurrent.Task<Collection<PermissionUser>>PermissionManagement.usersByGroupAsync(@NonNull String group) Gets a list of all stored permission users in the database that are in the given group.PermissionManagement.usersByName(@NonNull String name) Gets a list of all users with the given name out of the database.default @NonNull eu.cloudnetservice.common.concurrent.Task<List<PermissionUser>>PermissionManagement.usersByNameAsync(@NonNull String name) Gets a list of all users with the given name out of the database.Methods in eu.cloudnetservice.driver.permission with parameters of type PermissionUserModifier and TypeMethodDescriptionvoidCachedPermissionManagement.acquireLock(@NonNull PermissionUser user) Acquires a lock for the permission user.voidDefaultCachedPermissionManagement.acquireLock(@NonNull PermissionUser user) Acquires a lock for the permission user.PermissionManagement.addPermissionUser(@NonNull PermissionUser permissionUser) Inserts the given permission user into the database.default @NonNull eu.cloudnetservice.common.concurrent.Task<PermissionUser>PermissionManagement.addPermissionUserAsync(@NonNull PermissionUser permissionUser) Inserts the given permission user into the database.static @NonNull PermissionUser.BuilderPermissionUser.builder(@NonNull PermissionUser user) Creates a new permission user builder instance and copies all values from the given permission user.booleanPermissionManagement.deletePermissionUser(@NonNull PermissionUser permissionUser) Deletes the given user from the database.PermissionManagement.deletePermissionUserAsync(@NonNull PermissionUser permissionUser) Deletes the given user from the database.protected voidDefaultCachedPermissionManagement.handleUserRemove(@NonNull UUID key, @NonNull PermissionUser user, @NonNull com.github.benmanes.caffeine.cache.RemovalCause cause) Handles the removal of the permission user in the cache.DefaultPermissionManagement.highestPermissionGroup(@NonNull PermissionUser permissionUser) Gets the highest permission group for the given user.PermissionManagement.highestPermissionGroup(@NonNull PermissionUser permissionUser) Gets the highest permission group for the given user.booleanCachedPermissionManagement.locked(@NonNull PermissionUser user) Checks if the given user has any locks locking the user in the cache.booleanDefaultCachedPermissionManagement.locked(@NonNull PermissionUser user) Checks if the given user has any locks locking the user in the cache.PermissionManagement.sendCommandLine(@NonNull PermissionUser user, @NonNull String commandLine) Sends a command line to the node the method is called on or the node the wrapper is connected to.default @NonNull eu.cloudnetservice.common.concurrent.Task<Collection<String>>PermissionManagement.sendCommandLineAsync(@NonNull PermissionUser user, @NonNull String commandLine) Sends a command line to the node the method is called on or the node the wrapper is connected to.booleanDefaultPermissionManagement.testPermissionUser(@Nullable PermissionUser permissionUser) Removes all timed-out permissions and groups of the given permission user.booleanPermissionManagement.testPermissionUser(@Nullable PermissionUser permissionUser) Removes all timed-out permissions and groups of the given permission user.voidCachedPermissionManagement.unlock(@NonNull PermissionUser user) Removes exactly one lock of the user.voidDefaultCachedPermissionManagement.unlock(@NonNull PermissionUser user) Removes exactly one lock of the user.voidCachedPermissionManagement.unlockFully(@NonNull PermissionUser user) Removes all locks that the given user has.voidDefaultCachedPermissionManagement.unlockFully(@NonNull PermissionUser user) Removes all locks that the given user has.voidPermissionManagement.updateUser(@NonNull PermissionUser permissionUser) Updates the given permission user in the database.PermissionManagement.updateUserAsync(@NonNull PermissionUser permissionUser) Updates the given permission user in the database.Method parameters in eu.cloudnetservice.driver.permission with type arguments of type PermissionUserModifier 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).