diff options
author | Robin Appelman <robin@icewind.nl> | 2021-05-11 18:38:48 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-05-12 17:11:35 +0300 |
commit | a9eb1f6af31706f71793b62e2de89078753063a3 (patch) | |
tree | ad8e51050b8f5222e757aae65c6c9f93d63e1e79 | |
parent | 0e6321957df6635d43ad07d7add23b1cea581fc0 (diff) |
update public interface with new methods
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r-- | lib/public/Share/IManager.php | 48 |
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 |