|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.api.types.SearchResult
public class SearchResult
Value object for search results.
Constructor Summary | |
---|---|
SearchResult(java.util.Set<java.util.UUID> hits,
int totalResults,
int noOfResultsPerPage,
java.lang.String terms,
int pageNo)
Constructor. |
Method Summary | |
---|---|
int |
getPageNo()
Accessor. |
java.lang.String |
getTerms()
Accessor. |
java.util.Set<java.util.UUID> |
hits()
Accessor. |
void |
hits(java.util.Set<java.util.UUID> hits)
Mutator. |
int |
noOfResultsPerPage()
Accessor. |
void |
noOfResultsPerPage(int noOfResultsPerPage)
Mutator. |
int |
totalResults()
Accessor. |
void |
totalResults(int totalResults)
Mutator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchResult(java.util.Set<java.util.UUID> hits, int totalResults, int noOfResultsPerPage, java.lang.String terms, int pageNo)
hits
- The search hits.totalResults
- The total number of results for this search.noOfResultsPerPage
- The number of results displayed on each pageterms
- The search terms used.pageNo
- The current page of results returned.Method Detail |
---|
public int totalResults()
public void totalResults(int totalResults)
totalResults
- The total results.public java.util.Set<java.util.UUID> hits()
public void hits(java.util.Set<java.util.UUID> hits)
hits
- Set of UUID.public final java.lang.String getTerms()
public final int getPageNo()
public void noOfResultsPerPage(int noOfResultsPerPage)
noOfResultsPerPage
- Number of results per page.public int noOfResultsPerPage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |