org.nuiton.wikitty.search.operators
Enum RestrictionName

java.lang.Object
  extended by java.lang.Enum<RestrictionName>
      extended by org.nuiton.wikitty.search.operators.RestrictionName
All Implemented Interfaces:
Serializable, Comparable<RestrictionName>

Deprecated. since 3.3 use new query api WikittyQuery

@Deprecated
public enum RestrictionName
extends Enum<RestrictionName>

This enum contains all kind of restriction used to request content. It's used by parser to create lucene request from RestrictionDto.


Enum Constant Summary
AND
          Deprecated.  
ASSOCIATED
          Deprecated.  
BETWEEN
          Deprecated.  
CONTAINS
          Deprecated.  
ENDS_WITH
          Deprecated.  
EQUALS
          Deprecated.  
FALSE
          Deprecated.  
GREATER
          Deprecated.  
GREATER_OR_EQUAL
          Deprecated.  
IN
          Deprecated.  
IS_NOT_NULL
          Deprecated.  
IS_NULL
          Deprecated.  
KEYWORD
          Deprecated.  
LESS
          Deprecated.  
LESS_OR_EQUAL
          Deprecated.  
LIKE
          Deprecated.  
NOT
          Deprecated.  
NOT_EQUALS
          Deprecated.  
OR
          Deprecated.  
STARTS_WITH
          Deprecated.  
TRUE
          Deprecated.  
UNLIKE
          Deprecated.  
 
Method Summary
static RestrictionName valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static RestrictionName[] values()
          Deprecated. 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

EQUALS

public static final RestrictionName EQUALS
Deprecated. 

NOT_EQUALS

public static final RestrictionName NOT_EQUALS
Deprecated. 

LIKE

public static final RestrictionName LIKE
Deprecated. 

UNLIKE

public static final RestrictionName UNLIKE
Deprecated. 

LESS

public static final RestrictionName LESS
Deprecated. 

LESS_OR_EQUAL

public static final RestrictionName LESS_OR_EQUAL
Deprecated. 

GREATER

public static final RestrictionName GREATER
Deprecated. 

GREATER_OR_EQUAL

public static final RestrictionName GREATER_OR_EQUAL
Deprecated. 

CONTAINS

public static final RestrictionName CONTAINS
Deprecated. 

STARTS_WITH

public static final RestrictionName STARTS_WITH
Deprecated. 

ENDS_WITH

public static final RestrictionName ENDS_WITH
Deprecated. 

NOT

public static final RestrictionName NOT
Deprecated. 

AND

public static final RestrictionName AND
Deprecated. 

OR

public static final RestrictionName OR
Deprecated. 

BETWEEN

public static final RestrictionName BETWEEN
Deprecated. 

TRUE

public static final RestrictionName TRUE
Deprecated. 

FALSE

public static final RestrictionName FALSE
Deprecated. 

ASSOCIATED

public static final RestrictionName ASSOCIATED
Deprecated. 

IN

public static final RestrictionName IN
Deprecated. 

KEYWORD

public static final RestrictionName KEYWORD
Deprecated. 

IS_NULL

public static final RestrictionName IS_NULL
Deprecated. 

IS_NOT_NULL

public static final RestrictionName IS_NOT_NULL
Deprecated. 
Method Detail

values

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

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

valueOf

public static RestrictionName valueOf(String name)
Deprecated. 
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


Copyright © 2009-2012 CodeLutin. All Rights Reserved.