Uses of Enum Class
nl.pim16aap2.animatedarchitecture.core.structures.PermissionLevel
Packages that use PermissionLevel
Package
Description
This package contains command definitions and command factories used by this project, as well as various base command
classes and interfaces.
This package contains managers that manage different certain aspects of the plugin.
This package contains storage-related classes, including storage interfaces, SQLite database storage classes, and
more.
Contains the storage implementation for SQLite.
This package contains classes that define, manipulate, and manage structures.
This package contains classes that represent properties of structures.
This package contains classes and interfaces related to retrieving structures from the database.
This package contains classes responsible for handling commands.
-
Uses of PermissionLevel in nl.pim16aap2.animatedarchitecture.core.commands
Methods in nl.pim16aap2.animatedarchitecture.core.commands that return PermissionLevelModifier and TypeMethodDescriptionAddOwnerDelayed.DelayedInput.targetPermissionLevel()Returns the value of thetargetPermissionLevelrecord component.Methods in nl.pim16aap2.animatedarchitecture.core.commands with parameters of type PermissionLevelModifier and TypeMethodDescriptionprotected CompletableFuture<Structure> BaseCommand.getStructure(StructureRetriever structureRetriever, PermissionLevel permissionLevel) Attempts to get anStructurebased on the providedStructureRetrieverFactoryand the currentICommandSender.CommandFactory.newAddOwner(ICommandSender commandSender, StructureRetriever structureRetriever, IPlayer targetPlayer, PermissionLevel targetPermissionLevel) Constructors in nl.pim16aap2.animatedarchitecture.core.commands with parameters of type PermissionLevelModifierConstructorDescriptionDelayedInput(IPlayer targetPlayer, @Nullable PermissionLevel targetPermissionLevel) Creates an instance of aDelayedInputrecord class. -
Uses of PermissionLevel in nl.pim16aap2.animatedarchitecture.core.managers
Methods in nl.pim16aap2.animatedarchitecture.core.managers with parameters of type PermissionLevelModifier and TypeMethodDescriptionDatabaseManager.addOwner(Structure structure, IPlayer player, PermissionLevel permission) DatabaseManager.addOwner(Structure structure, IPlayer player, PermissionLevel permission, @Nullable IPlayer responsible) Adds a player as owner to aStructureat a given level of ownership.DatabaseManager.getIdentifiersFromPartial(String input, @Nullable IPlayer player, PermissionLevel maxPermission, Collection<Property<?>> properties) Retrieves allDatabaseManager.StructureIdentifiers that start with the provided input.DatabaseManager.getStructures(IPlayer player, String name, PermissionLevel maxPermission) Gets allStructureowned by a player with a specific name. -
Uses of PermissionLevel in nl.pim16aap2.animatedarchitecture.core.storage
Methods in nl.pim16aap2.animatedarchitecture.core.storage with parameters of type PermissionLevelModifier and TypeMethodDescriptionbooleanIStorage.addOwner(long structureUID, PlayerData player, PermissionLevel permission) Adds a player as owner of a structure with at a certain permission level to a structure.IStorage.getPartialIdentifiers(String input, @Nullable IPlayer player, PermissionLevel maxPermission, Collection<Property<?>> properties) Retrieves allDatabaseManager.StructureIdentifiers that start with the provided input.IStorage.getStructures(UUID playerUUID, String structureName, PermissionLevel maxPermission) Gets all the structures with the given name, owned by the player with at least a certain permission level.IStorage.getStructures(UUID playerUUID, PermissionLevel maxPermission) Gets all the structures owned by a given player with at least a certain permission level. -
Uses of PermissionLevel in nl.pim16aap2.animatedarchitecture.core.storage.sqlite
Methods in nl.pim16aap2.animatedarchitecture.core.storage.sqlite with parameters of type PermissionLevelModifier and TypeMethodDescriptionbooleanSQLiteJDBCDriverConnection.addOwner(long structureUID, PlayerData player, PermissionLevel permission) SQLiteJDBCDriverConnection.getPartialIdentifiers(String input, @Nullable IPlayer player, PermissionLevel maxPermission, Collection<Property<?>> properties) SQLiteJDBCDriverConnection.getStructures(UUID playerUUID, String structureName, PermissionLevel maxPermission) SQLiteJDBCDriverConnection.getStructures(UUID playerUUID, PermissionLevel maxPermission) -
Uses of PermissionLevel in nl.pim16aap2.animatedarchitecture.core.structures
Subclasses with type arguments of type PermissionLevel in nl.pim16aap2.animatedarchitecture.core.structuresModifier and TypeClassDescriptionenumRepresents a permission level where a lower level indicates a higher access level.Methods in nl.pim16aap2.animatedarchitecture.core.structures that return PermissionLevelModifier and TypeMethodDescriptionstatic @Nullable PermissionLevelRetrieves thePermissionLevelfrom its name.static @Nullable PermissionLevelPermissionLevel.fromValue(int id) Retrieves thePermissionLevelmapped to a given id.default PermissionLevelIStructureConst.getPermissionLevel(IPlayer player) Gets the permission level of a player for this structure.default PermissionLevelIStructureConst.getPermissionLevel(ICommandSender commandSender) Gets the permission level of a command sender for this structure.StructureAttribute.getPermissionLevel()The minimum level of ownership required to access an attribute.StructureOwner.permission()Returns the value of thepermissionrecord component.static PermissionLevelReturns the enum constant of this class with the specified name.static PermissionLevel[]PermissionLevel.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in nl.pim16aap2.animatedarchitecture.core.structures that return types with arguments of type PermissionLevelModifier and TypeMethodDescriptionstatic List<PermissionLevel> PermissionLevel.getValues()Retrieves an unmodifiable list of all values.Methods in nl.pim16aap2.animatedarchitecture.core.structures with parameters of type PermissionLevelModifier and TypeMethodDescriptionbooleanStructureAttribute.canAccessWith(PermissionLevel permissionLevel) Checks if a given permission level has access to this attribute.booleanPermissionLevel.isLowerThan(PermissionLevel other) Checks if the current permission is lower than other permission level.booleanPermissionLevel.isLowerThanOrEquals(PermissionLevel other) Checks if the current permission is lower than or equal to the other permission level.booleanIStructureConst.isOwner(UUID player, PermissionLevel permissionLevel) Checks if a player with a given UUID is a (co-)owner of this structure with a given level of ownership.default booleanIStructureConst.isOwner(IPlayer player, PermissionLevel permissionLevel) Checks if a player with a given UUID is a (co-)owner of this structure with a given level of ownership.booleanStructure.isOwner(UUID uuid, PermissionLevel permissionLevel) booleanStructureSnapshot.isOwner(UUID uuid, PermissionLevel permissionLevel) Constructors in nl.pim16aap2.animatedarchitecture.core.structures with parameters of type PermissionLevelModifierConstructorDescriptionStructureOwner(long structureUID, PermissionLevel permission, PlayerData playerData) Creates an instance of aStructureOwnerrecord class. -
Uses of PermissionLevel in nl.pim16aap2.animatedarchitecture.core.structures.properties
Methods in nl.pim16aap2.animatedarchitecture.core.structures.properties with parameters of type PermissionLevelModifier and TypeMethodDescriptionintProperty.getAccessLevel(PermissionLevel permissionLevel) Gets the access level for the given permission level. -
Uses of PermissionLevel in nl.pim16aap2.animatedarchitecture.core.structures.retriever
Fields in nl.pim16aap2.animatedarchitecture.core.structures.retriever declared as PermissionLevelModifier and TypeFieldDescriptionstatic final PermissionLevelStructureRetrieverFactory.DEFAULT_PERMISSION_LEVELThe default permission level to use when searching for structures when not specified.Methods in nl.pim16aap2.animatedarchitecture.core.structures.retriever with parameters of type PermissionLevelModifier and TypeMethodDescriptionabstract CompletableFuture<Optional<Structure>> StructureRetriever.getStructure(IPlayer player, PermissionLevel permissionLevel) Gets the structure that is referenced by thisStructureRetrieverand owned by the provided player if exactly 1 structure matches the description.StructureRetriever.getStructure(ICommandSender commandSender, PermissionLevel permissionLevel) Gets the structure referenced by thisStructureRetriever.StructureRetriever.getStructureInteractive(IPlayer player, PermissionLevel permissionLevel) Attempts to retrieve a structure from its specification (seeStructureRetriever.getStructure(IPlayer, PermissionLevel)).StructureRetriever.getStructures(IPlayer player, PermissionLevel permissionLevel) Gets all structures referenced by thisStructureRetrieverwhere the provided player is a (co)owner of with any permission level.StructureRetriever.getStructures(ICommandSender commandSender, PermissionLevel permissionLevel) Gets all structures referenced by thisStructureRetriever.StructureRetrieverFactory.search(ICommandSender commandSender, String input, PermissionLevel maxPermission, Collection<Property<?>> properties) StructureRetrieverFactory.search(ICommandSender commandSender, String input, StructureRetrieverFactory.StructureFinderMode mode, PermissionLevel maxPermission, Collection<Property<?>> properties) Gets theStructureFinderto find structures from partial string matches.StructureRetrieverFactory.search(ICommandSender commandSender, String input, StructureRetrieverFactory.StructureFinderMode mode, PermissionLevel maxPermission, Property<?>... properties) -
Uses of PermissionLevel in nl.pim16aap2.animatedarchitecture.spigot.core.comands
Subclasses with type arguments of type PermissionLevel in nl.pim16aap2.animatedarchitecture.spigot.core.comandsClasses in nl.pim16aap2.animatedarchitecture.spigot.core.comands that implement interfaces with type arguments of type PermissionLevelModifier and TypeClassDescriptionstatic final classFields in nl.pim16aap2.animatedarchitecture.spigot.core.comands with type parameters of type PermissionLevelModifier and TypeFieldDescriptionstatic final CommandParameterInfo<PermissionLevel> CommandParameterInfo.PARAM_PERMISSION_LEVELMethods in nl.pim16aap2.animatedarchitecture.spigot.core.comands that return types with arguments of type PermissionLevelModifier and TypeMethodDescriptioncloud.commandframework.arguments.parser.ArgumentParseResult<PermissionLevel> PermissionLevelArgument.PermissionLevelArgumentParser.parse(cloud.commandframework.context.CommandContext<ICommandSender> commandContext, Queue<String> inputQueue) Methods in nl.pim16aap2.animatedarchitecture.spigot.core.comands with parameters of type PermissionLevelModifier and TypeMethodDescriptionPermissionLevelArgument.PermissionLevelArgumentBuilder.maximumLevel(@Nullable PermissionLevel maximumLevel) StructureArgument.StructureArgumentBuilder.maxPermission(PermissionLevel maxPermission) PermissionLevelArgument.PermissionLevelArgumentBuilder.minimumLevel(@Nullable PermissionLevel minimumLevel) Constructors in nl.pim16aap2.animatedarchitecture.spigot.core.comands with parameters of type PermissionLevelModifierConstructorDescriptionPermissionLevelArgument(boolean required, String name, @Nullable String defaultValue, @Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider, @Nullable cloud.commandframework.ArgumentDescription defaultDescription, ILocalizer localizer, @Nullable PermissionLevel minimumLevel, @Nullable PermissionLevel maximumLevel) PermissionLevelArgumentParser(ILocalizer localizer, @Nullable PermissionLevel minimumLevel, @Nullable PermissionLevel maximumLevel) StructureArgument(boolean required, String name, @Nullable String defaultValue, @Nullable BiFunction<cloud.commandframework.context.CommandContext<ICommandSender>, String, List<String>> suggestionsProvider, @Nullable cloud.commandframework.ArgumentDescription defaultDescription, boolean asyncSuggestions, IExecutor executor, StructureRetrieverFactory structureRetrieverFactory, PermissionLevel maxPermission, Property<?>... properties) StructureArgumentParser(boolean asyncSuggestions, StructureRetrieverFactory structureRetrieverFactory, PermissionLevel maxPermission, IExecutor executor, Property<?>... properties)