Package com.logicaldoc.webservice.rest
Interface SearchService
-
- All Known Implementing Classes:
RestSearchService
,RestSearchSwagger
@Consumes("application/json") @Produces("application/json") public interface SearchService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WSSearchResult
find(WSSearchOptions opt)
WSDocument[]
findByFilename(String filename)
Finds authorized documents for the current user the given filename (like operator is used)WSFolder[]
findFolders(String name)
Finds authorized folders for the current user containing the given name (like operator is used)
-
-
-
Method Detail
-
find
@POST @Path("/find") WSSearchResult find(WSSearchOptions opt) throws Exception
- Throws:
Exception
-
findByFilename
@GET @Path("/findByFilename") WSDocument[] findByFilename(String filename) throws Exception
Finds authorized documents for the current user the given filename (like operator is used)- Parameters:
filename
- Filename of the document- Returns:
- Collection of found documents
- Throws:
Exception
- error in the server application
-
findFolders
@GET @Path("/findFolders") WSFolder[] findFolders(String name) throws Exception
Finds authorized folders for the current user containing the given name (like operator is used)- Parameters:
name
- Name of the folder- Returns:
- Collection of found folders
- Throws:
Exception
- error in the server application
-
-