Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/public/Share/IManager.php48
1 files changed, 48 insertions, 0 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index 606e6429918..66b4de9c4e5 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -347,6 +347,54 @@ interface IManager {
public function shareApiLinkDefaultExpireDays();
/**
+ * Is default internal expire date enabled
+ *
+ * @return bool
+ * @since 22.0.0
+ */
+ public function shareApiInternalDefaultExpireDate(): bool;
+
+ /**
+ * Is default remote expire date enabled
+ *
+ * @return bool
+ * @since 22.0.0
+ */
+ public function shareApiRemoteDefaultExpireDate(): bool;
+
+ /**
+ * Is default expire date enforced
+ *
+ * @return bool
+ * @since 22.0.0
+ */
+ public function shareApiInternalDefaultExpireDateEnforced(): bool;
+
+ /**
+ * Is default expire date enforced for remote shares
+ *
+ * @return bool
+ * @since 22.0.0
+ */
+ public function shareApiRemoteDefaultExpireDateEnforced(): bool;
+
+ /**
+ * Number of default expire days
+ *
+ * @return int
+ * @since 22.0.0
+ */
+ public function shareApiInternalDefaultExpireDays(): int;
+
+ /**
+ * Number of default expire days for remote shares
+ *
+ * @return int
+ * @since 22.0.0
+ */
+ public function shareApiRemoteDefaultExpireDays(): int;
+
+ /**
* Allow public upload on link shares
*
* @return bool