Liferay 6.2-ce-ga5

com.liferay.portal.kernel.search.messaging
Enum SearchEngineCommand

java.lang.Object
  extended by java.lang.Enum<SearchEngineCommand>
      extended by com.liferay.portal.kernel.search.messaging.SearchEngineCommand
All Implemented Interfaces:
Serializable, Comparable<SearchEngineCommand>

public enum SearchEngineCommand
extends Enum<SearchEngineCommand>


Enum Constant Summary
ADD_DOCUMENT
           
ADD_DOCUMENTS
           
DELETE_DOCUMENT
           
DELETE_DOCUMENTS
           
DELETE_PORTLET_DOCUMENTS
           
SEARCH
           
UPDATE_DOCUMENT
           
UPDATE_DOCUMENTS
           
 
Method Summary
static SearchEngineCommand valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SearchEngineCommand[] 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

ADD_DOCUMENT

public static final SearchEngineCommand ADD_DOCUMENT

ADD_DOCUMENTS

public static final SearchEngineCommand ADD_DOCUMENTS

DELETE_DOCUMENT

public static final SearchEngineCommand DELETE_DOCUMENT

DELETE_DOCUMENTS

public static final SearchEngineCommand DELETE_DOCUMENTS

DELETE_PORTLET_DOCUMENTS

public static final SearchEngineCommand DELETE_PORTLET_DOCUMENTS

SEARCH

public static final SearchEngineCommand SEARCH

UPDATE_DOCUMENT

public static final SearchEngineCommand UPDATE_DOCUMENT

UPDATE_DOCUMENTS

public static final SearchEngineCommand UPDATE_DOCUMENTS
Method Detail

values

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

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

valueOf

public static SearchEngineCommand 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

Liferay 6.2-ce-ga5