程序包 com.walker.web

Enum Class UserType

java.lang.Object
java.lang.Enum<UserType>
com.walker.web.UserType
所有已实现的接口:
Serializable, Comparable<UserType>, Constable

public enum UserType extends Enum<UserType>
  • 枚举常量详细资料

    • SuperVisor

      public static final UserType SuperVisor
      超级管理员
    • Administrator

      public static final UserType Administrator
      独立单位管理员,必须在单位下面,不能在部门下面
    • AdministratorDept

      public static final UserType AdministratorDept
      独立单位内部部门管理,不能在单位下,只能在部门下面
    • User

      public static final UserType User
      普通用户
    • UserApp

      public static final UserType UserApp
    • UserEquipment

      public static final UserType UserEquipment
      非用户,一些设备需要获得系统连接授权的情况。
    • SUPER_MERCHANT

      public static final UserType SUPER_MERCHANT
      商户店长
    • MERCHANT_ADMIN

      public static final UserType MERCHANT_ADMIN
      商户管理员
  • 字段详细资料

    • TYPE_SUPER

      public static final int TYPE_SUPER
      另请参阅:
    • TYPE_ADMIN

      public static final int TYPE_ADMIN
      另请参阅:
    • TYPE_ADMIN_DEPT

      public static final int TYPE_ADMIN_DEPT
      另请参阅:
    • TYPE_NORMAL

      public static final int TYPE_NORMAL
      另请参阅:
    • TYPE_APP_REG

      public static final int TYPE_APP_REG
      另请参阅:
    • TYPE_EQUIPMENT

      public static final int TYPE_EQUIPMENT
      另请参阅:
    • TYPE_SUPER_MERCHANT

      public static final int TYPE_SUPER_MERCHANT
      另请参阅:
    • TYPE_MERCHANT_ADMIN

      public static final int TYPE_MERCHANT_ADMIN
      另请参阅:
  • 方法详细资料

    • values

      public static UserType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UserType 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • getType

      public static final UserType getType(int index)
    • getTypeValue

      public int getTypeValue()
      返回用户类型值
      返回: