summaryrefslogtreecommitdiffstats
path: root/lib/public/Files
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files')
-rw-r--r--lib/public/Files/Search/ISearchQuery.php10
-rw-r--r--lib/public/Files/Storage.php2
2 files changed, 12 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();
}
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php
index 1532c84b621..213bbc0e549 100644
--- a/lib/public/Files/Storage.php
+++ b/lib/public/Files/Storage.php
@@ -458,4 +458,6 @@ interface Storage extends IStorage {
* @param bool $isAvailable
*/
public function setAvailability($isAvailable);
+
+ public function needsPartFile();
}