|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.wayback.core.SearchResults
public abstract class SearchResults
| Field Summary | |
|---|---|
static String |
RESULTS_FIRST_RETURNED
Results: int first record of all matching returned, 1-based |
static String |
RESULTS_NUM_RESULTS
Results: int total number of records matching, not all necc. |
static String |
RESULTS_NUM_RETURNED
Results: int total number of records *returned* in results |
static String |
RESULTS_REQUESTED
Results: int number of results requested |
static String |
RESULTS_TYPE
Results: type of results: "Capture" or "Url" |
static String |
RESULTS_TYPE_CAPTURE
Results: indicates SearchResult objects within the SearchResults are of type CaptureSearchResults. |
static String |
RESULTS_TYPE_URL
Results: indicates SearchResult objects within the SearchResults are of type UrlSearchResults. |
| Constructor Summary | |
|---|---|
SearchResults()
Constructor |
|
| Method Summary | |
|---|---|
boolean |
containsFilter(String key)
|
List<String> |
getCloseMatches()
|
int |
getCurPageNum()
|
String |
getFilter(String key)
|
Map<String,String> |
getFilters()
|
long |
getFirstReturned()
|
long |
getMatchingCount()
|
int |
getNumPages()
|
long |
getNumRequested()
|
long |
getReturnedCount()
|
String |
putFilter(String key,
String value)
|
void |
setCloseMatches(List<String> closeMatches)
|
void |
setFirstReturned(long firstReturned)
|
void |
setMatchingCount(long matchingCount)
|
void |
setNumRequested(long numRequested)
|
void |
setReturnedCount(long returnedCount)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RESULTS_NUM_RESULTS
public static final String RESULTS_FIRST_RETURNED
public static final String RESULTS_NUM_RETURNED
public static final String RESULTS_REQUESTED
public static final String RESULTS_TYPE_URL
public static final String RESULTS_TYPE_CAPTURE
public static final String RESULTS_TYPE
| Constructor Detail |
|---|
public SearchResults()
| Method Detail |
|---|
public boolean containsFilter(String key)
key -
public String getFilter(String key)
key -
public String putFilter(String key,
String value)
key - value -
public Map<String,String> getFilters()
public long getReturnedCount()
public void setReturnedCount(long returnedCount)
public long getFirstReturned()
public void setFirstReturned(long firstReturned)
public long getMatchingCount()
public void setMatchingCount(long matchingCount)
public long getNumRequested()
public void setNumRequested(long numRequested)
public int getNumPages()
public int getCurPageNum()
public List<String> getCloseMatches()
public void setCloseMatches(List<String> closeMatches)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||