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.RemoteService
Service responsible of Searches
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deletes a previously saved searchLoads a saved searchboolean
save
(GUISearchOptions options) Saves the search options in the user's working dirsearch
(GUISearchOptions options) Performs a search against the databasevoid
shareSearch
(String name, long[] userIds, long[] groupIds) Shares a search among a set of users and groups
-
Method Details
-
search
Performs a search against the database- Parameters:
options
- The search options- Returns:
- Result hits and statistics
- Throws:
ServerException
- error in the server application
-
save
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
Deletes a previously saved search- Parameters:
names
- The saved search names- Throws:
ServerException
- error in the server application
-
load
Loads a saved search- Parameters:
name
- The saved search name- Returns:
- the options
- Throws:
ServerException
- error in the server application
-