Package org.alfresco.service.cmr.search
Enum LimitBy
- java.lang.Object
-
- java.lang.Enum<LimitBy>
-
- org.alfresco.service.cmr.search.LimitBy
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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).UNLIMITED
The final number of search results is not important.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LimitBy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LimitBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNLIMITED
public static final LimitBy UNLIMITED
The final number of search results is not important.
-
FINAL_SIZE
public static final LimitBy FINAL_SIZE
Limit the total number of search results returned after pruning by permissions.
-
NUMBER_OF_PERMISSION_EVALUATIONS
public static final LimitBy 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 Detail
-
values
public static LimitBy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LimitBy c : LimitBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LimitBy valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-