summaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Search
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-03-08 15:17:39 +0100
committerRobin Appelman <robin@icewind.nl>2017-03-08 16:30:55 +0100
commite61606a767cd6e2c28e3897e7e913e39371078e5 (patch)
treeb2d0cf869dae5f4cce698ca647f827aab178aaa0 /lib/public/Files/Search
parent2a8e922d67a1246e101f926f1b0ab287db71929e (diff)
downloadnextcloud-server-e61606a767cd6e2c28e3897e7e913e39371078e5.tar.gz
nextcloud-server-e61606a767cd6e2c28e3897e7e913e39371078e5.zip
Allow searching for favorites
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/Files/Search')
-rw-r--r--lib/public/Files/Search/ISearchQuery.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Files/Search/ISearchQuery.php b/lib/public/Files/Search/ISearchQuery.php
index 5a701b321b1..531e285a593 100644
--- a/lib/public/Files/Search/ISearchQuery.php
+++ b/lib/public/Files/Search/ISearchQuery.php
@@ -21,6 +21,8 @@
namespace OCP\Files\Search;
+use OCP\IUser;
+
/**
* @since 12.0.0
*/
@@ -54,4 +56,12 @@ interface ISearchQuery {
* @since 12.0.0
*/
public function getOrder();
+
+ /**
+ * The user that issued the search
+ *
+ * @return IUser
+ * @since 12.0.0
+ */
+ public function getUser();
}