Class RestSearchService

    • Constructor Detail

      • RestSearchService

        public RestSearchService()
    • Method Detail

      • findByFilename

        @GET
        @Path("/findByFilename")
        public WSDocument[] findByFilename​(@QueryParam("filename")
                                           String filename)
                                    throws Exception
        Description copied from interface: SearchService
        Finds authorized documents for the current user the given filename (like operator is used)
        Specified by:
        findByFilename in interface SearchService
        Parameters:
        filename - Filename of the document
        Returns:
        Collection of found documents
        Throws:
        Exception - error in the server application
      • findFolders

        @GET
        @Path("/findFolders")
        public WSFolder[] findFolders​(@QueryParam("name")
                                      String name)
                               throws Exception
        Description copied from interface: SearchService
        Finds authorized folders for the current user containing the given name (like operator is used)
        Specified by:
        findFolders in interface SearchService
        Parameters:
        name - Name of the folder
        Returns:
        Collection of found folders
        Throws:
        Exception - error in the server application