Enum Class SplibUtil.LoginStateEnum

java.lang.Object
java.lang.Enum<SplibUtil.LoginStateEnum>
jp.ecuacion.splib.web.util.SplibUtil.LoginStateEnum
All Implemented Interfaces:
Serializable, Comparable<SplibUtil.LoginStateEnum>, Constable
Enclosing class:
SplibUtil

public static enum SplibUtil.LoginStateEnum extends Enum<SplibUtil.LoginStateEnum>
Designates login state.

public=no login, account=user login, admin=service provider or administrator login.

It's used the following.

  • As a part of url: xxx of https://domain/contextPath/xxx/.....
  • Specifies the kind of navBar. Totally different navBar can be shown by each loginState.
  • Enum Constant Details

  • Method Details

    • values

      public static SplibUtil.LoginStateEnum[] 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 SplibUtil.LoginStateEnum 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
    • getCode

      public String getCode()