org.LexGrid.LexBIG.caCore.dao.orm.selectionStrategy
Class CodingSchemeSelectionStrategy
java.lang.Object
org.LexGrid.LexBIG.caCore.dao.orm.selectionStrategy.CodingSchemeSelectionStrategy
- All Implemented Interfaces:
- DAOSelectionStrategy
public class CodingSchemeSelectionStrategy
- extends Object
- implements DAOSelectionStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRODUCTION_TAG
private static String PRODUCTION_TAG
dbConnector
private DBConnector dbConnector
log
private static org.apache.log4j.Logger log
CodingSchemeSelectionStrategy
public CodingSchemeSelectionStrategy()
getDAOList
public List<LexEVSDAO> getDAOList(List<LexEVSDAO> daoList,
gov.nih.nci.system.dao.Request request)
- Description copied from interface:
DAOSelectionStrategy
- Given a Request, Determine the DAOs to use.
- Specified by:
getDAOList
in interface DAOSelectionStrategy
- Returns:
- the list of usable DAOs.
getDAOList
public List<LexEVSDAO> getDAOList(List<LexEVSDAO> daoList,
gov.nih.nci.system.dao.Request request,
QueryOptions queryOptions)
throws SelectionStrategyException
- Description copied from interface:
DAOSelectionStrategy
- Given a Request, Determine the DAOs to use (with SecurityTokens).
- Specified by:
getDAOList
in interface DAOSelectionStrategy
- Returns:
- the list of usable DAOs.
- Throws:
SelectionStrategyException
restrictToCodingScheme
private List<LexEVSDAO> restrictToCodingScheme(List<LexEVSDAO> list,
String csName,
org.LexGrid.LexBIG.DataModel.Core.CodingSchemeVersionOrTag tagOrVersion)
throws SelectionStrategyException
- Throws:
SelectionStrategyException
containsTag
private boolean containsTag(org.LexGrid.LexBIG.DataModel.Collections.CodingSchemeTagList tagList,
String tagName)
getDbConnector
public DBConnector getDbConnector()
setDbConnector
public void setDbConnector(DBConnector dbConnector)