org.LexGrid.LexBIG.caCore.applicationservice.impl
Class PaginationHelper
java.lang.Object
org.LexGrid.LexBIG.caCore.applicationservice.impl.PaginationHelper
public class PaginationHelper
- extends java.lang.Object
Class to enable pagination over multiple Coding Schemes (databases).
- Author:
- Kevin Peterson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaginationHelper
public PaginationHelper()
getResponseFromMultipleCodingSchemeQuery
public Response getResponseFromMultipleCodingSchemeQuery(Request request,
java.util.List<LexEVSDAO> daoList,
int maxToReturn)
throws java.lang.Exception
- Return the results (Correctly paged) from multipe databases.
- Parameters:
request
- The Request being processeddaoList
- List of available DAOsmaxToReturn
- Maximum results to return per query, i.e. page size
- Returns:
- Paged results
- Throws:
java.lang.Exception
getLexEVSApplicationService
public LexEVSApplicationServiceImpl getLexEVSApplicationService()
setLexEVSApplicationService
public void setLexEVSApplicationService(LexEVSApplicationServiceImpl lexEVSApplicationService)
getMaxResultsPerQuery
public int getMaxResultsPerQuery()
setMaxResultsPerQuery
public void setMaxResultsPerQuery(int maxResultsPerQuery)