@@ -29,8 +29,8 @@ |
||
29 | 29 | * @since 14.0.0 |
30 | 30 | */ |
31 | 31 | interface ICountDisabledInGroup { |
32 | - /** |
|
33 | - * @since 14.0.0 |
|
34 | - */ |
|
35 | - public function countDisabledInGroup(string $gid): int; |
|
32 | + /** |
|
33 | + * @since 14.0.0 |
|
34 | + */ |
|
35 | + public function countDisabledInGroup(string $gid): int; |
|
36 | 36 | } |
@@ -29,19 +29,19 @@ |
||
29 | 29 | * @since 24.0.0 |
30 | 30 | */ |
31 | 31 | interface IConversation { |
32 | - /** |
|
33 | - * Get the unique token that identifies this conversation |
|
34 | - * |
|
35 | - * @return string |
|
36 | - * @since 26.0.0 |
|
37 | - */ |
|
38 | - public function getId(): string; |
|
32 | + /** |
|
33 | + * Get the unique token that identifies this conversation |
|
34 | + * |
|
35 | + * @return string |
|
36 | + * @since 26.0.0 |
|
37 | + */ |
|
38 | + public function getId(): string; |
|
39 | 39 | |
40 | - /** |
|
41 | - * Get the absolute URL to this conversation |
|
42 | - * |
|
43 | - * @return string |
|
44 | - * @since 24.0.0 |
|
45 | - */ |
|
46 | - public function getAbsoluteUrl(): string; |
|
40 | + /** |
|
41 | + * Get the absolute URL to this conversation |
|
42 | + * |
|
43 | + * @return string |
|
44 | + * @since 24.0.0 |
|
45 | + */ |
|
46 | + public function getAbsoluteUrl(): string; |
|
47 | 47 | } |
@@ -29,21 +29,21 @@ |
||
29 | 29 | * @since 24.0.0 |
30 | 30 | */ |
31 | 31 | interface IConversationOptions { |
32 | - /** |
|
33 | - * Will the conversation be public? |
|
34 | - * |
|
35 | - * @return bool |
|
36 | - * @since 24.0.0 |
|
37 | - */ |
|
38 | - public function isPublic(): bool; |
|
32 | + /** |
|
33 | + * Will the conversation be public? |
|
34 | + * |
|
35 | + * @return bool |
|
36 | + * @since 24.0.0 |
|
37 | + */ |
|
38 | + public function isPublic(): bool; |
|
39 | 39 | |
40 | - /** |
|
41 | - * Make the new conversation public |
|
42 | - * |
|
43 | - * @param bool $isPublic |
|
44 | - * |
|
45 | - * @return $this |
|
46 | - * @since 24.0.0 |
|
47 | - */ |
|
48 | - public function setPublic(bool $isPublic = true): self; |
|
40 | + /** |
|
41 | + * Make the new conversation public |
|
42 | + * |
|
43 | + * @param bool $isPublic |
|
44 | + * |
|
45 | + * @return $this |
|
46 | + * @since 24.0.0 |
|
47 | + */ |
|
48 | + public function setPublic(bool $isPublic = true): self; |
|
49 | 49 | } |
@@ -36,27 +36,27 @@ |
||
36 | 36 | * @since 11.0.0 |
37 | 37 | */ |
38 | 38 | interface ILDAPProviderFactory { |
39 | - /** |
|
40 | - * Constructor for the LDAP provider factory |
|
41 | - * |
|
42 | - * @param IServerContainer $serverContainer server container |
|
43 | - * @since 11.0.0 |
|
44 | - */ |
|
45 | - public function __construct(IServerContainer $serverContainer); |
|
39 | + /** |
|
40 | + * Constructor for the LDAP provider factory |
|
41 | + * |
|
42 | + * @param IServerContainer $serverContainer server container |
|
43 | + * @since 11.0.0 |
|
44 | + */ |
|
45 | + public function __construct(IServerContainer $serverContainer); |
|
46 | 46 | |
47 | - /** |
|
48 | - * creates and returns an instance of the ILDAPProvider |
|
49 | - * |
|
50 | - * @return ILDAPProvider |
|
51 | - * @since 11.0.0 |
|
52 | - */ |
|
53 | - public function getLDAPProvider(); |
|
47 | + /** |
|
48 | + * creates and returns an instance of the ILDAPProvider |
|
49 | + * |
|
50 | + * @return ILDAPProvider |
|
51 | + * @since 11.0.0 |
|
52 | + */ |
|
53 | + public function getLDAPProvider(); |
|
54 | 54 | |
55 | - /** |
|
56 | - * Check if an ldap provider is available |
|
57 | - * |
|
58 | - * @return bool |
|
59 | - * @since 21.0.0 |
|
60 | - */ |
|
61 | - public function isAvailable(): bool; |
|
55 | + /** |
|
56 | + * Check if an ldap provider is available |
|
57 | + * |
|
58 | + * @return bool |
|
59 | + * @since 21.0.0 |
|
60 | + */ |
|
61 | + public function isAvailable(): bool; |
|
62 | 62 | } |
@@ -27,17 +27,17 @@ |
||
27 | 27 | * @since 9.0.0 |
28 | 28 | */ |
29 | 29 | class ShareNotFound extends GenericShareException { |
30 | - /** |
|
31 | - * @param string $message |
|
32 | - * @param string $hint |
|
33 | - * @param int $code |
|
34 | - * @param \Exception|null $previous |
|
35 | - * @since 9.0.0 |
|
36 | - */ |
|
37 | - public function __construct($message = '', ...$arguments) { |
|
38 | - if (empty($message)) { |
|
39 | - $message = 'Share not found'; |
|
40 | - } |
|
41 | - parent::__construct($message, ...$arguments); |
|
42 | - } |
|
30 | + /** |
|
31 | + * @param string $message |
|
32 | + * @param string $hint |
|
33 | + * @param int $code |
|
34 | + * @param \Exception|null $previous |
|
35 | + * @since 9.0.0 |
|
36 | + */ |
|
37 | + public function __construct($message = '', ...$arguments) { |
|
38 | + if (empty($message)) { |
|
39 | + $message = 'Share not found'; |
|
40 | + } |
|
41 | + parent::__construct($message, ...$arguments); |
|
42 | + } |
|
43 | 43 | } |
@@ -32,22 +32,22 @@ |
||
32 | 32 | * @since 18.0.0 |
33 | 33 | */ |
34 | 34 | class ShareCreatedEvent extends Event { |
35 | - /** @var IShare */ |
|
36 | - private $share; |
|
35 | + /** @var IShare */ |
|
36 | + private $share; |
|
37 | 37 | |
38 | - /** |
|
39 | - * @since 18.0.0 |
|
40 | - */ |
|
41 | - public function __construct(IShare $share) { |
|
42 | - parent::__construct(); |
|
38 | + /** |
|
39 | + * @since 18.0.0 |
|
40 | + */ |
|
41 | + public function __construct(IShare $share) { |
|
42 | + parent::__construct(); |
|
43 | 43 | |
44 | - $this->share = $share; |
|
45 | - } |
|
44 | + $this->share = $share; |
|
45 | + } |
|
46 | 46 | |
47 | - /** |
|
48 | - * @since 18.0.0 |
|
49 | - */ |
|
50 | - public function getShare(): IShare { |
|
51 | - return $this->share; |
|
52 | - } |
|
47 | + /** |
|
48 | + * @since 18.0.0 |
|
49 | + */ |
|
50 | + public function getShare(): IShare { |
|
51 | + return $this->share; |
|
52 | + } |
|
53 | 53 | } |
@@ -33,27 +33,27 @@ |
||
33 | 33 | * @since 21.0.0 |
34 | 34 | */ |
35 | 35 | class ShareDeletedEvent extends Event { |
36 | - /** @var IShare */ |
|
37 | - private $share; |
|
36 | + /** @var IShare */ |
|
37 | + private $share; |
|
38 | 38 | |
39 | - /** |
|
40 | - * |
|
41 | - * @param IShare $share |
|
42 | - * @param IShare[] $children |
|
43 | - * |
|
44 | - * @since 21.0.0 |
|
45 | - */ |
|
46 | - public function __construct(IShare $share) { |
|
47 | - parent::__construct(); |
|
39 | + /** |
|
40 | + * |
|
41 | + * @param IShare $share |
|
42 | + * @param IShare[] $children |
|
43 | + * |
|
44 | + * @since 21.0.0 |
|
45 | + */ |
|
46 | + public function __construct(IShare $share) { |
|
47 | + parent::__construct(); |
|
48 | 48 | |
49 | - $this->share = $share; |
|
50 | - } |
|
49 | + $this->share = $share; |
|
50 | + } |
|
51 | 51 | |
52 | - /** |
|
53 | - * @return IShare |
|
54 | - * @since 21.0.0 |
|
55 | - */ |
|
56 | - public function getShare(): IShare { |
|
57 | - return $this->share; |
|
58 | - } |
|
52 | + /** |
|
53 | + * @return IShare |
|
54 | + * @since 21.0.0 |
|
55 | + */ |
|
56 | + public function getShare(): IShare { |
|
57 | + return $this->share; |
|
58 | + } |
|
59 | 59 | } |
@@ -31,10 +31,10 @@ |
||
31 | 31 | * @since 12 |
32 | 32 | */ |
33 | 33 | interface IShareHelper { |
34 | - /** |
|
35 | - * @param Node $node |
|
36 | - * @return array [ users => [Mapping $uid => $pathForUser], remotes => [Mapping $cloudId => $pathToMountRoot]] |
|
37 | - * @since 12 |
|
38 | - */ |
|
39 | - public function getPathsForAccessList(Node $node); |
|
34 | + /** |
|
35 | + * @param Node $node |
|
36 | + * @return array [ users => [Mapping $uid => $pathForUser], remotes => [Mapping $cloudId => $pathToMountRoot]] |
|
37 | + * @since 12 |
|
38 | + */ |
|
39 | + public function getPathsForAccessList(Node $node); |
|
40 | 40 | } |
@@ -29,220 +29,220 @@ |
||
29 | 29 | * @since 14.0.0 |
30 | 30 | */ |
31 | 31 | interface ICloudFederationShare { |
32 | - /** |
|
33 | - * set uid of the recipient |
|
34 | - * |
|
35 | - * @param string $user |
|
36 | - * |
|
37 | - * @since 14.0.0 |
|
38 | - */ |
|
39 | - public function setShareWith($user); |
|
40 | - |
|
41 | - /** |
|
42 | - * set resource name (e.g. file, calendar, contact,...) |
|
43 | - * |
|
44 | - * @param string $name |
|
45 | - * |
|
46 | - * @since 14.0.0 |
|
47 | - */ |
|
48 | - public function setResourceName($name); |
|
49 | - |
|
50 | - /** |
|
51 | - * set resource type (e.g. file, calendar, contact,...) |
|
52 | - * |
|
53 | - * @param string $resourceType |
|
54 | - * |
|
55 | - * @since 14.0.0 |
|
56 | - */ |
|
57 | - public function setResourceType($resourceType); |
|
58 | - |
|
59 | - /** |
|
60 | - * set resource description (optional) |
|
61 | - * |
|
62 | - * @param string $description |
|
63 | - * |
|
64 | - * @since 14.0.0 |
|
65 | - */ |
|
66 | - public function setDescription($description); |
|
67 | - |
|
68 | - /** |
|
69 | - * set provider ID (e.g. file ID) |
|
70 | - * |
|
71 | - * @param string $providerId |
|
72 | - * |
|
73 | - * @since 14.0.0 |
|
74 | - */ |
|
75 | - public function setProviderId($providerId); |
|
76 | - |
|
77 | - /** |
|
78 | - * set owner UID |
|
79 | - * |
|
80 | - * @param string $owner |
|
81 | - * |
|
82 | - * @since 14.0.0 |
|
83 | - */ |
|
84 | - public function setOwner($owner); |
|
85 | - |
|
86 | - /** |
|
87 | - * set owner display name |
|
88 | - * |
|
89 | - * @param string $ownerDisplayName |
|
90 | - * |
|
91 | - * @since 14.0.0 |
|
92 | - */ |
|
93 | - public function setOwnerDisplayName($ownerDisplayName); |
|
94 | - |
|
95 | - /** |
|
96 | - * set UID of the user who sends the share |
|
97 | - * |
|
98 | - * @param string $sharedBy |
|
99 | - * |
|
100 | - * @since 14.0.0 |
|
101 | - */ |
|
102 | - public function setSharedBy($sharedBy); |
|
103 | - |
|
104 | - /** |
|
105 | - * set display name of the user who sends the share |
|
106 | - * |
|
107 | - * @param $sharedByDisplayName |
|
108 | - * |
|
109 | - * @since 14.0.0 |
|
110 | - */ |
|
111 | - public function setSharedByDisplayName($sharedByDisplayName); |
|
112 | - |
|
113 | - /** |
|
114 | - * set protocol specification |
|
115 | - * |
|
116 | - * @param array $protocol |
|
117 | - * |
|
118 | - * @since 14.0.0 |
|
119 | - */ |
|
120 | - public function setProtocol(array $protocol); |
|
121 | - |
|
122 | - /** |
|
123 | - * share type (group or user) |
|
124 | - * |
|
125 | - * @param string $shareType |
|
126 | - * |
|
127 | - * @since 14.0.0 |
|
128 | - */ |
|
129 | - public function setShareType($shareType); |
|
130 | - |
|
131 | - /** |
|
132 | - * get the whole share, ready to send out |
|
133 | - * |
|
134 | - * @return array |
|
135 | - * |
|
136 | - * @since 14.0.0 |
|
137 | - */ |
|
138 | - public function getShare(); |
|
139 | - |
|
140 | - /** |
|
141 | - * get uid of the recipient |
|
142 | - * |
|
143 | - * @return string |
|
144 | - * |
|
145 | - * @since 14.0.0 |
|
146 | - */ |
|
147 | - public function getShareWith(); |
|
148 | - |
|
149 | - /** |
|
150 | - * get resource name (e.g. file, calendar, contact,...) |
|
151 | - * |
|
152 | - * @return string |
|
153 | - * |
|
154 | - * @since 14.0.0 |
|
155 | - */ |
|
156 | - public function getResourceName(); |
|
157 | - |
|
158 | - /** |
|
159 | - * get resource type (e.g. file, calendar, contact,...) |
|
160 | - * |
|
161 | - * @return string |
|
162 | - * |
|
163 | - * @since 14.0.0 |
|
164 | - */ |
|
165 | - public function getResourceType(); |
|
166 | - |
|
167 | - /** |
|
168 | - * get resource description (optional) |
|
169 | - * |
|
170 | - * @return string |
|
171 | - * |
|
172 | - * @since 14.0.0 |
|
173 | - */ |
|
174 | - public function getDescription(); |
|
175 | - |
|
176 | - /** |
|
177 | - * get provider ID (e.g. file ID) |
|
178 | - * |
|
179 | - * @return string |
|
180 | - * |
|
181 | - * @since 14.0.0 |
|
182 | - */ |
|
183 | - public function getProviderId(); |
|
184 | - |
|
185 | - /** |
|
186 | - * get owner UID |
|
187 | - * |
|
188 | - * @return string |
|
189 | - * |
|
190 | - * @since 14.0.0 |
|
191 | - */ |
|
192 | - public function getOwner(); |
|
193 | - |
|
194 | - /** |
|
195 | - * get owner display name |
|
196 | - * |
|
197 | - * @return string |
|
198 | - * |
|
199 | - * @since 14.0.0 |
|
200 | - */ |
|
201 | - public function getOwnerDisplayName(); |
|
202 | - |
|
203 | - /** |
|
204 | - * get UID of the user who sends the share |
|
205 | - * |
|
206 | - * @return string |
|
207 | - * |
|
208 | - * @since 14.0.0 |
|
209 | - */ |
|
210 | - public function getSharedBy(); |
|
211 | - |
|
212 | - /** |
|
213 | - * get display name of the user who sends the share |
|
214 | - * |
|
215 | - * @return string |
|
216 | - * |
|
217 | - * @since 14.0.0 |
|
218 | - */ |
|
219 | - public function getSharedByDisplayName(); |
|
220 | - |
|
221 | - /** |
|
222 | - * get share type (group or user) |
|
223 | - * |
|
224 | - * @return string |
|
225 | - * |
|
226 | - * @since 14.0.0 |
|
227 | - */ |
|
228 | - public function getShareType(); |
|
229 | - |
|
230 | - /** |
|
231 | - * get share Secret |
|
232 | - * |
|
233 | - * @return string |
|
234 | - * |
|
235 | - * @since 14.0.0 |
|
236 | - */ |
|
237 | - public function getShareSecret(); |
|
238 | - |
|
239 | - |
|
240 | - /** |
|
241 | - * get protocol specification |
|
242 | - * |
|
243 | - * @return array |
|
244 | - * |
|
245 | - * @since 14.0.0 |
|
246 | - */ |
|
247 | - public function getProtocol(); |
|
32 | + /** |
|
33 | + * set uid of the recipient |
|
34 | + * |
|
35 | + * @param string $user |
|
36 | + * |
|
37 | + * @since 14.0.0 |
|
38 | + */ |
|
39 | + public function setShareWith($user); |
|
40 | + |
|
41 | + /** |
|
42 | + * set resource name (e.g. file, calendar, contact,...) |
|
43 | + * |
|
44 | + * @param string $name |
|
45 | + * |
|
46 | + * @since 14.0.0 |
|
47 | + */ |
|
48 | + public function setResourceName($name); |
|
49 | + |
|
50 | + /** |
|
51 | + * set resource type (e.g. file, calendar, contact,...) |
|
52 | + * |
|
53 | + * @param string $resourceType |
|
54 | + * |
|
55 | + * @since 14.0.0 |
|
56 | + */ |
|
57 | + public function setResourceType($resourceType); |
|
58 | + |
|
59 | + /** |
|
60 | + * set resource description (optional) |
|
61 | + * |
|
62 | + * @param string $description |
|
63 | + * |
|
64 | + * @since 14.0.0 |
|
65 | + */ |
|
66 | + public function setDescription($description); |
|
67 | + |
|
68 | + /** |
|
69 | + * set provider ID (e.g. file ID) |
|
70 | + * |
|
71 | + * @param string $providerId |
|
72 | + * |
|
73 | + * @since 14.0.0 |
|
74 | + */ |
|
75 | + public function setProviderId($providerId); |
|
76 | + |
|
77 | + /** |
|
78 | + * set owner UID |
|
79 | + * |
|
80 | + * @param string $owner |
|
81 | + * |
|
82 | + * @since 14.0.0 |
|
83 | + */ |
|
84 | + public function setOwner($owner); |
|
85 | + |
|
86 | + /** |
|
87 | + * set owner display name |
|
88 | + * |
|
89 | + * @param string $ownerDisplayName |
|
90 | + * |
|
91 | + * @since 14.0.0 |
|
92 | + */ |
|
93 | + public function setOwnerDisplayName($ownerDisplayName); |
|
94 | + |
|
95 | + /** |
|
96 | + * set UID of the user who sends the share |
|
97 | + * |
|
98 | + * @param string $sharedBy |
|
99 | + * |
|
100 | + * @since 14.0.0 |
|
101 | + */ |
|
102 | + public function setSharedBy($sharedBy); |
|
103 | + |
|
104 | + /** |
|
105 | + * set display name of the user who sends the share |
|
106 | + * |
|
107 | + * @param $sharedByDisplayName |
|
108 | + * |
|
109 | + * @since 14.0.0 |
|
110 | + */ |
|
111 | + public function setSharedByDisplayName($sharedByDisplayName); |
|
112 | + |
|
113 | + /** |
|
114 | + * set protocol specification |
|
115 | + * |
|
116 | + * @param array $protocol |
|
117 | + * |
|
118 | + * @since 14.0.0 |
|
119 | + */ |
|
120 | + public function setProtocol(array $protocol); |
|
121 | + |
|
122 | + /** |
|
123 | + * share type (group or user) |
|
124 | + * |
|
125 | + * @param string $shareType |
|
126 | + * |
|
127 | + * @since 14.0.0 |
|
128 | + */ |
|
129 | + public function setShareType($shareType); |
|
130 | + |
|
131 | + /** |
|
132 | + * get the whole share, ready to send out |
|
133 | + * |
|
134 | + * @return array |
|
135 | + * |
|
136 | + * @since 14.0.0 |
|
137 | + */ |
|
138 | + public function getShare(); |
|
139 | + |
|
140 | + /** |
|
141 | + * get uid of the recipient |
|
142 | + * |
|
143 | + * @return string |
|
144 | + * |
|
145 | + * @since 14.0.0 |
|
146 | + */ |
|
147 | + public function getShareWith(); |
|
148 | + |
|
149 | + /** |
|
150 | + * get resource name (e.g. file, calendar, contact,...) |
|
151 | + * |
|
152 | + * @return string |
|
153 | + * |
|
154 | + * @since 14.0.0 |
|
155 | + */ |
|
156 | + public function getResourceName(); |
|
157 | + |
|
158 | + /** |
|
159 | + * get resource type (e.g. file, calendar, contact,...) |
|
160 | + * |
|
161 | + * @return string |
|
162 | + * |
|
163 | + * @since 14.0.0 |
|
164 | + */ |
|
165 | + public function getResourceType(); |
|
166 | + |
|
167 | + /** |
|
168 | + * get resource description (optional) |
|
169 | + * |
|
170 | + * @return string |
|
171 | + * |
|
172 | + * @since 14.0.0 |
|
173 | + */ |
|
174 | + public function getDescription(); |
|
175 | + |
|
176 | + /** |
|
177 | + * get provider ID (e.g. file ID) |
|
178 | + * |
|
179 | + * @return string |
|
180 | + * |
|
181 | + * @since 14.0.0 |
|
182 | + */ |
|
183 | + public function getProviderId(); |
|
184 | + |
|
185 | + /** |
|
186 | + * get owner UID |
|
187 | + * |
|
188 | + * @return string |
|
189 | + * |
|
190 | + * @since 14.0.0 |
|
191 | + */ |
|
192 | + public function getOwner(); |
|
193 | + |
|
194 | + /** |
|
195 | + * get owner display name |
|
196 | + * |
|
197 | + * @return string |
|
198 | + * |
|
199 | + * @since 14.0.0 |
|
200 | + */ |
|
201 | + public function getOwnerDisplayName(); |
|
202 | + |
|
203 | + /** |
|
204 | + * get UID of the user who sends the share |
|
205 | + * |
|
206 | + * @return string |
|
207 | + * |
|
208 | + * @since 14.0.0 |
|
209 | + */ |
|
210 | + public function getSharedBy(); |
|
211 | + |
|
212 | + /** |
|
213 | + * get display name of the user who sends the share |
|
214 | + * |
|
215 | + * @return string |
|
216 | + * |
|
217 | + * @since 14.0.0 |
|
218 | + */ |
|
219 | + public function getSharedByDisplayName(); |
|
220 | + |
|
221 | + /** |
|
222 | + * get share type (group or user) |
|
223 | + * |
|
224 | + * @return string |
|
225 | + * |
|
226 | + * @since 14.0.0 |
|
227 | + */ |
|
228 | + public function getShareType(); |
|
229 | + |
|
230 | + /** |
|
231 | + * get share Secret |
|
232 | + * |
|
233 | + * @return string |
|
234 | + * |
|
235 | + * @since 14.0.0 |
|
236 | + */ |
|
237 | + public function getShareSecret(); |
|
238 | + |
|
239 | + |
|
240 | + /** |
|
241 | + * get protocol specification |
|
242 | + * |
|
243 | + * @return array |
|
244 | + * |
|
245 | + * @since 14.0.0 |
|
246 | + */ |
|
247 | + public function getProtocol(); |
|
248 | 248 | } |