- All Implemented Interfaces:
Serializable,Comparable<SplibUtil.LoginStateEnum>,Constable
- Enclosing class:
SplibUtil
ログイン状態を指定。 public=loginなし、account=一般ユーザログイン、admin=管理者/サービス提供側のログイン、を想定。
以下の用途で使用。
- URLの一部に入る。https://domain/contextPath/xxx/.... のxxx部分。
- navBarの種類を指定。loginStateにより全く異なるメニューのnavBarを表示することが可能。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionconfig画面など、ecuacionとして共通で持たせる画面に使用するpath。loginStateと言う意味では、本当はpublicよりnoneなどの方がわかりやすいのだが、 この名称がそのままhttps://domain/contextPath/xxx/....のxxx部分に載り、urlにnoneがあるのも違和感あるのでpublicとした。 -
Method Summary
Modifier and TypeMethodDescriptiongetCode()static SplibUtil.LoginStateEnumReturns the enum constant of this class with the specified name.static SplibUtil.LoginStateEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC
loginStateと言う意味では、本当はpublicよりnoneなどの方がわかりやすいのだが、 この名称がそのままhttps://domain/contextPath/xxx/....のxxx部分に載り、urlにnoneがあるのも違和感あるのでpublicとした。 -
ACCOUNT
-
ADMIN
-
ECUACION_PUBLIC
config画面など、ecuacionとして共通で持たせる画面に使用するpath。 urlの一部になる際はecuacion/publicの形となる
-
-
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
-
getCode
-