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,
                         long[] groupIds)
                  throws ServerException
        Shares a search among a set of users and groups
        Parameters:
        name - the name of the search
        userIds - direct ids of users to share the search to
        groupIds - the groups of users to share the search to
        Throws:
        ServerException - share the search to
      • 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