public class SearchAction
extends com.opensymphony.xwork2.ActionSupport
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_NUMBER_OF_RESULTS_PER_PAGE |
protected String |
errorMessage
The error message in case of exception
|
protected static String |
POPUP_VIEW |
Constructor and Description |
---|
SearchAction() |
Modifier and Type | Method and Description |
---|---|
int |
getDefaultNumberOfResultsPerPage() |
String |
getErrorMessage() |
String |
getFormat() |
int |
getFrom() |
List<String> |
getPlacetypes() |
int |
getTo() |
boolean |
isAdvancedSearch() |
boolean |
isIndent() |
void |
setAdvancedSearch(boolean advancedSearch) |
void |
setFormat(String format) |
void |
setFrom(int from) |
void |
setIndent(boolean indent) |
void |
setTo(int to) |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
protected static final String POPUP_VIEW
public static final int DEFAULT_NUMBER_OF_RESULTS_PER_PAGE
protected String errorMessage
public void setFrom(int from)
from
- the from to setpublic void setTo(int to)
to
- the to to setpublic void setFormat(String format)
format
- the format to setpublic void setIndent(boolean indent)
indent
- the indent to setpublic boolean isAdvancedSearch()
public void setAdvancedSearch(boolean advancedSearch)
advancedSearch
- the advancedSearch to setpublic int getFrom()
public int getTo()
public String getFormat()
public boolean isIndent()
public String getErrorMessage()
public int getDefaultNumberOfResultsPerPage()
Copyright © 2015. All rights reserved.