public interface LookupService
Modifier and Type | Method and Description |
---|---|
LookupTableInfo |
getTable(String id)
Get the lookup table registered with the given identifier.
|
Set<String> |
getTableIDs()
Get the identifiers of the available lookup tables.
|
void |
registerTable(String id,
LookupTableInfo tableInfo)
Register a lookup table with the service.
|
boolean |
removeTable(String id)
Remove the lookup table with the given identifier.
|
void registerTable(String id, LookupTableInfo tableInfo) throws IllegalArgumentException
id
- the unique lookup table IDtableInfo
- the lookup table plus meta informationIllegalArgumentException
- if the given identifier is already usedLookupTableInfo getTable(String id)
id
- the lookup table identifiernull
boolean removeTable(String id)
id
- the resource ID identifying the lookup table to removetrue
if the lookup table was present and
successfully removed, false
otherwiseBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a