public class SearchService extends Object
Constructor and Description |
---|
SearchService() |
Modifier and Type | Method and Description |
---|---|
void |
deleteSearch(int qpId) |
QueryResultList |
find(String content,
String name,
int domain,
List<String> keywords,
List<String> categories,
List<String> properties,
String author,
String mimeType,
String lastModifiedFrom,
String lastModifiedTo,
String mailSubject,
String mailFrom,
String mailTo,
String path) |
QueryResultList |
findByContent(String content) |
QueryResultList |
findByKeywords(List<String> keywords) |
QueryResultList |
findByName(String name) |
ResultSet |
findMoreLikeThis(String uuid,
int max) |
ResultSet |
findPaginated(int offset,
int limit,
String content,
String name,
int domain,
List<String> keywords,
List<String> categories,
List<String> properties,
String author,
String mimeType,
String lastModifiedFrom,
String lastModifiedTo,
String mailSubject,
String mailFrom,
String mailTo,
String path) |
ResultSet |
findSimpleQueryPaginated(int offset,
int limit,
String statement) |
QueryParamsList |
getAllSearchs() |
DocumentList |
getCategorizedDocuments(String categoryId) |
KeywordMapList |
getKeywordMap(String[] filter) |
QueryParams |
getSearch(int qpId) |
long |
saveSearch(QueryParams params) |
void |
updateSearch(QueryParams params) |
@Path(value="/findByContent") public QueryResultList findByContent(String content) throws GenericException
GenericException
@Path(value="/findByName") public QueryResultList findByName(String name) throws GenericException
GenericException
@Path(value="/findByKeywords") public QueryResultList findByKeywords(List<String> keywords) throws GenericException
GenericException
@Path(value="/find") public QueryResultList find(String content, String name, int domain, List<String> keywords, List<String> categories, List<String> properties, String author, String mimeType, String lastModifiedFrom, String lastModifiedTo, String mailSubject, String mailFrom, String mailTo, String path) throws GenericException
GenericException
@Path(value="/findPaginated") public ResultSet findPaginated(int offset, int limit, String content, String name, int domain, List<String> keywords, List<String> categories, List<String> properties, String author, String mimeType, String lastModifiedFrom, String lastModifiedTo, String mailSubject, String mailFrom, String mailTo, String path) throws GenericException
GenericException
@Path(value="/findSimpleQueryPaginated") public ResultSet findSimpleQueryPaginated(int offset, int limit, String statement) throws GenericException
GenericException
@Path(value="/findSimpleQueryPaginated/{uuid}/{max}") public ResultSet findMoreLikeThis(String uuid, int max) throws GenericException
GenericException
@Path(value="/getKeywordMap") public KeywordMapList getKeywordMap(String[] filter) throws GenericException
GenericException
@Path(value="/getCategorizedDocuments/{categoryId}") public DocumentList getCategorizedDocuments(String categoryId) throws GenericException
GenericException
@Path(value="/saveSearch") public long saveSearch(QueryParams params) throws GenericException
GenericException
@Path(value="/updateSearch") public void updateSearch(QueryParams params) throws GenericException
GenericException
@Path(value="/getSearch/{qpId}") public QueryParams getSearch(int qpId) throws GenericException
GenericException
@Path(value="/getAllSearchs") public QueryParamsList getAllSearchs() throws GenericException
GenericException
@Path(value="/deleteSearch/{qpId}") public void deleteSearch(int qpId) throws GenericException
GenericException
Copyright © 2018 Open Knowledge Management System S.L.. All rights reserved.