public class MetadataSetEnumerator extends AbstractLogEnabled implements Enumerator, Serviceable, Configurable
| Modifier and Type | Field and Description |
|---|---|
protected String |
_contentTypeId
The configured content type.
|
protected ContentTypeExtensionPoint |
_cTypeEP
Content type extension point.
|
| Constructor and Description |
|---|
MetadataSetEnumerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration configuration) |
Map<String,Object> |
getConfiguration()
Get the configuration this enumerator
|
Map<Object,I18nizableText> |
getEntries()
Provides the enumerated values with their optional label.
|
I18nizableText |
getEntry(String value)
Retrieves a single label from a value.
|
void |
service(ServiceManager manager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected ContentTypeExtensionPoint _cTypeEP
protected String _contentTypeId
public MetadataSetEnumerator()
public void configure(Configuration configuration) throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionpublic void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic Map<String,Object> getConfiguration()
EnumeratorgetConfiguration in interface Enumeratorpublic Map<Object,I18nizableText> getEntries() throws Exception
EnumeratorgetEntries in interface EnumeratorException - if an error occurs.public I18nizableText getEntry(String value) throws Exception
EnumeratorgetEntry in interface Enumeratorvalue - the value.null if not found.Exception - if an error occurs.