public class IndexDaoManager
extends java.lang.Object
Constructor and Description |
---|
IndexDaoManager() |
Modifier and Type | Method and Description |
---|---|
protected <T extends LexEvsIndexFormatVersionAwareDao> |
doGetDao(java.lang.String codingSchemeUri,
java.lang.String version,
java.util.List<T> daos)
Do get dao.
|
CommonEntityDao |
getCommonEntityDao(java.util.List<AbsoluteCodingSchemeVersionReference> codingSchemes) |
ConcurrentMetaData |
getConcurrentMetaData() |
protected <T extends LexEvsIndexFormatVersionAwareDao> |
getCorrectDaoForIndexVersion(java.util.List<T> possibleDaos,
LexEvsIndexFormatVersion indexVersion)
Gets the correct dao for index version.
|
EntityDao |
getEntityDao(java.lang.String codingSchemeUri,
java.lang.String version)
Gets the entity dao.
|
java.util.List<EntityDao> |
getEntityDaos()
Gets the entity daos.
|
IndexRegistry |
getIndexRegistry() |
protected LexEvsIndexFormatVersion |
getLexGridSchemaVersion(java.lang.String uri,
java.lang.String version)
Gets the lex grid schema version.
|
MetadataDao |
getMetadataDao() |
java.util.List<MetadataDao> |
getMetadataDaos() |
SearchDao |
getSearchDao() |
SearchDao |
getSearchDao(java.util.Set<CodingSchemeReference> codeSystemsToInclude) |
java.util.List<SearchDao> |
getSearchDaos() |
SystemResourceService |
getSystemResourceService()
Gets the system resource service.
|
void |
setConcurrentMetaData(ConcurrentMetaData concurrentMetaData) |
void |
setEntityDaos(java.util.List<EntityDao> entityDaos)
Sets the entity daos.
|
void |
setIndexRegistry(IndexRegistry indexRegistry) |
void |
setMetadataDaos(java.util.List<MetadataDao> metadataDaos) |
void |
setSearchDaos(java.util.List<SearchDao> searchDaos) |
void |
setSystemResourceService(SystemResourceService systemResourceService)
Sets the system resource service.
|
public EntityDao getEntityDao(java.lang.String codingSchemeUri, java.lang.String version)
codingSchemeUri
- the coding scheme uriversion
- the versionpublic SearchDao getSearchDao()
public SearchDao getSearchDao(java.util.Set<CodingSchemeReference> codeSystemsToInclude)
public CommonEntityDao getCommonEntityDao(java.util.List<AbsoluteCodingSchemeVersionReference> codingSchemes)
public MetadataDao getMetadataDao()
protected <T extends LexEvsIndexFormatVersionAwareDao> T doGetDao(java.lang.String codingSchemeUri, java.lang.String version, java.util.List<T> daos)
codingSchemeUri
- the coding scheme uriversion
- the versiondaos
- the daosprotected LexEvsIndexFormatVersion getLexGridSchemaVersion(java.lang.String uri, java.lang.String version)
uri
- the uriversion
- the versionprotected <T extends LexEvsIndexFormatVersionAwareDao> T getCorrectDaoForIndexVersion(java.util.List<T> possibleDaos, LexEvsIndexFormatVersion indexVersion)
possibleDaos
- the possible daosindexVersion
- the index versionpublic void setEntityDaos(java.util.List<EntityDao> entityDaos)
entityDaos
- the new entity daospublic java.util.List<EntityDao> getEntityDaos()
public void setSystemResourceService(SystemResourceService systemResourceService)
systemResourceService
- the new system resource servicepublic SystemResourceService getSystemResourceService()
public void setMetadataDaos(java.util.List<MetadataDao> metadataDaos)
public java.util.List<MetadataDao> getMetadataDaos()
public ConcurrentMetaData getConcurrentMetaData()
public void setConcurrentMetaData(ConcurrentMetaData concurrentMetaData)
public IndexRegistry getIndexRegistry()
public void setIndexRegistry(IndexRegistry indexRegistry)
public java.util.List<SearchDao> getSearchDaos()
public void setSearchDaos(java.util.List<SearchDao> searchDaos)