|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.spring.web.mvc.CompassSearchCommand
public class CompassSearchCommand
The Spring's MVC command object which holds the query that needs to be
executed in the search operation. It might hold the page parameter as well if
using the pagination feature. The command is used by the
CompassSearchController.
| Constructor Summary | |
|---|---|
CompassSearchCommand()
|
|
| Method Summary | |
|---|---|
Integer |
getPage()
Returns the page paramter if using the CompassSearchController
pagination feature. |
String |
getQuery()
Returns the query that will be executed by Compass |
void |
setPage(Integer page)
Sets the page paramter if using the CompassSearchController
pagination feature. |
void |
setQuery(String query)
Sets the query that will be executed by Compass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompassSearchCommand()
| Method Detail |
|---|
public String getQuery()
Compass in the search operation.
- Returns:
- The query for the search operation
public void setQuery(String query)
Compass in the search operation.
- Parameters:
query -
public Integer getPage()
CompassSearchController
pagination feature.
public void setPage(Integer page)
CompassSearchController
pagination feature.
page -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||