Package org.opencms.ui.apps.search
Enum CmsSourceSearchForm.SearchType
java.lang.Object
java.lang.Enum<CmsSourceSearchForm.SearchType>
org.opencms.ui.apps.search.CmsSourceSearchForm.SearchType
- All Implemented Interfaces:
Serializable
,Comparable<CmsSourceSearchForm.SearchType>
,java.lang.constant.Constable
- Enclosing class:
- CmsSourceSearchForm
The available search types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionXML content values only.Full text search.Property search.Filter using a solr index, before searching for matches.Filter using a solr index, before searching for matches, XML content values only. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether this is a content values only search type.boolean
Returns whether this is a property search type.boolean
Returns whether this is a SOLR search type.Returns the enum constant of this type with the specified name.static CmsSourceSearchForm.SearchType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
contentValues
XML content values only. -
fullText
Full text search. -
properties
Property search. -
renameContainer
-
resourcetype
-
solr
Filter using a solr index, before searching for matches. -
solrContentValues
Filter using a solr index, before searching for matches, XML content values only.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
isContentValuesOnly
Returns whether this is a content values only search type.- Returns:
true
if this is a content values only search type
-
isPropertySearch
Returns whether this is a property search type.- Returns:
- true if this is property search
-
isSolrSearch
Returns whether this is a SOLR search type.- Returns:
true
if this is a SOLR search type
-