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
    • Method Detail

      • 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
      • shareSearch

        void shareSearch​(String name,
                         long[] userIds)
                  throws ServerException
        Re-create a saved search in other user profiles
        Parameters:
        name - name of the search to replicate
        userIds - identifiers of the users
        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