public class ContentTypesForSearchEnumerator extends ContentTypeEnumerator
ContentType
and type Resource_allOption, _contentTypes, _cTypeExtPt, _excludeAbstract, _excludeMixin, _excludePrivate, _excludeReferenceTable, _mixinOnly, _strictContentTypes
Constructor and Description |
---|
ContentTypesForSearchEnumerator() |
Modifier and Type | Method and Description |
---|---|
Map<Object,I18nizableText> |
getEntries()
Provides the enumerated values with their optional label.
|
I18nizableText |
getEntry(String value)
Retrieves a single label from a value.
|
_handleAllOptionEntry, configure, getConfiguration, getMatchingContentTypes, service
public ContentTypesForSearchEnumerator()
public Map<Object,I18nizableText> getEntries() throws Exception
Enumerator
getEntries
in interface Enumerator
getEntries
in class ContentTypeEnumerator
Exception
- if an error occurs.public I18nizableText getEntry(String value) throws Exception
Enumerator
getEntry
in interface Enumerator
getEntry
in class ContentTypeEnumerator
value
- the value.null
if not found.Exception
- if an error occurs.