Package org.alfresco.service.cmr.search
Enum LimitBy
- All Implemented Interfaces:
Serializable
,Comparable<LimitBy>
,java.lang.constant.Constable
Enum to describe how the maximum size of the returned result set should be determined.
- Author:
- Andy Hind
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLimit the total number of search results returned after pruning by permissions.Limit the number of results that will be passed through for permission checks.
Used internally to prevent excessive permission checking (see property lucene.query.maxInitialSearchResults).The final number of search results is not important. -
Method Summary
-
Enum Constant Details
-
UNLIMITED
The final number of search results is not important. -
FINAL_SIZE
Limit the total number of search results returned after pruning by permissions. -
NUMBER_OF_PERMISSION_EVALUATIONS
Limit the number of results that will be passed through for permission checks.
Used internally to prevent excessive permission checking (see property lucene.query.maxInitialSearchResults).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-