Package cn.dinodev.spring.commons
Enum Class Scope.DEFAULT
- All Implemented Interfaces:
Scope,Serializable,Comparable<Scope.DEFAULT>,Constable
- Enclosing interface:
- Scope
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface cn.dinodev.spring.commons.Scope
Scope.DEFAULT -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetName()scope 的名字intgetOrder()scope 顺序Scope[]higherScopes(boolean includeThis) 比自己优先级高的ScopesScope[]lowerScopes(boolean includeThis) 比自己优先级低的Scopesstatic Scopeprovider()toString()static Scope.DEFAULTReturns the enum constant of this class with the specified name.static Scope.DEFAULT[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYS
-
TENANT
-
PAGE
-
USER
-
-
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
-
getName
Description copied from interface:Scopescope 的名字 -
getOrder
public int getOrder()Description copied from interface:Scopescope 顺序 -
lowerScopes
Description copied from interface:Scope比自己优先级低的Scopes- Specified by:
lowerScopesin interfaceScope- Parameters:
includeThis- 是否包含本Scope- Returns:
- 比自己小或等于自己排序的Scopes
-
higherScopes
Description copied from interface:Scope比自己优先级高的Scopes- Specified by:
higherScopesin interfaceScope- Parameters:
includeThis- 是否包含本Scope- Returns:
- 比自己大或等于自己排序的Scopes
-
toString
- Overrides:
toStringin classEnum<Scope.DEFAULT>
-
provider
-
of
-