Enum Class StoreAccessService.Scope
java.lang.Object
java.lang.Enum<StoreAccessService.Scope>
org.bgerp.plugin.inventoru.service.StoreAccessService.Scope
- All Implemented Interfaces:
Serializable, Comparable<StoreAccessService.Scope>, Constable
- Enclosing class:
StoreAccessService
On which warehouses a permission node acts. A node of the permission tree says WHAT a role may
do; this says WHERE, the way the process nodes of the kernel carry options of their own
(
onlyPermittedTypes, allowOnlyGroups) set in the editor of a permission set.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic StoreAccessService.ScopeReturns the enum constant of this class with the specified name.static StoreAccessService.Scope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUN
The warehouses of the user's editing groups: the storekeeper — runs them. -
WORK
Owned, granted personally or to a group of the user, or run by their editing group: the installer — works with them. -
ALL
Every warehouse.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-