Class SoapSearchService
java.lang.Object
com.logicaldoc.webservice.AbstractService
com.logicaldoc.webservice.soap.endpoint.SoapSearchService
- All Implemented Interfaces:
- SearchService
- Direct Known Subclasses:
- RestSearchService
Search Web Service Implementation
- Since:
- 5.2
- Author:
- Matteo Caruso - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfind(String sid, WSSearchOptions opt) Performs a search by the search options.findByFilename(String sid, String filename) Finds authorized documents for the current user the given filename (like operator is used)findFolders(String sid, String name) Finds authorized folders for the current user containing the given name (like operator is used)Methods inherited from class com.logicaldoc.webservice.AbstractServiceconvertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession
- 
Constructor Details- 
SoapSearchServicepublic SoapSearchService()
 
- 
- 
Method Details- 
findpublic WSSearchResult find(String sid, WSSearchOptions opt) throws PersistenceException, AuthenticationException, WebserviceException, SearchException Description copied from interface:SearchServicePerforms a search by the search options.- Specified by:
- findin interface- SearchService
- Parameters:
- sid- identifier of the session
- opt- Search options
- Returns:
- The search result
- Throws:
- PersistenceException- Error in the database
- AuthenticationException- Invalid session
- WebserviceException- Error in the webservice
- SearchException- Eror in the search
 
- 
findByFilenamepublic List<WSDocument> findByFilename(String sid, String filename) throws AuthenticationException, WebserviceException, PersistenceException Description copied from interface:SearchServiceFinds authorized documents for the current user the given filename (like operator is used)- Specified by:
- findByFilenamein interface- SearchService
- Parameters:
- sid- identifier of the session
- filename- Filename of the document
- Returns:
- Collection of found documents
- Throws:
- AuthenticationException- Invalid session
- WebserviceException- Error in the webservice
- PersistenceException- Error in the database
 
- 
findFolderspublic List<WSFolder> findFolders(String sid, String name) throws AuthenticationException, WebserviceException, PersistenceException Description copied from interface:SearchServiceFinds authorized folders for the current user containing the given name (like operator is used)- Specified by:
- findFoldersin interface- SearchService
- Parameters:
- sid- identifier of the session
- name- Name of the folder
- Returns:
- Collection of found folders
- Throws:
- AuthenticationException- Invalid session
- WebserviceException- Error in the webservice
- PersistenceException- Error in the database
 
 
-