@AlfrescoPublicApi public enum LimitBy extends Enum<LimitBy>
Enum Constant and 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.
|
Modifier and Type | Method and Description |
---|---|
static LimitBy |
valueOf(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.
|
public static final LimitBy UNLIMITED
public static final LimitBy FINAL_SIZE
public static final LimitBy NUMBER_OF_PERMISSION_EVALUATIONS
public static LimitBy[] values()
for (LimitBy c : LimitBy.values()) System.out.println(c);
public static LimitBy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2005–2017 Alfresco Software. All rights reserved.