summaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IManager.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-06-18 22:04:56 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-31 15:55:40 +0100
commit3692769b0a0713fa9e3976692736da76707986c5 (patch)
tree7749b3fcc18a8027301635519794a44b9bdc683e /lib/public/Share/IManager.php
parent357a823457397d3e93ec8cd4dc01fb6859eb0049 (diff)
downloadnextcloud-server-3692769b0a0713fa9e3976692736da76707986c5.tar.gz
nextcloud-server-3692769b0a0713fa9e3976692736da76707986c5.zip
Add getShareTypesInFolder to optimize folder listening
Signed-off-by: Robin Appelman <icewind@owncloud.com>
Diffstat (limited to 'lib/public/Share/IManager.php')
-rw-r--r--lib/public/Share/IManager.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index 37751911883..e8c69e06f9f 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -88,6 +88,17 @@ interface IManager {
public function moveShare(IShare $share, $recipientId);
/**
+ * Get all shares shared by (initiated) by the provided user in a folder.
+ *
+ * @param string $userId
+ * @param Node|null $node
+ * @param bool $reshares
+ * @return IShare[]
+ * @since 9.2.0
+ */
+ public function getSharesInFolder($userId, Node $node, $reshares = false);
+
+ /**
* Get shares shared by (initiated) by the provided user.
*
* @param string $userId