diff options
Diffstat (limited to 'lib/public/Calendar/Resource/IResource.php')
-rw-r--r-- | lib/public/Calendar/Resource/IResource.php | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/lib/public/Calendar/Resource/IResource.php b/lib/public/Calendar/Resource/IResource.php index a60378435b4..1f588ccb48d 100644 --- a/lib/public/Calendar/Resource/IResource.php +++ b/lib/public/Calendar/Resource/IResource.php @@ -39,7 +39,7 @@ interface IResource { * @return string * @since 14.0.0 */ - public function getId(); + public function getId():string; /** * get the display name for a resource @@ -47,7 +47,7 @@ interface IResource { * @return string * @since 14.0.0 */ - public function getDisplayName(); + public function getDisplayName():string; /** * Get a list of groupIds that are allowed to access this resource @@ -58,13 +58,23 @@ interface IResource { * @return string[] * @since 14.0.0 */ - public function getGroupRestrictions(); + public function getGroupRestrictions():array; /** - * Get the name of the backend class the room is connected with + * get email-address for resource + * + * The email address has to be globally unique * * @return string * @since 14.0.0 */ - public function getBackendClassName(); + public function getEMail():string; + + /** + * Get corresponding backend object + * + * @return IBackend + * @since 14.0.0 + */ + public function getBackend():IBackend; } |