The Java interface com.openexchange.file.storage.FileStorageFileAcces s´´ has been extended by an additional search method that is capable to accept a compound search term as parameter.

Thus it is possible to specify complex queries that are supposed to be executed in implementation bundles.


Method declaration:

search(List<String> folderIds, SearchTerm<?> searchTerm, List<Field> fields, File.Field sort, SortDirection order, int start, int end) throws OXException;


Parameter description:

- folderIds: The optional folder identifiers
- searchTerm: The search term
- fields: The fields to load
- sort: Which field to sort by. May be <code>null</code>.
- order: The order in which to sort
- start: A start index (inclusive) for the search results. Useful for paging.
- end: An end index (exclusive) for the search results. Useful for paging.