summaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IShare.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Share/IShare.php')
-rw-r--r--lib/public/Share/IShare.php57
1 files changed, 57 insertions, 0 deletions
diff --git a/lib/public/Share/IShare.php b/lib/public/Share/IShare.php
index 7bcecbdc872..60bbe31d406 100644
--- a/lib/public/Share/IShare.php
+++ b/lib/public/Share/IShare.php
@@ -40,6 +40,63 @@ use OCP\Share\Exceptions\IllegalIDChangeException;
interface IShare {
/**
+ * @since 17.0.0
+ */
+ public const TYPE_USER = 0;
+
+ /**
+ * @since 17.0.0
+ */
+ public const TYPE_GROUP = 1;
+
+ /**
+ * @since 17.0.0
+ */
+ public const TYPE_LINK = 3;
+
+ /**
+ * @since 17.0.0
+ */
+ public const TYPE_EMAIL = 4;
+
+ /**
+ * ToDo Check if it is still in use otherwise remove it
+ * @since 17.0.0
+ */
+ // public const TYPE_CONTACT = 5;
+
+ /**
+ * @since 17.0.0
+ */
+ public const TYPE_REMOTE = 6;
+
+ /**
+ * @since 17.0.0
+ */
+ public const TYPE_CIRCLE = 7;
+
+ /**
+ * @since 17.0.0
+ */
+ public const TYPE_GUEST = 8;
+
+ /**
+ * @since 17.0.0
+ */
+ public const TYPE_REMOTE_GROUP = 9;
+
+ /**
+ * @since 17.0.0
+ */
+ public const TYPE_ROOM = 10;
+
+ /**
+ * Internal type used by RoomShareProvider
+ * @since 17.0.0
+ */
+ // const TYPE_USERROOM = 11;
+
+ /**
* Set the internal id of the share
* It is only allowed to set the internal id of a share once.
* Attempts to override the internal id will result in an IllegalIDChangeException