public class CollectionEnumerator extends Object implements Enumerator<String>, Serviceable
Modifier and Type | Field and Description |
---|---|
private SynchronizableContentsCollectionDAO |
_synchronizableContentsCollectionDAO |
Constructor and Description |
---|
CollectionEnumerator() |
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.
|
void |
service(ServiceManager manager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfiguration
private SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
public CollectionEnumerator()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public I18nizableText getEntry(String value) throws Exception
Enumerator
getEntry
in interface Enumerator<String>
value
- the value.null
if not found.Exception
- if an error occurs.public Map<String,I18nizableText> getTypedEntries() throws Exception
Enumerator
getTypedEntries
in interface Enumerator<String>
Exception
- if an error occurs.
TODO NEWATTRIBUTEAPI: rename this method when Enumerator
will be removed