Interface SearchService
- 
- All Superinterfaces:
 com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
 SearchServiceImpl
@RemoteServiceRelativePath("search") public interface SearchService extends com.google.gwt.user.client.rpc.RemoteServiceService responsible of Searches- Since:
 - 6.0
 - Author:
 - Marco Meschieri - LogicalDOC
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSearchService.Instance 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(String[] names)Deletes a previously saved searchGUISearchOptionsload(String name)Loads a saved searchbooleansave(GUISearchOptions options)Saves the search options in the user's working dirGUIResultsearch(GUISearchOptions options)Performs a search against the database 
 - 
 
- 
- 
Method Detail
- 
search
GUIResult search(GUISearchOptions options) throws ServerException
Performs a search against the database- Parameters:
 options- The search options- Returns:
 - Result hits and statistics
 - Throws:
 ServerException- error in the server application
 
- 
save
boolean save(GUISearchOptions options) throws ServerException
Saves the search options in the user's working dir- 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
void delete(String[] names) throws ServerException
Deletes a previously saved search- Parameters:
 names- The saved search names- Throws:
 ServerException- error in the server application
 
- 
load
GUISearchOptions load(String name) throws ServerException
Loads a saved search- Parameters:
 name- The saved search name- Returns:
 - the options
 - Throws:
 ServerException- error in the server application
 
 - 
 
 -