|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexevs.registry.event.RegistryEventSupport
org.lexevs.registry.service.DatabaseRegistry
public class DatabaseRegistry
The Class DatabaseRegistry.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.lexevs.registry.service.Registry |
---|
Registry.KnownTags, Registry.ResourceType |
Constructor Summary | |
---|---|
DatabaseRegistry()
|
Method Summary | |
---|---|
void |
activate(AbsoluteCodingSchemeVersionReference codingScheme)
Activate. |
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. |
java.util.List<RegistryEntry> |
getEntriesForUri(java.lang.String uri)
Gets the entries for uri. |
java.util.Date |
getLastUpdateTime()
Gets the last update time. |
NextDatabasePrefixGenerator |
getNextDatabasePrefixGenerator()
Gets the next database prefix generator. |
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. |
protected Registry.ResourceType[] |
getNonCodingSchemeResourceTypes()
|
RegistryDao |
getRegistryDao()
Gets the registry dao. |
void |
removeEntry(RegistryEntry entry)
Removes the entry. |
void |
setNextDatabasePrefixGenerator(NextDatabasePrefixGenerator nextDatabasePrefixGenerator)
Sets the next database prefix generator. |
void |
setRegistryDao(RegistryDao registryDao)
Sets the registry dao. |
void |
updateEntry(RegistryEntry entry)
Update entry. |
Methods inherited from class org.lexevs.registry.event.RegistryEventSupport |
---|
addRegistryListener, fireTagUpdateEvent, getRegistryListeners, setRegistryListeners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseRegistry()
Method Detail |
---|
@Transactional public void activate(AbsoluteCodingSchemeVersionReference codingScheme) throws LBInvocationException, LBParameterException
codingScheme
- the coding scheme
LBInvocationException
- the LB invocation exception
LBParameterException
- the LB parameter exception@Transactional public void addNewItem(RegistryEntry entry) throws java.lang.Exception
Registry
addNewItem
in interface Registry
entry
- the entry
java.lang.Exception
- the exception@Transactional public java.util.List<RegistryEntry> getAllRegistryEntries()
Registry
getAllRegistryEntries
in interface Registry
@Transactional public java.util.List<RegistryEntry> getAllRegistryEntriesOfType(Registry.ResourceType type)
Registry
getAllRegistryEntriesOfType
in interface Registry
type
- the type
@Transactional 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
@Transactional 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
@Transactional public java.util.List<RegistryEntry> getEntriesForUri(java.lang.String uri) throws LBParameterException
Registry
getEntriesForUri
in interface Registry
uri
- the uri
LBParameterException
- the LB parameter exception@Transactional public java.util.Date getLastUpdateTime()
Registry
getLastUpdateTime
in interface Registry
@Transactional 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 exception@Transactional public boolean containsCodingSchemeEntry(AbsoluteCodingSchemeVersionReference codingScheme)
Registry
containsCodingSchemeEntry
in interface Registry
codingScheme
- the coding scheme
@Transactional public void updateEntry(RegistryEntry entry)
Registry
updateEntry
in interface Registry
entry
- the entry@Transactional 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 exception@Transactional public void removeEntry(RegistryEntry entry) throws LBParameterException
Registry
removeEntry
in interface Registry
entry
- the entry
LBParameterException
- the LB parameter exception@Transactional public boolean containsNonCodingSchemeEntry(java.lang.String uri)
Registry
containsNonCodingSchemeEntry
in interface Registry
uri
- the uri
protected Registry.ResourceType[] getNonCodingSchemeResourceTypes()
public void setRegistryDao(RegistryDao registryDao)
registryDao
- the new registry daopublic RegistryDao getRegistryDao()
public NextDatabasePrefixGenerator getNextDatabasePrefixGenerator()
public void setNextDatabasePrefixGenerator(NextDatabasePrefixGenerator nextDatabasePrefixGenerator)
nextDatabasePrefixGenerator
- the new next database prefix generator
|
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 |