org.LexGrid.LexBIG.caCore.dao.orm
Interface LexEVSDAO

All Superinterfaces:
gov.nih.nci.system.dao.DAO
All Known Implementing Classes:
LexEVSDAOImpl

public interface LexEVSDAO
extends gov.nih.nci.system.dao.DAO


Nested Class Summary
static class LexEVSDAO.DAOType
           
 
Method Summary
 LexEVSDAO.DAOType getDaoType()
          Gets the Type of resource this DAO represents -- either a History or CodingScheme resource.
 int getResultCountPerQuery()
          Returns the default maximum per query size.
 org.LexGrid.LexBIG.DataModel.Collections.CodingSchemeTagList getTagList()
          Get the TagList of the CodingScheme associated with this DAO.
 String getUri()
          Get the URI of the CodingScheme associated with this DAO.
 String getVersion()
          Get the Version of the CodingScheme associated with this DAO.
 gov.nih.nci.system.dao.Response query(gov.nih.nci.system.dao.Request request, boolean initAll, int maxResults)
          Query this DAO.
 
Methods inherited from interface gov.nih.nci.system.dao.DAO
getAllClassNames, query
 

Method Detail

getVersion

String getVersion()
Get the Version of the CodingScheme associated with this DAO.

Returns:
The CodingScheme Version.

getUri

String getUri()
Get the URI of the CodingScheme associated with this DAO.

Returns:

getTagList

org.LexGrid.LexBIG.DataModel.Collections.CodingSchemeTagList getTagList()
Get the TagList of the CodingScheme associated with this DAO.

Returns:
The TagList associated with this CodingScheme.

getDaoType

LexEVSDAO.DAOType getDaoType()
Gets the Type of resource this DAO represents -- either a History or CodingScheme resource.

Returns:
The resource type.

getResultCountPerQuery

int getResultCountPerQuery()
Returns the default maximum per query size.

Returns:
Maximum results returned per query.

query

gov.nih.nci.system.dao.Response query(gov.nih.nci.system.dao.Request request,
                                      boolean initAll,
                                      int maxResults)
                                      throws gov.nih.nci.system.dao.DAOException,
                                             Exception
Query this DAO.

Parameters:
request - The Request to query.
initAll - Initialize all the results (false to allow Lazy Loading, true to disable Lazy Loading).
maxResults - Override the maxium results per query for this query.
Returns:
The results of the query.
Throws:
gov.nih.nci.system.dao.DAOException
Exception