SearchKeywordContext
provides context information that may be useful to
SearchKeywordResolver#resolve implementations.
| Modifier and Type | Field and Description |
|---|---|
| private final ContextCallback | |
| private boolean | |
| private final String | |
| private final SearchExpressionContext |
| Access | Constructor and Description |
|---|---|
| public | SearchKeywordContext(SearchExpressionContext
the searchExpressionContext, ContextCallback SearchExpressionContext for the current request.the callback, String ContextCallback.the remaining expression. remainingExpression)Construct a new context with the given arguments. |
| Modifier and Type | Method and Description |
|---|---|
| public ContextCallback | |
| public String | Returns: the remaining expression.Returns the remaining expression for the current request. |
| public SearchExpressionContext | Returns: theSearchExpressionContext.Returns the |
| public void | invokeContextCallback(UIComponent
the resolved target)UIComponent.This method will be called by an implementation of |
| public boolean | |
| public void | setKeywordResolved(boolean
if the keyword was resolved. keywordResolved)Sets if the keyword was resolved. |
| callback | back to summary |
|---|---|
| private final ContextCallback callback | |
| keywordResolved | back to summary |
|---|---|
| private boolean keywordResolved | |
| remainingExpression | back to summary |
|---|---|
| private final String remainingExpression | |
| searchExpressionContext | back to summary |
|---|---|
| private final SearchExpressionContext searchExpressionContext | |
| SearchKeywordContext | back to summary |
|---|---|
| public SearchKeywordContext(SearchExpressionContext searchExpressionContext, ContextCallback callback, String remainingExpression) Construct a new context with the given arguments.
| |
| getCallback | back to summary |
|---|---|
| public ContextCallback getCallback() Returns the
| |
| getRemainingExpression | back to summary |
|---|---|
| public String getRemainingExpression() Returns the remaining expression for the current request.
| |
| getSearchExpressionContext | back to summary |
|---|---|
| public SearchExpressionContext getSearchExpressionContext() Returns the
| |
| invokeContextCallback | back to summary |
|---|---|
| public void invokeContextCallback(UIComponent target) This method will be called by an implementation of
| |
| isKeywordResolved | back to summary |
|---|---|
| public boolean isKeywordResolved() Returns if the keyword was resolved.
| |
| setKeywordResolved | back to summary |
|---|---|
| public void setKeywordResolved(boolean keywordResolved) Sets if the keyword was resolved.
| |