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 |
---|---|
I18nizableText |
getEntry(String value)
Retrieves a single label from a value.
|
Map<String,I18nizableText> |
getTypedEntries()
Provides the enumerated values with their optional label.
|
_handleAllOptionEntry, configure, getConfiguration, getEntries, getMatchingContentTypes, service
public ContentTypesForSearchEnumerator()
public Map<String,I18nizableText> getTypedEntries() throws Exception
Enumerator
getTypedEntries
in class ContentTypeEnumerator
Exception
- if an error occurs.
TODO NEWATTRIBUTEAPI: rename this method when Enumerator
will be removedpublic 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.