|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchCommand
Behavour requirements for any implementating Search Command.
| Nested Class Summary | |
|---|---|
static interface |
SearchCommand.Context
Being a factory for all the commands - it propagates all the contextual needs of the underlying commands it creates. |
| Method Summary | |
|---|---|
ResultList<ResultItem> |
call()
From Callable interface. |
SearchConfiguration |
getSearchConfiguration()
Returns the configuration associated with this search command. |
boolean |
handleCancellation()
Allows the SearchCommand to clean itself after a long night out when s/he didn't get home in time. |
boolean |
isCancelled()
Has this command be cancelled. |
boolean |
isPaginated()
Can this command provide paginated results. |
boolean |
isUserSortable()
Can this command be sorted differently at user's requst. |
| Method Detail |
|---|
SearchConfiguration getSearchConfiguration()
ResultList<ResultItem> call()
call in interface Callable<ResultList<ResultItem>>boolean handleCancellation()
boolean isCancelled()
boolean isPaginated()
boolean isUserSortable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||