Package mops.businesslogic.search
Class SearchServiceImpl
- java.lang.Object
-
- mops.businesslogic.search.SearchServiceImpl
-
- All Implemented Interfaces:
SearchService
@Service public class SearchServiceImpl extends java.lang.Object implements SearchService
Service implementation for searching.
-
-
Constructor Summary
Constructors Constructor Description SearchServiceImpl(FileService fileService, DirectoryService directoryService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<FileListEntry>searchFolder(Account account, long dirId, FileQuery query)Searches a folder for files.
-
-
-
Constructor Detail
-
SearchServiceImpl
public SearchServiceImpl(FileService fileService, DirectoryService directoryService)
-
-
Method Detail
-
searchFolder
public java.util.List<FileListEntry> searchFolder(Account account, long dirId, FileQuery query) throws MopsException
Searches a folder for files.- Specified by:
searchFolderin interfaceSearchService- Parameters:
account- user credentialsdirId- id of the folder to be searchedquery- wrapper object of the query parameter- Returns:
- list of files
- Throws:
MopsException
-
-