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:
Diffstat (limited to 'lib/public/Activity/IEvent.php')
-rw-r--r--lib/public/Activity/IEvent.php84
1 files changed, 84 insertions, 0 deletions
diff --git a/lib/public/Activity/IEvent.php b/lib/public/Activity/IEvent.php
index 3af8a8b8277..6d587c381c2 100644
--- a/lib/public/Activity/IEvent.php
+++ b/lib/public/Activity/IEvent.php
@@ -98,6 +98,41 @@ interface IEvent {
public function setSubject($subject, array $parameters = []);
/**
+ * @param string $subject
+ * @return $this
+ * @throws \InvalidArgumentException if the subject is invalid
+ * @since 9.2.0
+ */
+ public function setParsedSubject($subject);
+
+ /**
+ * @return string
+ * @since 9.2.0
+ */
+ public function getParsedSubject();
+
+ /**
+ * @param string $subject
+ * @param array $parameters
+ * @return $this
+ * @throws \InvalidArgumentException if the subject or parameters are invalid
+ * @since 9.2.0
+ */
+ public function setRichSubject($subject, array $parameters = []);
+
+ /**
+ * @return string
+ * @since 9.2.0
+ */
+ public function getRichSubject();
+
+ /**
+ * @return array[]
+ * @since 9.2.0
+ */
+ public function getRichSubjectParameters();
+
+ /**
* Set the message of the activity
*
* @param string $message
@@ -109,6 +144,41 @@ interface IEvent {
public function setMessage($message, array $parameters = []);
/**
+ * @param string $message
+ * @return $this
+ * @throws \InvalidArgumentException if the message is invalid
+ * @since 9.2.0
+ */
+ public function setParsedMessage($message);
+
+ /**
+ * @return string
+ * @since 9.2.0
+ */
+ public function getParsedMessage();
+
+ /**
+ * @param string $message
+ * @param array $parameters
+ * @return $this
+ * @throws \InvalidArgumentException if the message or parameters are invalid
+ * @since 9.2.0
+ */
+ public function setRichMessage($message, array $parameters = []);
+
+ /**
+ * @return string
+ * @since 9.2.0
+ */
+ public function getRichMessage();
+
+ /**
+ * @return array[]
+ * @since 9.2.0
+ */
+ public function getRichMessageParameters();
+
+ /**
* Set the object of the activity
*
* @param string $objectType
@@ -209,6 +279,20 @@ interface IEvent {
public function getLink();
/**
+ * @param string $icon
+ * @return $this
+ * @throws \InvalidArgumentException if the icon is invalid
+ * @since 9.2.0
+ */
+ public function setIcon($icon);
+
+ /**
+ * @return string
+ * @since 9.2.0
+ */
+ public function getIcon();
+
+ /**
* @return bool
* @since 9.2.0
*/