public class PaginationSearchComponent extends Object implements SearchComponent
Modifier and Type | Field and Description |
---|---|
private static String |
__DISABLE_PAGINATION_PARAMETER_NAME |
DISABLE_DEFAULT_SAX_PARAMETER_NAME, MAX_PRIORITY, MIN_PRIORITY, SEARCH_PRIORITY
Constructor and Description |
---|
PaginationSearchComponent() |
Modifier and Type | Method and Description |
---|---|
void |
execute(SearchComponentArguments args)
Executes the component.
|
int |
priority()
Get the priority of the component.
|
boolean |
supports(SearchComponentArguments args)
Returns
true if the component must be executed . |
private static final String __DISABLE_PAGINATION_PARAMETER_NAME
public PaginationSearchComponent()
public int priority()
SearchComponent
priority
in interface SearchComponent
public boolean supports(SearchComponentArguments args)
SearchComponent
true
if the component must be executed
.supports
in interface SearchComponent
args
- the argumentstrue
if the component must be executed
.public void execute(SearchComponentArguments args) throws Exception
SearchComponent
execute
in interface SearchComponent
args
- the argumentsException
- if an exception occurs. Other search components will be attempted to be executed