public interface BaseSearch
Modifier and Type | Method and Description |
---|---|
void |
deleteSearch(int qpId) |
List<QueryResult> |
find(QueryParams queryParams) |
List<QueryResult> |
findByContent(String content) |
List<QueryResult> |
findByKeywords(List<String> keywords) |
List<QueryResult> |
findByName(String name) |
List<QueryResult> |
findByQuery(String query) |
ResultSet |
findByQueryPaginated(String query,
int offset,
int limit) |
ResultSet |
findMoreLikeThis(String uuid,
int max) |
ResultSet |
findPaginated(QueryParams queryParams,
int offset,
int limit) |
ResultSet |
findSimpleQueryPaginated(String statement,
int offset,
int limit) |
List<QueryParams> |
getAllSearchs() |
List<Document> |
getCategorizedDocuments(String categoryId) |
Map<String,Integer> |
getKeywordMap(List<String> filter) |
QueryParams |
getSearch(int qpId) |
long |
saveSearch(QueryParams params) |
void |
updateSearch(QueryParams params) |
List<QueryResult> findByContent(String content) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
List<QueryResult> findByName(String name) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
List<QueryResult> findByKeywords(List<String> keywords) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
List<QueryResult> find(QueryParams queryParams) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
ResultSet findPaginated(QueryParams queryParams, int offset, int limit) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
ResultSet findSimpleQueryPaginated(String statement, int offset, int limit) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
ResultSet findMoreLikeThis(String uuid, int max) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
Map<String,Integer> getKeywordMap(List<String> filter) throws RepositoryException, DatabaseException, UnknowException, WebserviceException
List<Document> getCategorizedDocuments(String categoryId) throws RepositoryException, DatabaseException, UnknowException, WebserviceException
long saveSearch(QueryParams params) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
void updateSearch(QueryParams params) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
QueryParams getSearch(int qpId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
List<QueryParams> getAllSearchs() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
void deleteSearch(int qpId) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
List<QueryResult> findByQuery(String query) throws IOException, ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
ResultSet findByQueryPaginated(String query, int offset, int limit) throws IOException, ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
Copyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.