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, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public GUIResult search(String sid, GUISearchOptions options) throws InvalidSessionException
SearchService
search
in interface SearchService
sid
- The current user sessionoptions
- The search optionsInvalidSessionException
public boolean save(String sid, GUISearchOptions options) throws InvalidSessionException
SearchService
save
in interface SearchService
sid
- The current user sessionoptions
- The search optionsInvalidSessionException
public void delete(String sid, String[] names) throws InvalidSessionException
SearchService
delete
in interface SearchService
sid
- The current user sessionnames
- The saved search namesInvalidSessionException
public GUISearchOptions load(String sid, String name) throws InvalidSessionException
SearchService
load
in interface SearchService
sid
- The current user sessionname
- The saved search nameInvalidSessionException
public List<SearchOptions> getSearches(UserSession user)
protected GUISearchOptions toGUIOptions(SearchOptions searchOptions)
protected SearchOptions toSearchOptions(GUISearchOptions options)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.