public class SearchService extends Object
Constructor and Description |
---|
SearchService() |
@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 © 2016. All rights reserved.