|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexevs.registry.service.DelegatingDatabaseToXmlRegistry
public class DelegatingDatabaseToXmlRegistry
The Class DelegatingDatabaseToXmlRegistry.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.lexevs.registry.service.Registry |
---|
Registry.KnownTags, Registry.ResourceType |
Constructor Summary | |
---|---|
DelegatingDatabaseToXmlRegistry()
|
Method Summary | |
---|---|
void |
addNewItem(RegistryEntry entry)
Adds the new item. |
boolean |
containsCodingSchemeEntry(AbsoluteCodingSchemeVersionReference codingScheme)
Contains coding scheme entry. |
boolean |
containsNonCodingSchemeEntry(java.lang.String uri)
Contains non coding scheme entry. |
java.util.List<RegistryEntry> |
getAllRegistryEntries()
Gets the all registry entries. |
java.util.List<RegistryEntry> |
getAllRegistryEntriesOfType(Registry.ResourceType type)
Gets the all registry entries of type. |
java.util.List<RegistryEntry> |
getAllRegistryEntriesOfTypeAndURI(Registry.ResourceType type,
java.lang.String uri)
Gets the all registry entries of type and URI. |
java.util.List<RegistryEntry> |
getAllRegistryEntriesOfTypeURIAndVersion(Registry.ResourceType type,
java.lang.String uri,
java.lang.String version)
Gets the all registry entries of type, URI and version. |
RegistryEntry |
getCodingSchemeEntry(AbsoluteCodingSchemeVersionReference codingScheme)
Gets the coding scheme entry. |
Registry |
getDatabaseRegistry()
Gets the database registry. |
java.util.List<RegistryEntry> |
getEntriesForUri(java.lang.String uri)
Gets the entries for uri. |
java.util.Date |
getLastUpdateTime()
Gets the last update time. |
java.lang.String |
getNextDBIdentifier()
Gets the next db identifier. |
java.lang.String |
getNextHistoryIdentifier()
Gets the next history identifier. |
RegistryEntry |
getNonCodingSchemeEntry(java.lang.String uri)
Gets the non coding scheme entry. |
Registry |
getXmlRegistry()
Gets the xml registry. |
void |
removeEntry(RegistryEntry entry)
Removes the entry. |
void |
setDatabaseRegistry(Registry databaseRegistry)
Sets the database registry. |
void |
setXmlRegistry(Registry xmlRegistry)
Sets the xml registry. |
void |
updateCodingSchemeEntryTag(AbsoluteCodingSchemeVersionReference codingScheme,
java.lang.String newTag)
Update coding scheme entry tag. |
void |
updateEntry(RegistryEntry entry)
Update entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatingDatabaseToXmlRegistry()
Method Detail |
---|
public void addNewItem(RegistryEntry entry) throws java.lang.Exception
Registry
addNewItem
in interface Registry
entry
- the entry
java.lang.Exception
- the exceptionpublic java.util.List<RegistryEntry> getAllRegistryEntries()
Registry
getAllRegistryEntries
in interface Registry
public java.util.List<RegistryEntry> getAllRegistryEntriesOfType(Registry.ResourceType type)
Registry
getAllRegistryEntriesOfType
in interface Registry
type
- the type
public java.util.List<RegistryEntry> getAllRegistryEntriesOfTypeAndURI(Registry.ResourceType type, java.lang.String uri)
Registry
getAllRegistryEntriesOfTypeAndURI
in interface Registry
type
- the resource typeuri
- the resource uri
public java.util.List<RegistryEntry> getAllRegistryEntriesOfTypeURIAndVersion(Registry.ResourceType type, java.lang.String uri, java.lang.String version)
Registry
getAllRegistryEntriesOfTypeURIAndVersion
in interface Registry
type
- the resource typeuri
- the resource uriversion
- the verion
public java.util.List<RegistryEntry> getEntriesForUri(java.lang.String uri) throws LBParameterException
Registry
getEntriesForUri
in interface Registry
uri
- the uri
LBParameterException
- the LB parameter exceptionpublic java.util.Date getLastUpdateTime()
Registry
getLastUpdateTime
in interface Registry
public java.lang.String getNextDBIdentifier() throws LBInvocationException
Registry
getNextDBIdentifier
in interface Registry
LBInvocationException
- the LB invocation exceptionpublic java.lang.String getNextHistoryIdentifier() throws LBInvocationException
Registry
getNextHistoryIdentifier
in interface Registry
LBInvocationException
- the LB invocation exceptionpublic boolean containsCodingSchemeEntry(AbsoluteCodingSchemeVersionReference codingScheme)
Registry
containsCodingSchemeEntry
in interface Registry
codingScheme
- the coding scheme
public boolean containsNonCodingSchemeEntry(java.lang.String uri)
Registry
containsNonCodingSchemeEntry
in interface Registry
uri
- the uri
public RegistryEntry getCodingSchemeEntry(AbsoluteCodingSchemeVersionReference codingScheme) throws LBParameterException
Registry
getCodingSchemeEntry
in interface Registry
codingScheme
- the coding scheme
LBParameterException
- the LB parameter exceptionpublic RegistryEntry getNonCodingSchemeEntry(java.lang.String uri) throws LBParameterException
Registry
getNonCodingSchemeEntry
in interface Registry
uri
- the uri
LBParameterException
- the LB parameter exceptionpublic void removeEntry(RegistryEntry entry) throws LBParameterException
Registry
removeEntry
in interface Registry
entry
- the entry
LBParameterException
- the LB parameter exceptionpublic void updateEntry(RegistryEntry entry) throws LBParameterException
Registry
updateEntry
in interface Registry
entry
- the entry
LBParameterException
- the LB parameter exceptionpublic void updateCodingSchemeEntryTag(AbsoluteCodingSchemeVersionReference codingScheme, java.lang.String newTag) throws LBParameterException
codingScheme
- the coding schemenewTag
- the new tag
LBParameterException
- the LB parameter exceptionpublic Registry getDatabaseRegistry()
public void setDatabaseRegistry(Registry databaseRegistry)
databaseRegistry
- the new database registrypublic Registry getXmlRegistry()
public void setXmlRegistry(Registry xmlRegistry)
xmlRegistry
- the new xml registry
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |