Class RestSearchService
- java.lang.Object
 - 
- com.logicaldoc.webservice.AbstractService
 - 
- com.logicaldoc.webservice.soap.endpoint.SoapSearchService
 - 
- com.logicaldoc.webservice.rest.endpoint.RestSearchService
 
 
 
 
- 
- All Implemented Interfaces:
 SearchService,SearchService
- Direct Known Subclasses:
 RestSearchSwagger
@Path("/") @Consumes("application/json") @Produces("application/json") public class RestSearchService extends SoapSearchService implements SearchService 
- 
- 
Constructor Summary
Constructors Constructor Description RestSearchService() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WSSearchResultfind(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)- 
Methods inherited from class com.logicaldoc.webservice.soap.endpoint.SoapSearchService
find, findByFilename, findFolders 
- 
Methods inherited from class com.logicaldoc.webservice.AbstractService
convertDateToString, convertStringToDate, getContext, getMessageContext, isValidateSession, setContext, setMessageContext, setValidateSession 
 - 
 
 - 
 
- 
- 
Method Detail
- 
find
@POST @Path("/find") public WSSearchResult find(WSSearchOptions opt) throws Exception- Specified by:
 findin interfaceSearchService- Throws:
 Exception
 
- 
findByFilename
@GET @Path("/findByFilename") public WSDocument[] findByFilename(@QueryParam("filename") String filename) throws ExceptionDescription copied from interface:SearchServiceFinds authorized documents for the current user the given filename (like operator is used)- Specified by:
 findByFilenamein interfaceSearchService- 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 ExceptionDescription copied from interface:SearchServiceFinds authorized folders for the current user containing the given name (like operator is used)- Specified by:
 findFoldersin interfaceSearchService- Parameters:
 name- Name of the folder- Returns:
 - Collection of found folders
 - Throws:
 Exception- error in the server application
 
 - 
 
 -