protected static enum SearchGenerator.ContentTypeSearch extends Enum<SearchGenerator.ContentTypeSearch>
Enum Constant and Description |
---|
CHECKBOX
To search by content type with checkbox
|
CHECKBOX_FILTER
To search by content type with checkbox and filter (facets)
|
FILTER
To search by content type with filter (facets)
|
LIST
To search by content type with combo box selection
|
NONE
To not allow to search by content type
|
Modifier and Type | Method and Description |
---|---|
static SearchGenerator.ContentTypeSearch |
getEnum(String value)
Get enumeration value
|
String |
toString() |
static SearchGenerator.ContentTypeSearch |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchGenerator.ContentTypeSearch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchGenerator.ContentTypeSearch FILTER
public static final SearchGenerator.ContentTypeSearch LIST
public static final SearchGenerator.ContentTypeSearch CHECKBOX
public static final SearchGenerator.ContentTypeSearch CHECKBOX_FILTER
public static final SearchGenerator.ContentTypeSearch NONE
public static SearchGenerator.ContentTypeSearch[] values()
for (SearchGenerator.ContentTypeSearch c : SearchGenerator.ContentTypeSearch.values()) System.out.println(c);
public static SearchGenerator.ContentTypeSearch valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<SearchGenerator.ContentTypeSearch>
public static SearchGenerator.ContentTypeSearch getEnum(String value)
value
- The value