summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-16 09:29:27 +0100
committerJoas Schilling <coding@schilljs.com>2016-11-16 09:29:27 +0100
commit6b88d56e3aa94012dcaf9e5240b885b4e545efc6 (patch)
treeae829b3fd3e68f7a4573b82cbf46517d451b285e /lib/public
parent6047493b6dba2a402f256d2286008c3baaa3d5f9 (diff)
downloadnextcloud-server-6b88d56e3aa94012dcaf9e5240b885b4e545efc6.tar.gz
nextcloud-server-6b88d56e3aa94012dcaf9e5240b885b4e545efc6.zip
Update the since version to 11.0.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Activity/IEvent.php32
-rw-r--r--lib/public/Activity/IExtension.php8
-rw-r--r--lib/public/Activity/IFilter.php14
-rw-r--r--lib/public/Activity/IManager.php28
-rw-r--r--lib/public/Activity/IProvider.php4
-rw-r--r--lib/public/Activity/ISetting.php16
6 files changed, 51 insertions, 51 deletions
diff --git a/lib/public/Activity/IEvent.php b/lib/public/Activity/IEvent.php
index c4becf54a7e..a12ba8642a1 100644
--- a/lib/public/Activity/IEvent.php
+++ b/lib/public/Activity/IEvent.php
@@ -101,13 +101,13 @@ interface IEvent {
* @param string $subject
* @return $this
* @throws \InvalidArgumentException if the subject is invalid
- * @since 9.2.0
+ * @since 11.0.0
*/
public function setParsedSubject($subject);
/**
* @return string
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getParsedSubject();
@@ -116,19 +116,19 @@ interface IEvent {
* @param array $parameters
* @return $this
* @throws \InvalidArgumentException if the subject or parameters are invalid
- * @since 9.2.0
+ * @since 11.0.0
*/
public function setRichSubject($subject, array $parameters = []);
/**
* @return string
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getRichSubject();
/**
* @return array[]
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getRichSubjectParameters();
@@ -147,13 +147,13 @@ interface IEvent {
* @param string $message
* @return $this
* @throws \InvalidArgumentException if the message is invalid
- * @since 9.2.0
+ * @since 11.0.0
*/
public function setParsedMessage($message);
/**
* @return string
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getParsedMessage();
@@ -162,19 +162,19 @@ interface IEvent {
* @param array $parameters
* @return $this
* @throws \InvalidArgumentException if the message or parameters are invalid
- * @since 9.2.0
+ * @since 11.0.0
*/
public function setRichMessage($message, array $parameters = []);
/**
* @return string
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getRichMessage();
/**
* @return array[]
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getRichMessageParameters();
@@ -282,37 +282,37 @@ interface IEvent {
* @param string $icon
* @return $this
* @throws \InvalidArgumentException if the icon is invalid
- * @since 9.2.0
+ * @since 11.0.0
*/
public function setIcon($icon);
/**
* @return string
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getIcon();
/**
* @param IEvent $child
- * @since 9.2.0
+ * @since 11.0.0
*/
public function setChildEvent(IEvent $child);
/**
* @return IEvent|null
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getChildEvent();
/**
* @return bool
- * @since 9.2.0
+ * @since 11.0.0
*/
public function isValid();
/**
* @return bool
- * @since 9.2.0
+ * @since 11.0.0
*/
public function isValidParsed();
}
diff --git a/lib/public/Activity/IExtension.php b/lib/public/Activity/IExtension.php
index 21d1bd150ac..3f605a47e4b 100644
--- a/lib/public/Activity/IExtension.php
+++ b/lib/public/Activity/IExtension.php
@@ -129,7 +129,7 @@ interface IExtension {
*
* @return array|false
* @since 8.0.0
- * @deprecated 9.2.0 - Register an IFilter instead
+ * @deprecated 11.0.0 - Register an IFilter instead
*/
public function getNavigation();
@@ -139,7 +139,7 @@ interface IExtension {
* @param string $filterValue
* @return boolean
* @since 8.0.0
- * @deprecated 9.2.0 - Register an IFilter instead
+ * @deprecated 11.0.0 - Register an IFilter instead
*/
public function isFilterValid($filterValue);
@@ -151,7 +151,7 @@ interface IExtension {
* @param string $filter
* @return array|false
* @since 8.0.0
- * @deprecated 9.2.0 - Register an IFilter instead
+ * @deprecated 11.0.0 - Register an IFilter instead
*/
public function filterNotificationTypes($types, $filter);
@@ -164,7 +164,7 @@ interface IExtension {
* @param string $filter
* @return array|false
* @since 8.0.0
- * @deprecated 9.2.0 - Register an IFilter instead
+ * @deprecated 11.0.0 - Register an IFilter instead
*/
public function getQueryForFilter($filter);
}
diff --git a/lib/public/Activity/IFilter.php b/lib/public/Activity/IFilter.php
index f3c57c14e97..e5b65a7d91f 100644
--- a/lib/public/Activity/IFilter.php
+++ b/lib/public/Activity/IFilter.php
@@ -28,19 +28,19 @@ namespace OCP\Activity;
* Interface IFilter
*
* @package OCP\Activity
- * @since 9.2.0
+ * @since 11.0.0
*/
interface IFilter {
/**
* @return string Lowercase a-z and underscore only identifier
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getIdentifier();
/**
* @return string A translated string
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getName();
@@ -48,26 +48,26 @@ interface IFilter {
* @return int whether the filter should be rather on the top or bottom of
* the admin section. The filters are arranged in ascending order of the
* priority values. It is required to return a value between 0 and 100.
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getPriority();
/**
* @return string Full URL to an icon, empty string when none is given
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getIcon();
/**
* @param string[] $types
* @return string[] An array of allowed apps from which activities should be displayed
- * @since 9.2.0
+ * @since 11.0.0
*/
public function filterTypes(array $types);
/**
* @return string[] An array of allowed apps from which activities should be displayed
- * @since 9.2.0
+ * @since 11.0.0
*/
public function allowedApps();
}
diff --git a/lib/public/Activity/IManager.php b/lib/public/Activity/IManager.php
index abad12f15f0..2fe38ddb8d8 100644
--- a/lib/public/Activity/IManager.php
+++ b/lib/public/Activity/IManager.php
@@ -111,13 +111,13 @@ interface IManager {
/**
* @param string $filter Class must implement OCA\Activity\IFilter
* @return void
- * @since 9.2.0
+ * @since 11.0.0
*/
public function registerFilter($filter);
/**
* @return IFilter[]
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getFilters();
@@ -125,33 +125,33 @@ interface IManager {
* @param string $id
* @return IFilter
* @throws \InvalidArgumentException when the filter was not found
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getFilterById($id);
/**
* @param string $setting Class must implement OCA\Activity\ISetting
* @return void
- * @since 9.2.0
+ * @since 11.0.0
*/
public function registerSetting($setting);
/**
* @return ISetting[]
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getSettings();
/**
* @param string $provider Class must implement OCA\Activity\IProvider
* @return void
- * @since 9.2.0
+ * @since 11.0.0
*/
public function registerProvider($provider);
/**
* @return IProvider[]
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getProviders();
@@ -159,7 +159,7 @@ interface IManager {
* @param string $id
* @return ISetting
* @throws \InvalidArgumentException when the setting was not found
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getSettingById($id);
@@ -173,7 +173,7 @@ interface IManager {
* 'methods' => [\OCP\Activity\IExtension::METHOD_*],
* ]
* @since 8.0.0 - 8.2.0: Added support to allow limiting notifications to certain methods
- * @deprecated 9.2.0 - Use getSettings() instead
+ * @deprecated 11.0.0 - Use getSettings() instead
*/
public function getNotificationTypes($languageCode);
@@ -181,7 +181,7 @@ interface IManager {
* @param string $method
* @return array
* @since 8.0.0
- * @deprecated 9.2.0 - Use getSettings()->isDefaulEnabled<method>() instead
+ * @deprecated 11.0.0 - Use getSettings()->isDefaulEnabled<method>() instead
*/
public function getDefaultTypes($method);
@@ -256,7 +256,7 @@ interface IManager {
/**
* @return array
* @since 8.0.0
- * @deprecated 9.2.0 - Use getFilters() instead
+ * @deprecated 11.0.0 - Use getFilters() instead
*/
public function getNavigation();
@@ -264,7 +264,7 @@ interface IManager {
* @param string $filterValue
* @return boolean
* @since 8.0.0
- * @deprecated 9.2.0 - Use getFilterById() instead
+ * @deprecated 11.0.0 - Use getFilterById() instead
*/
public function isFilterValid($filterValue);
@@ -273,7 +273,7 @@ interface IManager {
* @param string $filter
* @return array
* @since 8.0.0
- * @deprecated 9.2.0 - Use getFilterById()->filterTypes() instead
+ * @deprecated 11.0.0 - Use getFilterById()->filterTypes() instead
*/
public function filterNotificationTypes($types, $filter);
@@ -281,7 +281,7 @@ interface IManager {
* @param string $filter
* @return array
* @since 8.0.0
- * @deprecated 9.2.0 - Use getFilterById() instead
+ * @deprecated 11.0.0 - Use getFilterById() instead
*/
public function getQueryForFilter($filter);
}
diff --git a/lib/public/Activity/IProvider.php b/lib/public/Activity/IProvider.php
index 6e4b9b16271..5b78e26f4bc 100644
--- a/lib/public/Activity/IProvider.php
+++ b/lib/public/Activity/IProvider.php
@@ -25,7 +25,7 @@ namespace OCP\Activity;
* Interface IProvider
*
* @package OCP\Activity
- * @since 9.2.0
+ * @since 11.0.0
*/
interface IProvider {
/**
@@ -33,7 +33,7 @@ interface IProvider {
* @param IEvent|null $previousEvent
* @return IEvent
* @throws \InvalidArgumentException
- * @since 9.2.0
+ * @since 11.0.0
*/
public function parse(IEvent $event, IEvent $previousEvent = null);
}
diff --git a/lib/public/Activity/ISetting.php b/lib/public/Activity/ISetting.php
index b90616e825c..786581bcae6 100644
--- a/lib/public/Activity/ISetting.php
+++ b/lib/public/Activity/ISetting.php
@@ -25,19 +25,19 @@ namespace OCP\Activity;
* Interface ISetting
*
* @package OCP\Activity
- * @since 9.2.0
+ * @since 11.0.0
*/
interface ISetting {
/**
* @return string Lowercase a-z and underscore only identifier
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getIdentifier();
/**
* @return string A translated string
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getName();
@@ -45,31 +45,31 @@ interface ISetting {
* @return int whether the filter should be rather on the top or bottom of
* the admin section. The filters are arranged in ascending order of the
* priority values. It is required to return a value between 0 and 100.
- * @since 9.2.0
+ * @since 11.0.0
*/
public function getPriority();
/**
* @return bool True when the option can be changed for the stream
- * @since 9.2.0
+ * @since 11.0.0
*/
public function canChangeStream();
/**
* @return bool True when the option can be changed for the stream
- * @since 9.2.0
+ * @since 11.0.0
*/
public function isDefaultEnabledStream();
/**
* @return bool True when the option can be changed for the mail
- * @since 9.2.0
+ * @since 11.0.0
*/
public function canChangeMail();
/**
* @return bool True when the option can be changed for the stream
- * @since 9.2.0
+ * @since 11.0.0
*/
public function isDefaultEnabledMail();
}