com.flexive.shared.search.query
Enum VersionFilter
java.lang.Object
java.lang.Enum<VersionFilter>
com.flexive.shared.search.query.VersionFilter
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<VersionFilter>
public enum VersionFilter
- extends java.lang.Enum<VersionFilter>
Version filters available in the FxSQL search engine.
For example:
FILTER co.version=max
to select the highest version of contents, or
FILTER co.version=all
to return all versions of found content instances.
- Version:
- $Rev: 1860 $
- Author:
- Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
|
Method Summary |
static VersionFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VersionFilter[] |
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 |
MAX
public static final VersionFilter MAX
LIVE
public static final VersionFilter LIVE
ALL
public static final VersionFilter ALL
AUTO
public static final VersionFilter AUTO
values
public static VersionFilter[] 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 (VersionFilter c : VersionFilter.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static VersionFilter valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null