|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.search.QueryResults
public class QueryResults
Contains the results of a query. Use access methods to examine and retrieve the results.
| Constructor Summary | |
|---|---|
QueryResults()
|
|
| Method Summary | |
|---|---|
String |
getErrorMsg()
get error message |
int |
getEtAl()
|
int |
getHitCount()
get total number of hits found by search engine, not just number of returned results |
List<String> |
getHitHandles()
get the List of handles corresponding to hits |
List<Integer> |
getHitIds()
get the List of handles corresponding to hits |
List<Integer> |
getHitTypes()
get the List of types corresponding to handles |
int |
getPageSize()
get length of 'page' of results |
int |
getStart()
get start of 'page' of results |
void |
setErrorMsg(String msg)
set error message |
void |
setEtAl(int etAl)
set the number of metadata fields at which to truncate with "et al" |
void |
setHitCount(int newCount)
set total number of hits found by search engine, not number in hitHandles |
void |
setHitHandles(List<String> myHits)
set the List of handles corresponding to hits |
void |
setHitIds(List<Integer> myHits)
set the List of ids corresponding to hits |
void |
setHitTypes(List<Integer> newTypes)
set the List of types corresponding to handles |
void |
setPageSize(int newSize)
set length of 'page' of results |
void |
setStart(int newStart)
set start of 'page' of results |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryResults()
| Method Detail |
|---|
public int getEtAl()
public void setEtAl(int etAl)
etAl - public void setHitCount(int newCount)
public int getHitCount()
public void setStart(int newStart)
public int getStart()
public void setPageSize(int newSize)
public int getPageSize()
public void setHitHandles(List<String> myHits)
public List<String> getHitHandles()
public void setHitIds(List<Integer> myHits)
public List<Integer> getHitIds()
public void setHitTypes(List<Integer> newTypes)
public List<Integer> getHitTypes()
public void setErrorMsg(String msg)
public String getErrorMsg()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||