public interface SearchComponent
SearchServiceGenerator
.Modifier and Type | Field and Description |
---|---|
static String |
DISABLE_DEFAULT_SAX_PARAMETER_NAME
A
generator parameter name for disabling default sax and use a custom search component instead |
static int |
MAX_PRIORITY
Maximum priority
|
static int |
MIN_PRIORITY
Minimum priority
|
static int |
SEARCH_PRIORITY
Priority of the component executing the
search and setting the results . |
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 . |
static final int MIN_PRIORITY
static final int SEARCH_PRIORITY
search
and setting the results
.
priority()
method whether the component must execute before or after the search.static final int MAX_PRIORITY
static final String DISABLE_DEFAULT_SAX_PARAMETER_NAME
generator parameter name
for disabling default sax and use a custom search component insteadint priority()
boolean supports(SearchComponentArguments args)
true
if the component must be executed
.args
- the argumentstrue
if the component must be executed
.void execute(SearchComponentArguments args) throws Exception
args
- the argumentsException
- if an exception occurs. Other search components will be attempted to be executed