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

public static enum StoreAccessService.Scope extends Enum<StoreAccessService.Scope>
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.
  • Enum Constant Details

    • RUN

      public static final StoreAccessService.Scope RUN
      The warehouses of the user's editing groups: the storekeeper — runs them.
    • WORK

      public static final StoreAccessService.Scope WORK
      Owned, granted personally or to a group of the user, or run by their editing group: the installer — works with them.
    • ALL

      public static final StoreAccessService.Scope ALL
      Every warehouse.
  • Method Details

    • values

      public static StoreAccessService.Scope[] 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

      public static StoreAccessService.Scope valueOf(String name)
      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 name
      NullPointerException - if the argument is null