public class OrgUnitUAICodeEnumerator extends Object implements Enumerator, Serviceable
OrgUnits using UAI code as unique identifier| Modifier and Type | Field and Description |
|---|---|
protected RootOrgUnitProvider |
_orgUnitProvider
The OrgUnit root provider
|
protected AmetysObjectResolver |
_resolver
The Ametys object resolver
|
| Constructor and Description |
|---|
OrgUnitUAICodeEnumerator() |
| Modifier and Type | Method and Description |
|---|---|
private Map<Object,I18nizableText> |
_getSubOrgUnits(OrgUnit orgUnit) |
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 smanager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationprotected AmetysObjectResolver _resolver
protected RootOrgUnitProvider _orgUnitProvider
public OrgUnitUAICodeEnumerator()
public void service(ServiceManager smanager) throws ServiceException
service in interface ServiceableServiceExceptionpublic Map<Object,I18nizableText> getEntries() throws Exception
EnumeratorgetEntries in interface EnumeratorException - if an error occurs.private Map<Object,I18nizableText> _getSubOrgUnits(OrgUnit orgUnit)
public I18nizableText getEntry(String value) throws Exception
EnumeratorgetEntry in interface Enumeratorvalue - the value.null if not found.Exception - if an error occurs.