2016-05-16 17:03:11 +08:00
|
|
|
import {AutoCompleteItem, SearchTypes} from "../../../common/entities/AutoCompleteItem";
|
2016-12-27 23:09:47 +08:00
|
|
|
import {ISearchManager} from "../interfaces/ISearchManager";
|
2016-12-28 18:50:05 +08:00
|
|
|
import {SearchResultDTO} from "../../../common/entities/SearchResult";
|
2016-05-05 00:34:54 +08:00
|
|
|
|
2016-05-09 23:04:56 +08:00
|
|
|
export class SearchManager implements ISearchManager {
|
2016-05-05 00:34:54 +08:00
|
|
|
|
2017-07-08 04:54:18 +08:00
|
|
|
isSupported(): boolean {
|
|
|
|
return false;
|
|
|
|
}
|
2016-05-05 00:34:54 +08:00
|
|
|
|
2017-07-08 04:54:18 +08:00
|
|
|
autocomplete(text: string, cb: (error: any, result: Array<AutoCompleteItem>) => void) {
|
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
2016-05-05 00:34:54 +08:00
|
|
|
|
2017-07-08 04:54:18 +08:00
|
|
|
search(text: string, searchType: SearchTypes, cb: (error: any, result: SearchResultDTO) => void) {
|
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
2016-05-10 03:43:52 +08:00
|
|
|
|
2017-07-08 04:54:18 +08:00
|
|
|
instantSearch(text: string, cb: (error: any, result: SearchResultDTO) => void) {
|
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
2016-05-10 03:43:52 +08:00
|
|
|
|
2016-05-05 00:34:54 +08:00
|
|
|
|
2017-07-08 04:54:18 +08:00
|
|
|
}
|