Package org.alfresco.service.cmr.search
Enum SearchParameters.Operator
- java.lang.Object
-
- java.lang.Enum<SearchParameters.Operator>
-
- org.alfresco.service.cmr.search.SearchParameters.Operator
-
- All Implemented Interfaces:
Serializable
,Comparable<SearchParameters.Operator>
- Enclosing class:
- SearchParameters
public static enum SearchParameters.Operator extends Enum<SearchParameters.Operator>
An emum defining if the default action is to "and" or "or" unspecified components in the query register. Not all search implementations will support this.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchParameters.Operator
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchParameters.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OR
public static final SearchParameters.Operator OR
OR
-
AND
public static final SearchParameters.Operator AND
AND
-
-
Method Detail
-
values
public static SearchParameters.Operator[] 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 (SearchParameters.Operator c : SearchParameters.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchParameters.Operator 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 nameNullPointerException
- if the argument is null
-
-