|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.lexevs.dao.database.hibernate.registry.HibernateRegistryDao
public class HibernateRegistryDao
The Class HibernateRegistryDao.
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
HibernateRegistryDao()
|
Method Summary | |
---|---|
void |
deleteRegistryEntry(RegistryEntry entry)
Delete registry 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. |
java.util.List<RegistryEntry> |
getAllRegistryEntriesOfUriAndTypes(java.lang.String uri,
Registry.ResourceType... types)
|
java.lang.String |
getDefaultCodingSchemePrefix()
Gets the default coding scheme prefix. |
java.lang.String |
getDefaultHistoryPrefix()
Gets the default history prefix. |
java.util.Date |
getLastUpdateTime()
Gets the last update time. |
java.lang.String |
getLastUsedDbIdentifier()
Gets the last used db identifier. |
java.lang.String |
getLastUsedHistoryIdentifier()
Gets the last used history identifier. |
java.util.List<RegistryEntry> |
getRegistryEntriesForUri(java.lang.String uri)
Gets the registry entries for uri. |
RegistryEntry |
getRegistryEntryForUriAndVersion(java.lang.String uri,
java.lang.String version)
Gets the registry entry for uri and version. |
protected Registry |
getRegistryMetadataEntry()
Gets the registry metadata entry. |
void |
initRegistryMetadata()
Inits the registry metadata. |
void |
insertRegistryEntry(RegistryEntry entry)
Insert registry entry. |
void |
setDefaultCodingSchemePrefix(java.lang.String defaultCodingSchemePrefix)
Sets the default coding scheme prefix. |
void |
setDefaultHistoryPrefix(java.lang.String defaultHistoryPrefix)
Sets the default history prefix. |
void |
updateLastUpdateTime(java.util.Date lastUpdateTime)
Update last update time. |
void |
updateLastUsedDbIdentifier(java.lang.String databaseIdentifier)
Update last used db identifier. |
void |
updateRegistryEntry(RegistryEntry entry)
Update registry entry. |
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HibernateRegistryDao()
Method Detail |
---|
public void updateLastUpdateTime(java.util.Date lastUpdateTime)
RegistryDao
updateLastUpdateTime
in interface RegistryDao
lastUpdateTime
- the last update timepublic java.util.Date getLastUpdateTime()
RegistryDao
getLastUpdateTime
in interface RegistryDao
protected Registry getRegistryMetadataEntry()
public void deleteRegistryEntry(RegistryEntry entry)
RegistryDao
deleteRegistryEntry
in interface RegistryDao
entry
- the entrypublic java.lang.String getLastUsedDbIdentifier()
RegistryDao
getLastUsedDbIdentifier
in interface RegistryDao
public java.lang.String getLastUsedHistoryIdentifier()
RegistryDao
getLastUsedHistoryIdentifier
in interface RegistryDao
public void insertRegistryEntry(RegistryEntry entry)
RegistryDao
insertRegistryEntry
in interface RegistryDao
entry
- the entrypublic RegistryEntry getRegistryEntryForUriAndVersion(java.lang.String uri, java.lang.String version) throws LBParameterException
RegistryDao
getRegistryEntryForUriAndVersion
in interface RegistryDao
uri
- the uriversion
- the version
LBParameterException
- the LB parameter exceptionpublic java.util.List<RegistryEntry> getAllRegistryEntriesOfUriAndTypes(java.lang.String uri, Registry.ResourceType... types)
getAllRegistryEntriesOfUriAndTypes
in interface RegistryDao
public void updateRegistryEntry(RegistryEntry entry)
RegistryDao
updateRegistryEntry
in interface RegistryDao
entry
- the entrypublic void updateLastUsedDbIdentifier(java.lang.String databaseIdentifier)
RegistryDao
updateLastUsedDbIdentifier
in interface RegistryDao
databaseIdentifier
- the database identifierpublic java.util.List<RegistryEntry> getAllRegistryEntriesOfType(Registry.ResourceType type)
RegistryDao
getAllRegistryEntriesOfType
in interface RegistryDao
type
- the type
public java.util.List<RegistryEntry> getAllRegistryEntriesOfTypeAndURI(Registry.ResourceType type, java.lang.String uri)
RegistryDao
getAllRegistryEntriesOfTypeAndURI
in interface RegistryDao
type
- the resource type
public java.util.List<RegistryEntry> getAllRegistryEntriesOfTypeURIAndVersion(Registry.ResourceType type, java.lang.String uri, java.lang.String version)
RegistryDao
getAllRegistryEntriesOfTypeURIAndVersion
in interface RegistryDao
type
- the resource typeversion
- of resource
public java.util.List<RegistryEntry> getAllRegistryEntries()
RegistryDao
getAllRegistryEntries
in interface RegistryDao
public java.util.List<RegistryEntry> getRegistryEntriesForUri(java.lang.String uri)
RegistryDao
getRegistryEntriesForUri
in interface RegistryDao
uri
- the uri
public void initRegistryMetadata()
RegistryDao
initRegistryMetadata
in interface RegistryDao
public java.lang.String getDefaultHistoryPrefix()
public void setDefaultHistoryPrefix(java.lang.String defaultHistoryPrefix)
defaultHistoryPrefix
- the new default history prefixpublic java.lang.String getDefaultCodingSchemePrefix()
public void setDefaultCodingSchemePrefix(java.lang.String defaultCodingSchemePrefix)
defaultCodingSchemePrefix
- the new default coding scheme prefix
|
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 |