Enum Class RightCheckingMode
java.lang.Object
java.lang.Enum<RightCheckingMode>
org.ametys.web.frontoffice.search.instance.model.RightCheckingMode
- All Implemented Interfaces:
Serializable
,Comparable<RightCheckingMode>
,java.lang.constant.Constable
The right checking mode, either exact (better results), either fast (better performances), either none (too much result).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RightCheckingMode
Returns the enum constant of this class with the specified name.static RightCheckingMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXACT
Exact right checking mode, i.e. the user will see all contents he has right on.
This mode is for not caching results. -
FAST
Fast right checking mode, i.e. the user could not see some contents he has right on.
This mode is for caching results. -
NONE
No right checking mode, i.e. the user could see some contents he does not have right on.
This mode is for not caching results, but having better performances thanEXACT
(because Solr will never query the read-rights to Ametys)
-
-
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
-