|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.support.search.CompassSearchResults.Page
public static class CompassSearchResults.Page
A class which holds the page data if using the pagination feature.
| Constructor Summary | |
|---|---|
CompassSearchResults.Page()
|
|
| Method Summary | |
|---|---|
int |
getFrom()
Returns the hit number the page starts from. |
int |
getSize()
Returns the size of the hits in the page. |
int |
getTo()
Returns the hit number that the page ends at. |
boolean |
isSelected()
Returns true if the page is selected, i.e. the results
that are shown are part of the page. |
void |
setFrom(int from)
Sets the hit number the page starts from. |
void |
setSelected(boolean selected)
Sets if the page is selected or not. |
void |
setSize(int size)
Sets the size of the hits in the page. |
void |
setTo(int to)
Sets the hit number that the page ends at. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompassSearchResults.Page()
| Method Detail |
|---|
public int getFrom()
public void setFrom(int from)
public boolean isSelected()
true if the page is selected, i.e. the results
that are shown are part of the page.
public void setSelected(boolean selected)
public int getSize()
public void setSize(int size)
public int getTo()
public void setTo(int to)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||