public class SearchServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements SearchService
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
SearchServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String sid,
String[] names)
Deletes a previously saved search
|
List<SearchOptions> |
getSearches(UserSession user)
Load all the search options associated to all the searches saved for the
current user.
|
GUISearchOptions |
load(String sid,
String name)
Loads a saved search
|
boolean |
save(String sid,
GUISearchOptions options)
Saves the search options in the user's working dir
|
GUIResult |
search(String sid,
GUISearchOptions options)
Performs a search against the database
|
protected GUISearchOptions |
toGUIOptions(SearchOptions searchOptions) |
protected SearchOptions |
toSearchOptions(GUISearchOptions options) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic GUIResult search(String sid, GUISearchOptions options) throws InvalidSessionException
SearchServicesearch in interface SearchServicesid - The current user sessionoptions - The search optionsInvalidSessionExceptionpublic boolean save(String sid, GUISearchOptions options) throws InvalidSessionException
SearchServicesave in interface SearchServicesid - The current user sessionoptions - The search optionsInvalidSessionExceptionpublic void delete(String sid, String[] names) throws InvalidSessionException
SearchServicedelete in interface SearchServicesid - The current user sessionnames - The saved search namesInvalidSessionExceptionpublic GUISearchOptions load(String sid, String name) throws InvalidSessionException
SearchServiceload in interface SearchServicesid - The current user sessionname - The saved search nameInvalidSessionExceptionpublic List<SearchOptions> getSearches(UserSession user)
protected GUISearchOptions toGUIOptions(SearchOptions searchOptions)
protected SearchOptions toSearchOptions(GUISearchOptions options)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.