public class ContentTypeSearchField extends Object implements SearchField
Modifier and Type | Field and Description |
---|---|
protected boolean |
_includeAll
True to include all hierarchy, false otherwise.
|
static String |
NAME
The content types field name.
|
static String |
NAME_ALL
The "all content types" field name.
|
Constructor and Description |
---|
ContentTypeSearchField()
Build a content type search field (supertypes excluded).
|
ContentTypeSearchField(boolean includeAll)
Build a content type search field.
|
Modifier and Type | Method and Description |
---|---|
String |
getFacetField()
Get the facet field corresponding to this field.
|
String |
getName()
Get the search field name.
|
String |
getSortField()
Get the sort field corresponding to this field.
|
public static final String NAME
public static final String NAME_ALL
protected boolean _includeAll
public ContentTypeSearchField()
public ContentTypeSearchField(boolean includeAll)
includeAll
- true
to include all hierarchy, false
otherwise.public String getName()
SearchField
getName
in interface SearchField
public String getSortField()
SearchField
getSortField
in interface SearchField
public String getFacetField()
SearchField
getFacetField
in interface SearchField