org.LexGrid.LexBIG.caCore.dao.orm.selectionStrategy
Interface DAOSelectionStrategy

All Known Implementing Classes:
CodingSchemeSelectionStrategy, HistoryOrCodingSchemeStrategy, TokenSecurityStrategy

public interface DAOSelectionStrategy


Method Summary
 List<LexEVSDAO> getDAOList(List<LexEVSDAO> daoList, gov.nih.nci.system.dao.Request request)
          Given a Request, Determine the DAOs to use.
 List<LexEVSDAO> getDAOList(List<LexEVSDAO> daoList, gov.nih.nci.system.dao.Request request, QueryOptions queryOptions)
          Given a Request, Determine the DAOs to use (with SecurityTokens).
 

Method Detail

getDAOList

List<LexEVSDAO> getDAOList(List<LexEVSDAO> daoList,
                           gov.nih.nci.system.dao.Request request)
                           throws SelectionStrategyException
Given a Request, Determine the DAOs to use.

Parameters:
daoList -
request -
Returns:
the list of usable DAOs.
Throws:
SelectionStrategyException

getDAOList

List<LexEVSDAO> getDAOList(List<LexEVSDAO> daoList,
                           gov.nih.nci.system.dao.Request request,
                           QueryOptions queryOptions)
                           throws SelectionStrategyException
Given a Request, Determine the DAOs to use (with SecurityTokens).

Parameters:
daoList -
request -
queryOptions -
Returns:
the list of usable DAOs.
Throws:
SelectionStrategyException