public class SearchServlet extends OKMRemoteServiceServlet implements OKMSearchService
WORKSPACE
Constructor and Description |
---|
SearchServlet() |
Modifier and Type | Method and Description |
---|---|
void |
deleteSearch(long id) |
GWTResultSet |
find(GWTQueryParams params) |
GWTResultSet |
findMoreLikeThis(String uuid) |
GWTResultSet |
findPaginated(GWTQueryParams params,
int offset,
int limit) |
GWTResultSet |
findSimpleQueryPaginated(String statement,
int offset,
int limit) |
List<GWTQueryParams> |
getAllSearchs() |
List<GWTKeyword> |
getKeywordMap(List<String> filter) |
Long |
saveSearch(GWTQueryParams params,
String type) |
void |
share(long qpId) |
void |
unshare(long qpId) |
doGetSerializationPolicy, getLanguage, getUserWorkspaceSession, init, saveUserWorkspaceSession, setLanguage, updateSessionManager
checkPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public List<GWTQueryParams> getAllSearchs() throws OKMException
getAllSearchs
in interface OKMSearchService
OKMException
public Long saveSearch(GWTQueryParams params, String type) throws OKMException
saveSearch
in interface OKMSearchService
OKMException
public void deleteSearch(long id) throws OKMException
deleteSearch
in interface OKMSearchService
OKMException
public GWTResultSet findPaginated(GWTQueryParams params, int offset, int limit) throws OKMException
findPaginated
in interface OKMSearchService
OKMException
public GWTResultSet find(GWTQueryParams params) throws OKMException
find
in interface OKMSearchService
OKMException
public List<GWTKeyword> getKeywordMap(List<String> filter) throws OKMException
getKeywordMap
in interface OKMSearchService
OKMException
public void share(long qpId) throws OKMException
share
in interface OKMSearchService
OKMException
public void unshare(long qpId) throws OKMException
unshare
in interface OKMSearchService
OKMException
public GWTResultSet findSimpleQueryPaginated(String statement, int offset, int limit) throws OKMException
findSimpleQueryPaginated
in interface OKMSearchService
OKMException
public GWTResultSet findMoreLikeThis(String uuid) throws OKMException
findMoreLikeThis
in interface OKMSearchService
OKMException
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.