org.alfresco.service.cmr.search
Class LimitBy

java.lang.Object
  extended by java.lang.Enum
      extended by org.alfresco.service.cmr.search.LimitBy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class LimitBy
extends java.lang.Enum

Enum to describe how the maximum size of the returned result set should be determined.

See Also:
Serialized Form

Field Summary
static LimitBy FINAL_SIZE
          Limit the total number of search results returned after pruning by permissions.
static 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).
static LimitBy UNLIMITED
          The final number of search results is not important.
 
Method Summary
static LimitBy valueOf(java.lang.String name)
           
static LimitBy[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field 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()

valueOf

public static LimitBy valueOf(java.lang.String name)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.