aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/ISearch.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-06-22 10:57:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-06-24 14:20:26 +0200
commit27b8637e3e2676e81df74891043c39530bdc1cda (patch)
tree94087564729209c20b07832a956431763d801ebf /lib/public/ISearch.php
parentf8e08a74bac4b065edcade762e2ca3632ff76797 (diff)
downloadnextcloud-server-27b8637e3e2676e81df74891043c39530bdc1cda.tar.gz
nextcloud-server-27b8637e3e2676e81df74891043c39530bdc1cda.zip
Deprecate \OCP\ISearch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/ISearch.php')
-rw-r--r--lib/public/ISearch.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/ISearch.php b/lib/public/ISearch.php
index 747b598e669..94338b3d20d 100644
--- a/lib/public/ISearch.php
+++ b/lib/public/ISearch.php
@@ -29,6 +29,7 @@ namespace OCP;
/**
* Small Interface for Search
* @since 7.0.0
+ * @deprecated 20.0.0
*/
interface ISearch {
@@ -40,6 +41,7 @@ interface ISearch {
* @param int $size
* @return array An array of OCP\Search\Result's
* @since 8.0.0
+ * @deprecated 20.0.0
*/
public function searchPaged($query, array $inApps = [], $page = 1, $size = 30);
@@ -48,6 +50,7 @@ interface ISearch {
* @param string $class class name of a OCP\Search\Provider
* @param array $options optional
* @since 7.0.0
+ * @deprecated 20.0.0
*/
public function registerProvider($class, array $options = []);
@@ -55,12 +58,14 @@ interface ISearch {
* Remove one existing search provider
* @param string $provider class name of a OCP\Search\Provider
* @since 7.0.0
+ * @deprecated 20.0.0
*/
public function removeProvider($provider);
/**
* Remove all registered search providers
* @since 7.0.0
+ * @deprecated 20.0.0
*/
public function clearProviders();
}