Enum Class FieldAccessTier

java.lang.Object
java.lang.Enum<FieldAccessTier>
com.kingsrook.qqq.backend.core.actions.permissions.fieldaccess.FieldAccessTier
All Implemented Interfaces:
Serializable, Comparable<FieldAccessTier>, Constable

public enum FieldAccessTier extends Enum<FieldAccessTier>
Effective field access, ordered from least to most restrictive.
  • Enum Constant Details

  • Method Details

    • values

      public static FieldAccessTier[] 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 FieldAccessTier 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
    • canReadValue

      public boolean canReadValue()
      canReadValue
    • canSort

      public boolean canSort()
      canSort
    • canGroupOrAggregate

      public boolean canGroupOrAggregate()
      canGroupOrAggregate
    • canQuickSearch

      public boolean canQuickSearch()
      canQuickSearch
    • canWrite

      public boolean canWrite()
      canWrite
    • canFilter

      public boolean canFilter(QCriteriaOperator operator)
      Whether the operator is available for this tier.
    • isInMetaData

      public boolean isInMetaData()
      Whether the field may be described to the caller.
    • mostRestrictive

      public FieldAccessTier mostRestrictive(FieldAccessTier other)
      Combine tiers; null means FULL.
    • leastRestrictive

      public FieldAccessTier leastRestrictive(FieldAccessTier other)
      Combine tiers; null means FULL.