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) |
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) |
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) |
public QueryResultList findByContent(String content) throws GenericException
GenericException
public QueryResultList findByName(String name) throws GenericException
GenericException
public QueryResultList findByKeywords(List<String> keywords) throws GenericException
GenericException
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) throws GenericException
GenericException
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) throws GenericException
GenericException
public ResultSet findSimpleQueryPaginated(int offset, int limit, String statement) throws GenericException
GenericException
public ResultSet findMoreLikeThis(String uuid, int max) throws GenericException
GenericException
public KeywordMapList getKeywordMap(String[] filter) throws GenericException
GenericException
public DocumentList getCategorizedDocuments(String categoryId) throws GenericException
GenericException
public long saveSearch(QueryParams params) throws GenericException
GenericException
public void updateSearch(QueryParams params) throws GenericException
GenericException
public QueryParams getSearch(int qpId) throws GenericException
GenericException
public QueryParamsList getAllSearchs() throws GenericException
GenericException
public void deleteSearch(int qpId) throws GenericException
GenericException
Copyright © 2015. All Rights Reserved.