diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-11-18 11:33:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-18 11:33:33 +0100 |
commit | ccdf387041158dbacfcb8f8123a78cc86ce95bf1 (patch) | |
tree | a6fa32ca0432c04ced647ee9735888db42700515 /lib/public | |
parent | 00fffae47f4563e6b6e2f5efe632d8341cf1425c (diff) | |
parent | 5acbdf1e36ba707d50b0c10b69c8001b8efead1d (diff) | |
download | nextcloud-server-ccdf387041158dbacfcb8f8123a78cc86ce95bf1.tar.gz nextcloud-server-ccdf387041158dbacfcb8f8123a78cc86ce95bf1.zip |
Merge pull request #2184 from nextcloud/share-join-cache
Get the share root info directly when querying for shares
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Share/IShare.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/public/Share/IShare.php b/lib/public/Share/IShare.php index 206b0e286a2..5b552b51c3c 100644 --- a/lib/public/Share/IShare.php +++ b/lib/public/Share/IShare.php @@ -22,6 +22,7 @@ namespace OCP\Share; +use OCP\Files\Cache\ICacheEntry; use OCP\Files\File; use OCP\Files\Folder; use OCP\Files\Node; @@ -324,4 +325,20 @@ interface IShare { * @since 9.0.0 */ public function getMailSend(); + + /** + * Set the cache entry for the shared node + * + * @param ICacheEntry $entry + * @since 11.0.0 + */ + public function setNodeCacheEntry(ICacheEntry $entry); + + /** + * Get the cache entry for the shared node + * + * @return null|ICacheEntry + * @since 11.0.0 + */ + public function getNodeCacheEntry(); } |