public class CatalogEnumerator extends Object implements Enumerator<String>, Serviceable, Enumerator
Enumerator for the ODF Catalog| Modifier and Type | Field and Description |
|---|---|
private CatalogsManager |
_catalogsManager |
static String |
ROLE
Avalon Role
|
| Constructor and Description |
|---|
CatalogEnumerator() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getConfiguration()
Get the configuration of 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.
|
Map<String,I18nizableText> |
getTypedEntries()
Provides the enumerated values with their optional label.
|
void |
service(ServiceManager manager) |
private CatalogsManager _catalogsManager
public CatalogEnumerator()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic Map<Object,I18nizableText> getEntries() throws Exception
EnumeratorgetEntries in interface EnumeratorException - if an error occurs.public Map<String,I18nizableText> getTypedEntries() throws Exception
EnumeratorException - if an error occurs.
TODO NEWATTRIBUTEAPI: rename this method when Enumerator will be removedpublic I18nizableText getEntry(String value) throws Exception
EnumeratorgetEntry in interface Enumeratorvalue - the value.null if not found.Exception - if an error occurs.public Map<String,Object> getConfiguration()
EnumeratorgetConfiguration in interface Enumerator