Package com.logicaldoc.web.service
Class SearchServiceImpl
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.jakarta.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.jakarta.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,- jakarta.servlet.Servlet,- jakarta.servlet.ServletConfig,- Serializable
Implementation of the SearchService
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.SearchServiceSearchService.Instance
- 
Field SummaryFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.logicaldoc.web.service.AbstractRemoteServicesetThreadRequestMethods inherited from class com.google.gwt.user.server.rpc.jakarta.RemoteServiceServletgetSerializationPolicy, init, processCall, processCall, processPostMethods inherited from class com.google.gwt.user.server.rpc.jakarta.AbstractRemoteServiceServletdoPostMethods inherited from class jakarta.servlet.http.HttpServletserviceMethods inherited from class jakarta.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Constructor Details- 
SearchServiceImplpublic SearchServiceImpl()
 
- 
- 
Method Details- 
searchDescription copied from interface:SearchServicePerforms a search against the database- Specified by:
- searchin interface- SearchService
- Parameters:
- options- The search options
- Returns:
- Result hits and statistics
- Throws:
- ServerException- error in the server application
 
- 
saveDescription copied from interface:SearchServiceSaves the search options in the user's working dir- Specified by:
- savein interface- SearchService
- Parameters:
- options- The search options
- Returns:
- true if the operation was successful and there were no duplicates
- Throws:
- ServerException- error in the server application
 
- 
deleteDescription copied from interface:SearchServiceDeletes a previously saved search- Specified by:
- deletein interface- SearchService
- Parameters:
- names- The saved search names
- Throws:
- ServerException- error in the server application
 
- 
loadDescription copied from interface:SearchServiceLoads a saved search- Specified by:
- loadin interface- SearchService
- Parameters:
- name- The saved search name
- Returns:
- the options
- Throws:
- ServerException- error in the server application
 
- 
getSearchesLoad 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
 
 
-