Package com.logicaldoc.web.service
Class SearchServiceImpl
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.web.service.SearchServiceImpl
- All Implemented Interfaces:
 com.google.gwt.user.client.rpc.RemoteService,com.google.gwt.user.server.rpc.SerializationPolicyProvider,SearchService,Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
Implementation of the SearchService
- Since:
 - 6.0
 - Author:
 - Marco Meschieri - LogicalDOC
 - See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.SearchService
SearchService.Instance - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes a previously saved searchstatic List<SearchOptions> getSearches(Session session) Load all the search options associated to all the searches saved for the current userLoads a saved searchbooleansave(GUISearchOptions options) Saves the search options in the user's working dirsearch(GUISearchOptions options) Performs a search against the databasevoidShares a search among a set of users and groupsMethods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPostMethods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPostMethods inherited from class javax.servlet.http.HttpServlet
serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log 
- 
Constructor Details
- 
SearchServiceImpl
public SearchServiceImpl() 
 - 
 - 
Method Details
- 
search
Description copied from interface:SearchServicePerforms a search against the database- Specified by:
 searchin interfaceSearchService- Parameters:
 options- The search options- Returns:
 - Result hits and statistics
 - Throws:
 ServerException- error in the server application
 - 
save
Description copied from interface:SearchServiceSaves the search options in the user's working dir- Specified by:
 savein interfaceSearchService- Parameters:
 options- The search options- Returns:
 - true if the operation was successful and there were no duplicates
 - Throws:
 ServerException- error in the server application
 - 
delete
Description copied from interface:SearchServiceDeletes a previously saved search- Specified by:
 deletein interfaceSearchService- Parameters:
 names- The saved search names- Throws:
 ServerException- error in the server application
 - 
load
Description copied from interface:SearchServiceLoads a saved search- Specified by:
 loadin interfaceSearchService- Parameters:
 name- The saved search name- Returns:
 - the options
 - Throws:
 ServerException- error in the server application
 - 
getSearches
Load all the search options associated to all the searches saved for the current user- Parameters:
 session- the current session- Returns:
 - the list of search options
 - Throws:
 PersistenceException- A problem at db level
 
 -