org.exoplatform.commons.api.search.data
Enum SearchContext.RouterParams

java.lang.Object
  extended by java.lang.Enum<SearchContext.RouterParams>
      extended by org.exoplatform.commons.api.search.data.SearchContext.RouterParams
All Implemented Interfaces:
Serializable, Comparable<SearchContext.RouterParams>
Enclosing class:
SearchContext

public static enum SearchContext.RouterParams
extends Enum<SearchContext.RouterParams>


Enum Constant Summary
HANDLER
           
LANG
           
PATH
           
SITE_NAME
           
SITE_TYPE
           
 
Method Summary
 org.exoplatform.web.controller.QualifiedName create()
           
static SearchContext.RouterParams valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SearchContext.RouterParams[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

SITE_TYPE

public static final SearchContext.RouterParams SITE_TYPE

SITE_NAME

public static final SearchContext.RouterParams SITE_NAME

HANDLER

public static final SearchContext.RouterParams HANDLER

PATH

public static final SearchContext.RouterParams PATH

LANG

public static final SearchContext.RouterParams LANG
Method Detail

values

public static SearchContext.RouterParams[] 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 (SearchContext.RouterParams c : SearchContext.RouterParams.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SearchContext.RouterParams valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

create

public org.exoplatform.web.controller.QualifiedName create()


Copyright © 2013 eXo Platform SAS. All Rights Reserved.