@@ -43,35 +43,35 @@ |
||
| 43 | 43 | */ |
| 44 | 44 | interface IAppContainer extends ContainerInterface, IContainer { |
| 45 | 45 | |
| 46 | - /** |
|
| 47 | - * used to return the appname of the set application |
|
| 48 | - * @return string the name of your application |
|
| 49 | - * @since 6.0.0 |
|
| 50 | - * @deprecated 20.0.0 |
|
| 51 | - */ |
|
| 52 | - public function getAppName(); |
|
| 46 | + /** |
|
| 47 | + * used to return the appname of the set application |
|
| 48 | + * @return string the name of your application |
|
| 49 | + * @since 6.0.0 |
|
| 50 | + * @deprecated 20.0.0 |
|
| 51 | + */ |
|
| 52 | + public function getAppName(); |
|
| 53 | 53 | |
| 54 | - /** |
|
| 55 | - * @return \OCP\IServerContainer |
|
| 56 | - * @since 6.0.0 |
|
| 57 | - * @deprecated 20.0.0 |
|
| 58 | - */ |
|
| 59 | - public function getServer(); |
|
| 54 | + /** |
|
| 55 | + * @return \OCP\IServerContainer |
|
| 56 | + * @since 6.0.0 |
|
| 57 | + * @deprecated 20.0.0 |
|
| 58 | + */ |
|
| 59 | + public function getServer(); |
|
| 60 | 60 | |
| 61 | - /** |
|
| 62 | - * @param string $middleWare |
|
| 63 | - * @return boolean |
|
| 64 | - * @since 6.0.0 |
|
| 65 | - * @deprecated 20.0.0 use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerMiddleware |
|
| 66 | - */ |
|
| 67 | - public function registerMiddleWare($middleWare); |
|
| 61 | + /** |
|
| 62 | + * @param string $middleWare |
|
| 63 | + * @return boolean |
|
| 64 | + * @since 6.0.0 |
|
| 65 | + * @deprecated 20.0.0 use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerMiddleware |
|
| 66 | + */ |
|
| 67 | + public function registerMiddleWare($middleWare); |
|
| 68 | 68 | |
| 69 | - /** |
|
| 70 | - * Register a capability |
|
| 71 | - * |
|
| 72 | - * @param string $serviceName e.g. 'OCA\Files\Capabilities' |
|
| 73 | - * @since 8.2.0 |
|
| 74 | - * @deprecated 20.0.0 use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCapability |
|
| 75 | - */ |
|
| 76 | - public function registerCapability($serviceName); |
|
| 69 | + /** |
|
| 70 | + * Register a capability |
|
| 71 | + * |
|
| 72 | + * @param string $serviceName e.g. 'OCA\Files\Capabilities' |
|
| 73 | + * @since 8.2.0 |
|
| 74 | + * @deprecated 20.0.0 use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCapability |
|
| 75 | + */ |
|
| 76 | + public function registerCapability($serviceName); |
|
| 77 | 77 | } |
@@ -60,593 +60,593 @@ |
||
| 60 | 60 | */ |
| 61 | 61 | interface IServerContainer extends ContainerInterface, IContainer { |
| 62 | 62 | |
| 63 | - /** |
|
| 64 | - * The calendar manager will act as a broker between consumers for calendar information and |
|
| 65 | - * providers which actual deliver the calendar information. |
|
| 66 | - * |
|
| 67 | - * @return \OCP\Calendar\IManager |
|
| 68 | - * @since 13.0.0 |
|
| 69 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 70 | - */ |
|
| 71 | - public function getCalendarManager(); |
|
| 72 | - |
|
| 73 | - /** |
|
| 74 | - * The calendar resource backend manager will act as a broker between consumers |
|
| 75 | - * for calendar resource information an providers which actual deliver the room information. |
|
| 76 | - * |
|
| 77 | - * @return \OCP\Calendar\Resource\IBackend |
|
| 78 | - * @since 14.0.0 |
|
| 79 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 80 | - */ |
|
| 81 | - public function getCalendarResourceBackendManager(); |
|
| 82 | - |
|
| 83 | - /** |
|
| 84 | - * The calendar room backend manager will act as a broker between consumers |
|
| 85 | - * for calendar room information an providers which actual deliver the room information. |
|
| 86 | - * |
|
| 87 | - * @return \OCP\Calendar\Room\IBackend |
|
| 88 | - * @since 14.0.0 |
|
| 89 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 90 | - */ |
|
| 91 | - public function getCalendarRoomBackendManager(); |
|
| 92 | - |
|
| 93 | - /** |
|
| 94 | - * The contacts manager will act as a broker between consumers for contacts information and |
|
| 95 | - * providers which actual deliver the contact information. |
|
| 96 | - * |
|
| 97 | - * @return \OCP\Contacts\IManager |
|
| 98 | - * @since 6.0.0 |
|
| 99 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 100 | - */ |
|
| 101 | - public function getContactsManager(); |
|
| 102 | - |
|
| 103 | - /** |
|
| 104 | - * The current request object holding all information about the request currently being processed |
|
| 105 | - * is returned from this method. |
|
| 106 | - * In case the current execution was not initiated by a web request null is returned |
|
| 107 | - * |
|
| 108 | - * @return \OCP\IRequest |
|
| 109 | - * @since 6.0.0 |
|
| 110 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 111 | - */ |
|
| 112 | - public function getRequest(); |
|
| 113 | - |
|
| 114 | - /** |
|
| 115 | - * Returns the preview manager which can create preview images for a given file |
|
| 116 | - * |
|
| 117 | - * @return \OCP\IPreview |
|
| 118 | - * @since 6.0.0 |
|
| 119 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 120 | - */ |
|
| 121 | - public function getPreviewManager(); |
|
| 122 | - |
|
| 123 | - /** |
|
| 124 | - * Returns the tag manager which can get and set tags for different object types |
|
| 125 | - * |
|
| 126 | - * @see \OCP\ITagManager::load() |
|
| 127 | - * @return \OCP\ITagManager |
|
| 128 | - * @since 6.0.0 |
|
| 129 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 130 | - */ |
|
| 131 | - public function getTagManager(); |
|
| 132 | - |
|
| 133 | - /** |
|
| 134 | - * Returns the root folder of ownCloud's data directory |
|
| 135 | - * |
|
| 136 | - * @return \OCP\Files\IRootFolder |
|
| 137 | - * @since 6.0.0 - between 6.0.0 and 8.0.0 this returned \OCP\Files\Folder |
|
| 138 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 139 | - */ |
|
| 140 | - public function getRootFolder(); |
|
| 141 | - |
|
| 142 | - /** |
|
| 143 | - * Returns a view to ownCloud's files folder |
|
| 144 | - * |
|
| 145 | - * @param string $userId user ID |
|
| 146 | - * @return \OCP\Files\Folder |
|
| 147 | - * @since 6.0.0 - parameter $userId was added in 8.0.0 |
|
| 148 | - * @see getUserFolder in \OCP\Files\IRootFolder |
|
| 149 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 150 | - */ |
|
| 151 | - public function getUserFolder($userId = null); |
|
| 152 | - |
|
| 153 | - /** |
|
| 154 | - * Returns a user manager |
|
| 155 | - * |
|
| 156 | - * @return \OCP\IUserManager |
|
| 157 | - * @since 8.0.0 |
|
| 158 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 159 | - */ |
|
| 160 | - public function getUserManager(); |
|
| 161 | - |
|
| 162 | - /** |
|
| 163 | - * Returns a group manager |
|
| 164 | - * |
|
| 165 | - * @return \OCP\IGroupManager |
|
| 166 | - * @since 8.0.0 |
|
| 167 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 168 | - */ |
|
| 169 | - public function getGroupManager(); |
|
| 170 | - |
|
| 171 | - /** |
|
| 172 | - * Returns the user session |
|
| 173 | - * |
|
| 174 | - * @return \OCP\IUserSession |
|
| 175 | - * @since 6.0.0 |
|
| 176 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 177 | - */ |
|
| 178 | - public function getUserSession(); |
|
| 179 | - |
|
| 180 | - /** |
|
| 181 | - * Returns the navigation manager |
|
| 182 | - * |
|
| 183 | - * @return \OCP\INavigationManager |
|
| 184 | - * @since 6.0.0 |
|
| 185 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 186 | - */ |
|
| 187 | - public function getNavigationManager(); |
|
| 188 | - |
|
| 189 | - /** |
|
| 190 | - * Returns the config manager |
|
| 191 | - * |
|
| 192 | - * @return \OCP\IConfig |
|
| 193 | - * @since 6.0.0 |
|
| 194 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 195 | - */ |
|
| 196 | - public function getConfig(); |
|
| 197 | - |
|
| 198 | - /** |
|
| 199 | - * Returns a Crypto instance |
|
| 200 | - * |
|
| 201 | - * @return \OCP\Security\ICrypto |
|
| 202 | - * @since 8.0.0 |
|
| 203 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 204 | - */ |
|
| 205 | - public function getCrypto(); |
|
| 206 | - |
|
| 207 | - /** |
|
| 208 | - * Returns a Hasher instance |
|
| 209 | - * |
|
| 210 | - * @return \OCP\Security\IHasher |
|
| 211 | - * @since 8.0.0 |
|
| 212 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 213 | - */ |
|
| 214 | - public function getHasher(); |
|
| 215 | - |
|
| 216 | - /** |
|
| 217 | - * Returns a SecureRandom instance |
|
| 218 | - * |
|
| 219 | - * @return \OCP\Security\ISecureRandom |
|
| 220 | - * @since 8.1.0 |
|
| 221 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 222 | - */ |
|
| 223 | - public function getSecureRandom(); |
|
| 224 | - |
|
| 225 | - /** |
|
| 226 | - * Returns a CredentialsManager instance |
|
| 227 | - * |
|
| 228 | - * @return \OCP\Security\ICredentialsManager |
|
| 229 | - * @since 9.0.0 |
|
| 230 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 231 | - */ |
|
| 232 | - public function getCredentialsManager(); |
|
| 233 | - |
|
| 234 | - /** |
|
| 235 | - * Returns the app config manager |
|
| 236 | - * |
|
| 237 | - * @return \OCP\IAppConfig |
|
| 238 | - * @since 7.0.0 |
|
| 239 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 240 | - */ |
|
| 241 | - public function getAppConfig(); |
|
| 242 | - |
|
| 243 | - /** |
|
| 244 | - * @return \OCP\L10N\IFactory |
|
| 245 | - * @since 8.2.0 |
|
| 246 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 247 | - */ |
|
| 248 | - public function getL10NFactory(); |
|
| 249 | - |
|
| 250 | - /** |
|
| 251 | - * get an L10N instance |
|
| 252 | - * @param string $app appid |
|
| 253 | - * @param string $lang |
|
| 254 | - * @return \OCP\IL10N |
|
| 255 | - * @since 6.0.0 - parameter $lang was added in 8.0.0 |
|
| 256 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 257 | - */ |
|
| 258 | - public function getL10N($app, $lang = null); |
|
| 259 | - |
|
| 260 | - /** |
|
| 261 | - * @return \OC\Encryption\Manager |
|
| 262 | - * @since 8.1.0 |
|
| 263 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 264 | - */ |
|
| 265 | - public function getEncryptionManager(); |
|
| 266 | - |
|
| 267 | - /** |
|
| 268 | - * @return \OC\Encryption\File |
|
| 269 | - * @since 8.1.0 |
|
| 270 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 271 | - */ |
|
| 272 | - public function getEncryptionFilesHelper(); |
|
| 273 | - |
|
| 274 | - /** |
|
| 275 | - * @return \OCP\Encryption\Keys\IStorage |
|
| 276 | - * @since 8.1.0 |
|
| 277 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 278 | - */ |
|
| 279 | - public function getEncryptionKeyStorage(); |
|
| 280 | - |
|
| 281 | - /** |
|
| 282 | - * Returns the URL generator |
|
| 283 | - * |
|
| 284 | - * @return \OCP\IURLGenerator |
|
| 285 | - * @since 6.0.0 |
|
| 286 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 287 | - */ |
|
| 288 | - public function getURLGenerator(); |
|
| 289 | - |
|
| 290 | - /** |
|
| 291 | - * Returns an ICache instance |
|
| 292 | - * |
|
| 293 | - * @return \OCP\ICache |
|
| 294 | - * @since 6.0.0 |
|
| 295 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 296 | - */ |
|
| 297 | - public function getCache(); |
|
| 298 | - |
|
| 299 | - /** |
|
| 300 | - * Returns an \OCP\CacheFactory instance |
|
| 301 | - * |
|
| 302 | - * @return \OCP\ICacheFactory |
|
| 303 | - * @since 7.0.0 |
|
| 304 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 305 | - */ |
|
| 306 | - public function getMemCacheFactory(); |
|
| 307 | - |
|
| 308 | - /** |
|
| 309 | - * Returns the current session |
|
| 310 | - * |
|
| 311 | - * @return \OCP\ISession |
|
| 312 | - * @since 6.0.0 |
|
| 313 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 314 | - */ |
|
| 315 | - public function getSession(); |
|
| 316 | - |
|
| 317 | - /** |
|
| 318 | - * Returns the activity manager |
|
| 319 | - * |
|
| 320 | - * @return \OCP\Activity\IManager |
|
| 321 | - * @since 6.0.0 |
|
| 322 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 323 | - */ |
|
| 324 | - public function getActivityManager(); |
|
| 325 | - |
|
| 326 | - /** |
|
| 327 | - * Returns the current session |
|
| 328 | - * |
|
| 329 | - * @return \OCP\IDBConnection |
|
| 330 | - * @since 6.0.0 |
|
| 331 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 332 | - */ |
|
| 333 | - public function getDatabaseConnection(); |
|
| 334 | - |
|
| 335 | - /** |
|
| 336 | - * Returns an avatar manager, used for avatar functionality |
|
| 337 | - * |
|
| 338 | - * @return \OCP\IAvatarManager |
|
| 339 | - * @since 6.0.0 |
|
| 340 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 341 | - */ |
|
| 342 | - public function getAvatarManager(); |
|
| 343 | - |
|
| 344 | - /** |
|
| 345 | - * Returns an job list for controlling background jobs |
|
| 346 | - * |
|
| 347 | - * @return \OCP\BackgroundJob\IJobList |
|
| 348 | - * @since 7.0.0 |
|
| 349 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 350 | - */ |
|
| 351 | - public function getJobList(); |
|
| 352 | - |
|
| 353 | - /** |
|
| 354 | - * Returns a logger instance |
|
| 355 | - * |
|
| 356 | - * @return \OCP\ILogger |
|
| 357 | - * @since 8.0.0 |
|
| 358 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 359 | - */ |
|
| 360 | - public function getLogger(); |
|
| 361 | - |
|
| 362 | - /** |
|
| 363 | - * returns a log factory instance |
|
| 364 | - * |
|
| 365 | - * @return ILogFactory |
|
| 366 | - * @since 14.0.0 |
|
| 367 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 368 | - */ |
|
| 369 | - public function getLogFactory(); |
|
| 370 | - |
|
| 371 | - /** |
|
| 372 | - * Returns a router for generating and matching urls |
|
| 373 | - * |
|
| 374 | - * @return \OCP\Route\IRouter |
|
| 375 | - * @since 7.0.0 |
|
| 376 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 377 | - */ |
|
| 378 | - public function getRouter(); |
|
| 379 | - |
|
| 380 | - /** |
|
| 381 | - * Returns a search instance |
|
| 382 | - * |
|
| 383 | - * @return \OCP\ISearch |
|
| 384 | - * @since 7.0.0 |
|
| 385 | - * @deprecated 20.0.0 |
|
| 386 | - */ |
|
| 387 | - public function getSearch(); |
|
| 388 | - |
|
| 389 | - /** |
|
| 390 | - * Get the certificate manager for the user |
|
| 391 | - * |
|
| 392 | - * @param string $userId (optional) if not specified the current loggedin user is used, use null to get the system certificate manager |
|
| 393 | - * @return \OCP\ICertificateManager | null if $userId is null and no user is logged in |
|
| 394 | - * @since 8.0.0 |
|
| 395 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 396 | - */ |
|
| 397 | - public function getCertificateManager($userId = null); |
|
| 398 | - |
|
| 399 | - /** |
|
| 400 | - * Create a new event source |
|
| 401 | - * |
|
| 402 | - * @return \OCP\IEventSource |
|
| 403 | - * @since 8.0.0 |
|
| 404 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 405 | - */ |
|
| 406 | - public function createEventSource(); |
|
| 407 | - |
|
| 408 | - /** |
|
| 409 | - * Returns an instance of the HTTP client service |
|
| 410 | - * |
|
| 411 | - * @return \OCP\Http\Client\IClientService |
|
| 412 | - * @since 8.1.0 |
|
| 413 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 414 | - */ |
|
| 415 | - public function getHTTPClientService(); |
|
| 416 | - |
|
| 417 | - /** |
|
| 418 | - * Get the active event logger |
|
| 419 | - * |
|
| 420 | - * @return \OCP\Diagnostics\IEventLogger |
|
| 421 | - * @since 8.0.0 |
|
| 422 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 423 | - */ |
|
| 424 | - public function getEventLogger(); |
|
| 425 | - |
|
| 426 | - /** |
|
| 427 | - * Get the active query logger |
|
| 428 | - * |
|
| 429 | - * The returned logger only logs data when debug mode is enabled |
|
| 430 | - * |
|
| 431 | - * @return \OCP\Diagnostics\IQueryLogger |
|
| 432 | - * @since 8.0.0 |
|
| 433 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 434 | - */ |
|
| 435 | - public function getQueryLogger(); |
|
| 436 | - |
|
| 437 | - /** |
|
| 438 | - * Get the manager for temporary files and folders |
|
| 439 | - * |
|
| 440 | - * @return \OCP\ITempManager |
|
| 441 | - * @since 8.0.0 |
|
| 442 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 443 | - */ |
|
| 444 | - public function getTempManager(); |
|
| 445 | - |
|
| 446 | - /** |
|
| 447 | - * Get the app manager |
|
| 448 | - * |
|
| 449 | - * @return \OCP\App\IAppManager |
|
| 450 | - * @since 8.0.0 |
|
| 451 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 452 | - */ |
|
| 453 | - public function getAppManager(); |
|
| 454 | - |
|
| 455 | - /** |
|
| 456 | - * Get the webroot |
|
| 457 | - * |
|
| 458 | - * @return string |
|
| 459 | - * @since 8.0.0 |
|
| 460 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 461 | - */ |
|
| 462 | - public function getWebRoot(); |
|
| 463 | - |
|
| 464 | - /** |
|
| 465 | - * @return \OCP\Files\Config\IMountProviderCollection |
|
| 466 | - * @since 8.0.0 |
|
| 467 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 468 | - */ |
|
| 469 | - public function getMountProviderCollection(); |
|
| 470 | - |
|
| 471 | - /** |
|
| 472 | - * Get the IniWrapper |
|
| 473 | - * |
|
| 474 | - * @return \bantu\IniGetWrapper\IniGetWrapper |
|
| 475 | - * @since 8.0.0 |
|
| 476 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 477 | - */ |
|
| 478 | - public function getIniWrapper(); |
|
| 479 | - /** |
|
| 480 | - * @return \OCP\Command\IBus |
|
| 481 | - * @since 8.1.0 |
|
| 482 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 483 | - */ |
|
| 484 | - public function getCommandBus(); |
|
| 485 | - |
|
| 486 | - /** |
|
| 487 | - * Creates a new mailer |
|
| 488 | - * |
|
| 489 | - * @return \OCP\Mail\IMailer |
|
| 490 | - * @since 8.1.0 |
|
| 491 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 492 | - */ |
|
| 493 | - public function getMailer(); |
|
| 494 | - |
|
| 495 | - /** |
|
| 496 | - * Get the locking provider |
|
| 497 | - * |
|
| 498 | - * @return \OCP\Lock\ILockingProvider |
|
| 499 | - * @since 8.1.0 |
|
| 500 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 501 | - */ |
|
| 502 | - public function getLockingProvider(); |
|
| 503 | - |
|
| 504 | - /** |
|
| 505 | - * @return \OCP\Files\Mount\IMountManager |
|
| 506 | - * @since 8.2.0 |
|
| 507 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 508 | - */ |
|
| 509 | - public function getMountManager(); |
|
| 510 | - |
|
| 511 | - /** |
|
| 512 | - * Get the MimeTypeDetector |
|
| 513 | - * |
|
| 514 | - * @return \OCP\Files\IMimeTypeDetector |
|
| 515 | - * @since 8.2.0 |
|
| 516 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 517 | - */ |
|
| 518 | - public function getMimeTypeDetector(); |
|
| 519 | - |
|
| 520 | - /** |
|
| 521 | - * Get the MimeTypeLoader |
|
| 522 | - * |
|
| 523 | - * @return \OCP\Files\IMimeTypeLoader |
|
| 524 | - * @since 8.2.0 |
|
| 525 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 526 | - */ |
|
| 527 | - public function getMimeTypeLoader(); |
|
| 528 | - |
|
| 529 | - /** |
|
| 530 | - * Get the EventDispatcher |
|
| 531 | - * |
|
| 532 | - * @return EventDispatcherInterface |
|
| 533 | - * @deprecated 20.0.0 use \OCP\EventDispatcher\IEventDispatcher |
|
| 534 | - * @since 8.2.0 |
|
| 535 | - */ |
|
| 536 | - public function getEventDispatcher(); |
|
| 537 | - |
|
| 538 | - /** |
|
| 539 | - * Get the Notification Manager |
|
| 540 | - * |
|
| 541 | - * @return \OCP\Notification\IManager |
|
| 542 | - * @since 9.0.0 |
|
| 543 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 544 | - */ |
|
| 545 | - public function getNotificationManager(); |
|
| 546 | - |
|
| 547 | - /** |
|
| 548 | - * @return \OCP\Comments\ICommentsManager |
|
| 549 | - * @since 9.0.0 |
|
| 550 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 551 | - */ |
|
| 552 | - public function getCommentsManager(); |
|
| 553 | - |
|
| 554 | - /** |
|
| 555 | - * Returns the system-tag manager |
|
| 556 | - * |
|
| 557 | - * @return \OCP\SystemTag\ISystemTagManager |
|
| 558 | - * |
|
| 559 | - * @since 9.0.0 |
|
| 560 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 561 | - */ |
|
| 562 | - public function getSystemTagManager(); |
|
| 563 | - |
|
| 564 | - /** |
|
| 565 | - * Returns the system-tag object mapper |
|
| 566 | - * |
|
| 567 | - * @return \OCP\SystemTag\ISystemTagObjectMapper |
|
| 568 | - * |
|
| 569 | - * @since 9.0.0 |
|
| 570 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 571 | - */ |
|
| 572 | - public function getSystemTagObjectMapper(); |
|
| 573 | - |
|
| 574 | - /** |
|
| 575 | - * Returns the share manager |
|
| 576 | - * |
|
| 577 | - * @return \OCP\Share\IManager |
|
| 578 | - * @since 9.0.0 |
|
| 579 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 580 | - */ |
|
| 581 | - public function getShareManager(); |
|
| 582 | - |
|
| 583 | - /** |
|
| 584 | - * @return IContentSecurityPolicyManager |
|
| 585 | - * @since 9.0.0 |
|
| 586 | - * @deprecated 17.0.0 Use the AddContentSecurityPolicyEvent |
|
| 587 | - */ |
|
| 588 | - public function getContentSecurityPolicyManager(); |
|
| 589 | - |
|
| 590 | - /** |
|
| 591 | - * @return \OCP\IDateTimeZone |
|
| 592 | - * @since 8.0.0 |
|
| 593 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 594 | - */ |
|
| 595 | - public function getDateTimeZone(); |
|
| 596 | - |
|
| 597 | - /** |
|
| 598 | - * @return \OCP\IDateTimeFormatter |
|
| 599 | - * @since 8.0.0 |
|
| 600 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 601 | - */ |
|
| 602 | - public function getDateTimeFormatter(); |
|
| 603 | - |
|
| 604 | - /** |
|
| 605 | - * @return \OCP\Federation\ICloudIdManager |
|
| 606 | - * @since 12.0.0 |
|
| 607 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 608 | - */ |
|
| 609 | - public function getCloudIdManager(); |
|
| 610 | - |
|
| 611 | - /** |
|
| 612 | - * @return \OCP\GlobalScale\IConfig |
|
| 613 | - * @since 14.0.0 |
|
| 614 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 615 | - */ |
|
| 616 | - public function getGlobalScaleConfig(); |
|
| 617 | - |
|
| 618 | - /** |
|
| 619 | - * @return ICloudFederationFactory |
|
| 620 | - * @since 14.0.0 |
|
| 621 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 622 | - */ |
|
| 623 | - public function getCloudFederationFactory(); |
|
| 624 | - |
|
| 625 | - /** |
|
| 626 | - * @return ICloudFederationProviderManager |
|
| 627 | - * @since 14.0.0 |
|
| 628 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 629 | - */ |
|
| 630 | - public function getCloudFederationProviderManager(); |
|
| 631 | - |
|
| 632 | - /** |
|
| 633 | - * @return \OCP\Remote\Api\IApiFactory |
|
| 634 | - * @since 13.0.0 |
|
| 635 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 636 | - */ |
|
| 637 | - public function getRemoteApiFactory(); |
|
| 638 | - |
|
| 639 | - /** |
|
| 640 | - * @return \OCP\Remote\IInstanceFactory |
|
| 641 | - * @since 13.0.0 |
|
| 642 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 643 | - */ |
|
| 644 | - public function getRemoteInstanceFactory(); |
|
| 645 | - |
|
| 646 | - /** |
|
| 647 | - * @return \OCP\Files\Storage\IStorageFactory |
|
| 648 | - * @since 15.0.0 |
|
| 649 | - * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 650 | - */ |
|
| 651 | - public function getStorageFactory(); |
|
| 63 | + /** |
|
| 64 | + * The calendar manager will act as a broker between consumers for calendar information and |
|
| 65 | + * providers which actual deliver the calendar information. |
|
| 66 | + * |
|
| 67 | + * @return \OCP\Calendar\IManager |
|
| 68 | + * @since 13.0.0 |
|
| 69 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 70 | + */ |
|
| 71 | + public function getCalendarManager(); |
|
| 72 | + |
|
| 73 | + /** |
|
| 74 | + * The calendar resource backend manager will act as a broker between consumers |
|
| 75 | + * for calendar resource information an providers which actual deliver the room information. |
|
| 76 | + * |
|
| 77 | + * @return \OCP\Calendar\Resource\IBackend |
|
| 78 | + * @since 14.0.0 |
|
| 79 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 80 | + */ |
|
| 81 | + public function getCalendarResourceBackendManager(); |
|
| 82 | + |
|
| 83 | + /** |
|
| 84 | + * The calendar room backend manager will act as a broker between consumers |
|
| 85 | + * for calendar room information an providers which actual deliver the room information. |
|
| 86 | + * |
|
| 87 | + * @return \OCP\Calendar\Room\IBackend |
|
| 88 | + * @since 14.0.0 |
|
| 89 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 90 | + */ |
|
| 91 | + public function getCalendarRoomBackendManager(); |
|
| 92 | + |
|
| 93 | + /** |
|
| 94 | + * The contacts manager will act as a broker between consumers for contacts information and |
|
| 95 | + * providers which actual deliver the contact information. |
|
| 96 | + * |
|
| 97 | + * @return \OCP\Contacts\IManager |
|
| 98 | + * @since 6.0.0 |
|
| 99 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 100 | + */ |
|
| 101 | + public function getContactsManager(); |
|
| 102 | + |
|
| 103 | + /** |
|
| 104 | + * The current request object holding all information about the request currently being processed |
|
| 105 | + * is returned from this method. |
|
| 106 | + * In case the current execution was not initiated by a web request null is returned |
|
| 107 | + * |
|
| 108 | + * @return \OCP\IRequest |
|
| 109 | + * @since 6.0.0 |
|
| 110 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 111 | + */ |
|
| 112 | + public function getRequest(); |
|
| 113 | + |
|
| 114 | + /** |
|
| 115 | + * Returns the preview manager which can create preview images for a given file |
|
| 116 | + * |
|
| 117 | + * @return \OCP\IPreview |
|
| 118 | + * @since 6.0.0 |
|
| 119 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 120 | + */ |
|
| 121 | + public function getPreviewManager(); |
|
| 122 | + |
|
| 123 | + /** |
|
| 124 | + * Returns the tag manager which can get and set tags for different object types |
|
| 125 | + * |
|
| 126 | + * @see \OCP\ITagManager::load() |
|
| 127 | + * @return \OCP\ITagManager |
|
| 128 | + * @since 6.0.0 |
|
| 129 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 130 | + */ |
|
| 131 | + public function getTagManager(); |
|
| 132 | + |
|
| 133 | + /** |
|
| 134 | + * Returns the root folder of ownCloud's data directory |
|
| 135 | + * |
|
| 136 | + * @return \OCP\Files\IRootFolder |
|
| 137 | + * @since 6.0.0 - between 6.0.0 and 8.0.0 this returned \OCP\Files\Folder |
|
| 138 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 139 | + */ |
|
| 140 | + public function getRootFolder(); |
|
| 141 | + |
|
| 142 | + /** |
|
| 143 | + * Returns a view to ownCloud's files folder |
|
| 144 | + * |
|
| 145 | + * @param string $userId user ID |
|
| 146 | + * @return \OCP\Files\Folder |
|
| 147 | + * @since 6.0.0 - parameter $userId was added in 8.0.0 |
|
| 148 | + * @see getUserFolder in \OCP\Files\IRootFolder |
|
| 149 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 150 | + */ |
|
| 151 | + public function getUserFolder($userId = null); |
|
| 152 | + |
|
| 153 | + /** |
|
| 154 | + * Returns a user manager |
|
| 155 | + * |
|
| 156 | + * @return \OCP\IUserManager |
|
| 157 | + * @since 8.0.0 |
|
| 158 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 159 | + */ |
|
| 160 | + public function getUserManager(); |
|
| 161 | + |
|
| 162 | + /** |
|
| 163 | + * Returns a group manager |
|
| 164 | + * |
|
| 165 | + * @return \OCP\IGroupManager |
|
| 166 | + * @since 8.0.0 |
|
| 167 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 168 | + */ |
|
| 169 | + public function getGroupManager(); |
|
| 170 | + |
|
| 171 | + /** |
|
| 172 | + * Returns the user session |
|
| 173 | + * |
|
| 174 | + * @return \OCP\IUserSession |
|
| 175 | + * @since 6.0.0 |
|
| 176 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 177 | + */ |
|
| 178 | + public function getUserSession(); |
|
| 179 | + |
|
| 180 | + /** |
|
| 181 | + * Returns the navigation manager |
|
| 182 | + * |
|
| 183 | + * @return \OCP\INavigationManager |
|
| 184 | + * @since 6.0.0 |
|
| 185 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 186 | + */ |
|
| 187 | + public function getNavigationManager(); |
|
| 188 | + |
|
| 189 | + /** |
|
| 190 | + * Returns the config manager |
|
| 191 | + * |
|
| 192 | + * @return \OCP\IConfig |
|
| 193 | + * @since 6.0.0 |
|
| 194 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 195 | + */ |
|
| 196 | + public function getConfig(); |
|
| 197 | + |
|
| 198 | + /** |
|
| 199 | + * Returns a Crypto instance |
|
| 200 | + * |
|
| 201 | + * @return \OCP\Security\ICrypto |
|
| 202 | + * @since 8.0.0 |
|
| 203 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 204 | + */ |
|
| 205 | + public function getCrypto(); |
|
| 206 | + |
|
| 207 | + /** |
|
| 208 | + * Returns a Hasher instance |
|
| 209 | + * |
|
| 210 | + * @return \OCP\Security\IHasher |
|
| 211 | + * @since 8.0.0 |
|
| 212 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 213 | + */ |
|
| 214 | + public function getHasher(); |
|
| 215 | + |
|
| 216 | + /** |
|
| 217 | + * Returns a SecureRandom instance |
|
| 218 | + * |
|
| 219 | + * @return \OCP\Security\ISecureRandom |
|
| 220 | + * @since 8.1.0 |
|
| 221 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 222 | + */ |
|
| 223 | + public function getSecureRandom(); |
|
| 224 | + |
|
| 225 | + /** |
|
| 226 | + * Returns a CredentialsManager instance |
|
| 227 | + * |
|
| 228 | + * @return \OCP\Security\ICredentialsManager |
|
| 229 | + * @since 9.0.0 |
|
| 230 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 231 | + */ |
|
| 232 | + public function getCredentialsManager(); |
|
| 233 | + |
|
| 234 | + /** |
|
| 235 | + * Returns the app config manager |
|
| 236 | + * |
|
| 237 | + * @return \OCP\IAppConfig |
|
| 238 | + * @since 7.0.0 |
|
| 239 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 240 | + */ |
|
| 241 | + public function getAppConfig(); |
|
| 242 | + |
|
| 243 | + /** |
|
| 244 | + * @return \OCP\L10N\IFactory |
|
| 245 | + * @since 8.2.0 |
|
| 246 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 247 | + */ |
|
| 248 | + public function getL10NFactory(); |
|
| 249 | + |
|
| 250 | + /** |
|
| 251 | + * get an L10N instance |
|
| 252 | + * @param string $app appid |
|
| 253 | + * @param string $lang |
|
| 254 | + * @return \OCP\IL10N |
|
| 255 | + * @since 6.0.0 - parameter $lang was added in 8.0.0 |
|
| 256 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 257 | + */ |
|
| 258 | + public function getL10N($app, $lang = null); |
|
| 259 | + |
|
| 260 | + /** |
|
| 261 | + * @return \OC\Encryption\Manager |
|
| 262 | + * @since 8.1.0 |
|
| 263 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 264 | + */ |
|
| 265 | + public function getEncryptionManager(); |
|
| 266 | + |
|
| 267 | + /** |
|
| 268 | + * @return \OC\Encryption\File |
|
| 269 | + * @since 8.1.0 |
|
| 270 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 271 | + */ |
|
| 272 | + public function getEncryptionFilesHelper(); |
|
| 273 | + |
|
| 274 | + /** |
|
| 275 | + * @return \OCP\Encryption\Keys\IStorage |
|
| 276 | + * @since 8.1.0 |
|
| 277 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 278 | + */ |
|
| 279 | + public function getEncryptionKeyStorage(); |
|
| 280 | + |
|
| 281 | + /** |
|
| 282 | + * Returns the URL generator |
|
| 283 | + * |
|
| 284 | + * @return \OCP\IURLGenerator |
|
| 285 | + * @since 6.0.0 |
|
| 286 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 287 | + */ |
|
| 288 | + public function getURLGenerator(); |
|
| 289 | + |
|
| 290 | + /** |
|
| 291 | + * Returns an ICache instance |
|
| 292 | + * |
|
| 293 | + * @return \OCP\ICache |
|
| 294 | + * @since 6.0.0 |
|
| 295 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 296 | + */ |
|
| 297 | + public function getCache(); |
|
| 298 | + |
|
| 299 | + /** |
|
| 300 | + * Returns an \OCP\CacheFactory instance |
|
| 301 | + * |
|
| 302 | + * @return \OCP\ICacheFactory |
|
| 303 | + * @since 7.0.0 |
|
| 304 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 305 | + */ |
|
| 306 | + public function getMemCacheFactory(); |
|
| 307 | + |
|
| 308 | + /** |
|
| 309 | + * Returns the current session |
|
| 310 | + * |
|
| 311 | + * @return \OCP\ISession |
|
| 312 | + * @since 6.0.0 |
|
| 313 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 314 | + */ |
|
| 315 | + public function getSession(); |
|
| 316 | + |
|
| 317 | + /** |
|
| 318 | + * Returns the activity manager |
|
| 319 | + * |
|
| 320 | + * @return \OCP\Activity\IManager |
|
| 321 | + * @since 6.0.0 |
|
| 322 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 323 | + */ |
|
| 324 | + public function getActivityManager(); |
|
| 325 | + |
|
| 326 | + /** |
|
| 327 | + * Returns the current session |
|
| 328 | + * |
|
| 329 | + * @return \OCP\IDBConnection |
|
| 330 | + * @since 6.0.0 |
|
| 331 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 332 | + */ |
|
| 333 | + public function getDatabaseConnection(); |
|
| 334 | + |
|
| 335 | + /** |
|
| 336 | + * Returns an avatar manager, used for avatar functionality |
|
| 337 | + * |
|
| 338 | + * @return \OCP\IAvatarManager |
|
| 339 | + * @since 6.0.0 |
|
| 340 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 341 | + */ |
|
| 342 | + public function getAvatarManager(); |
|
| 343 | + |
|
| 344 | + /** |
|
| 345 | + * Returns an job list for controlling background jobs |
|
| 346 | + * |
|
| 347 | + * @return \OCP\BackgroundJob\IJobList |
|
| 348 | + * @since 7.0.0 |
|
| 349 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 350 | + */ |
|
| 351 | + public function getJobList(); |
|
| 352 | + |
|
| 353 | + /** |
|
| 354 | + * Returns a logger instance |
|
| 355 | + * |
|
| 356 | + * @return \OCP\ILogger |
|
| 357 | + * @since 8.0.0 |
|
| 358 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 359 | + */ |
|
| 360 | + public function getLogger(); |
|
| 361 | + |
|
| 362 | + /** |
|
| 363 | + * returns a log factory instance |
|
| 364 | + * |
|
| 365 | + * @return ILogFactory |
|
| 366 | + * @since 14.0.0 |
|
| 367 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 368 | + */ |
|
| 369 | + public function getLogFactory(); |
|
| 370 | + |
|
| 371 | + /** |
|
| 372 | + * Returns a router for generating and matching urls |
|
| 373 | + * |
|
| 374 | + * @return \OCP\Route\IRouter |
|
| 375 | + * @since 7.0.0 |
|
| 376 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 377 | + */ |
|
| 378 | + public function getRouter(); |
|
| 379 | + |
|
| 380 | + /** |
|
| 381 | + * Returns a search instance |
|
| 382 | + * |
|
| 383 | + * @return \OCP\ISearch |
|
| 384 | + * @since 7.0.0 |
|
| 385 | + * @deprecated 20.0.0 |
|
| 386 | + */ |
|
| 387 | + public function getSearch(); |
|
| 388 | + |
|
| 389 | + /** |
|
| 390 | + * Get the certificate manager for the user |
|
| 391 | + * |
|
| 392 | + * @param string $userId (optional) if not specified the current loggedin user is used, use null to get the system certificate manager |
|
| 393 | + * @return \OCP\ICertificateManager | null if $userId is null and no user is logged in |
|
| 394 | + * @since 8.0.0 |
|
| 395 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 396 | + */ |
|
| 397 | + public function getCertificateManager($userId = null); |
|
| 398 | + |
|
| 399 | + /** |
|
| 400 | + * Create a new event source |
|
| 401 | + * |
|
| 402 | + * @return \OCP\IEventSource |
|
| 403 | + * @since 8.0.0 |
|
| 404 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 405 | + */ |
|
| 406 | + public function createEventSource(); |
|
| 407 | + |
|
| 408 | + /** |
|
| 409 | + * Returns an instance of the HTTP client service |
|
| 410 | + * |
|
| 411 | + * @return \OCP\Http\Client\IClientService |
|
| 412 | + * @since 8.1.0 |
|
| 413 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 414 | + */ |
|
| 415 | + public function getHTTPClientService(); |
|
| 416 | + |
|
| 417 | + /** |
|
| 418 | + * Get the active event logger |
|
| 419 | + * |
|
| 420 | + * @return \OCP\Diagnostics\IEventLogger |
|
| 421 | + * @since 8.0.0 |
|
| 422 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 423 | + */ |
|
| 424 | + public function getEventLogger(); |
|
| 425 | + |
|
| 426 | + /** |
|
| 427 | + * Get the active query logger |
|
| 428 | + * |
|
| 429 | + * The returned logger only logs data when debug mode is enabled |
|
| 430 | + * |
|
| 431 | + * @return \OCP\Diagnostics\IQueryLogger |
|
| 432 | + * @since 8.0.0 |
|
| 433 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 434 | + */ |
|
| 435 | + public function getQueryLogger(); |
|
| 436 | + |
|
| 437 | + /** |
|
| 438 | + * Get the manager for temporary files and folders |
|
| 439 | + * |
|
| 440 | + * @return \OCP\ITempManager |
|
| 441 | + * @since 8.0.0 |
|
| 442 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 443 | + */ |
|
| 444 | + public function getTempManager(); |
|
| 445 | + |
|
| 446 | + /** |
|
| 447 | + * Get the app manager |
|
| 448 | + * |
|
| 449 | + * @return \OCP\App\IAppManager |
|
| 450 | + * @since 8.0.0 |
|
| 451 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 452 | + */ |
|
| 453 | + public function getAppManager(); |
|
| 454 | + |
|
| 455 | + /** |
|
| 456 | + * Get the webroot |
|
| 457 | + * |
|
| 458 | + * @return string |
|
| 459 | + * @since 8.0.0 |
|
| 460 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 461 | + */ |
|
| 462 | + public function getWebRoot(); |
|
| 463 | + |
|
| 464 | + /** |
|
| 465 | + * @return \OCP\Files\Config\IMountProviderCollection |
|
| 466 | + * @since 8.0.0 |
|
| 467 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 468 | + */ |
|
| 469 | + public function getMountProviderCollection(); |
|
| 470 | + |
|
| 471 | + /** |
|
| 472 | + * Get the IniWrapper |
|
| 473 | + * |
|
| 474 | + * @return \bantu\IniGetWrapper\IniGetWrapper |
|
| 475 | + * @since 8.0.0 |
|
| 476 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 477 | + */ |
|
| 478 | + public function getIniWrapper(); |
|
| 479 | + /** |
|
| 480 | + * @return \OCP\Command\IBus |
|
| 481 | + * @since 8.1.0 |
|
| 482 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 483 | + */ |
|
| 484 | + public function getCommandBus(); |
|
| 485 | + |
|
| 486 | + /** |
|
| 487 | + * Creates a new mailer |
|
| 488 | + * |
|
| 489 | + * @return \OCP\Mail\IMailer |
|
| 490 | + * @since 8.1.0 |
|
| 491 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 492 | + */ |
|
| 493 | + public function getMailer(); |
|
| 494 | + |
|
| 495 | + /** |
|
| 496 | + * Get the locking provider |
|
| 497 | + * |
|
| 498 | + * @return \OCP\Lock\ILockingProvider |
|
| 499 | + * @since 8.1.0 |
|
| 500 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 501 | + */ |
|
| 502 | + public function getLockingProvider(); |
|
| 503 | + |
|
| 504 | + /** |
|
| 505 | + * @return \OCP\Files\Mount\IMountManager |
|
| 506 | + * @since 8.2.0 |
|
| 507 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 508 | + */ |
|
| 509 | + public function getMountManager(); |
|
| 510 | + |
|
| 511 | + /** |
|
| 512 | + * Get the MimeTypeDetector |
|
| 513 | + * |
|
| 514 | + * @return \OCP\Files\IMimeTypeDetector |
|
| 515 | + * @since 8.2.0 |
|
| 516 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 517 | + */ |
|
| 518 | + public function getMimeTypeDetector(); |
|
| 519 | + |
|
| 520 | + /** |
|
| 521 | + * Get the MimeTypeLoader |
|
| 522 | + * |
|
| 523 | + * @return \OCP\Files\IMimeTypeLoader |
|
| 524 | + * @since 8.2.0 |
|
| 525 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 526 | + */ |
|
| 527 | + public function getMimeTypeLoader(); |
|
| 528 | + |
|
| 529 | + /** |
|
| 530 | + * Get the EventDispatcher |
|
| 531 | + * |
|
| 532 | + * @return EventDispatcherInterface |
|
| 533 | + * @deprecated 20.0.0 use \OCP\EventDispatcher\IEventDispatcher |
|
| 534 | + * @since 8.2.0 |
|
| 535 | + */ |
|
| 536 | + public function getEventDispatcher(); |
|
| 537 | + |
|
| 538 | + /** |
|
| 539 | + * Get the Notification Manager |
|
| 540 | + * |
|
| 541 | + * @return \OCP\Notification\IManager |
|
| 542 | + * @since 9.0.0 |
|
| 543 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 544 | + */ |
|
| 545 | + public function getNotificationManager(); |
|
| 546 | + |
|
| 547 | + /** |
|
| 548 | + * @return \OCP\Comments\ICommentsManager |
|
| 549 | + * @since 9.0.0 |
|
| 550 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 551 | + */ |
|
| 552 | + public function getCommentsManager(); |
|
| 553 | + |
|
| 554 | + /** |
|
| 555 | + * Returns the system-tag manager |
|
| 556 | + * |
|
| 557 | + * @return \OCP\SystemTag\ISystemTagManager |
|
| 558 | + * |
|
| 559 | + * @since 9.0.0 |
|
| 560 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 561 | + */ |
|
| 562 | + public function getSystemTagManager(); |
|
| 563 | + |
|
| 564 | + /** |
|
| 565 | + * Returns the system-tag object mapper |
|
| 566 | + * |
|
| 567 | + * @return \OCP\SystemTag\ISystemTagObjectMapper |
|
| 568 | + * |
|
| 569 | + * @since 9.0.0 |
|
| 570 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 571 | + */ |
|
| 572 | + public function getSystemTagObjectMapper(); |
|
| 573 | + |
|
| 574 | + /** |
|
| 575 | + * Returns the share manager |
|
| 576 | + * |
|
| 577 | + * @return \OCP\Share\IManager |
|
| 578 | + * @since 9.0.0 |
|
| 579 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 580 | + */ |
|
| 581 | + public function getShareManager(); |
|
| 582 | + |
|
| 583 | + /** |
|
| 584 | + * @return IContentSecurityPolicyManager |
|
| 585 | + * @since 9.0.0 |
|
| 586 | + * @deprecated 17.0.0 Use the AddContentSecurityPolicyEvent |
|
| 587 | + */ |
|
| 588 | + public function getContentSecurityPolicyManager(); |
|
| 589 | + |
|
| 590 | + /** |
|
| 591 | + * @return \OCP\IDateTimeZone |
|
| 592 | + * @since 8.0.0 |
|
| 593 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 594 | + */ |
|
| 595 | + public function getDateTimeZone(); |
|
| 596 | + |
|
| 597 | + /** |
|
| 598 | + * @return \OCP\IDateTimeFormatter |
|
| 599 | + * @since 8.0.0 |
|
| 600 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 601 | + */ |
|
| 602 | + public function getDateTimeFormatter(); |
|
| 603 | + |
|
| 604 | + /** |
|
| 605 | + * @return \OCP\Federation\ICloudIdManager |
|
| 606 | + * @since 12.0.0 |
|
| 607 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 608 | + */ |
|
| 609 | + public function getCloudIdManager(); |
|
| 610 | + |
|
| 611 | + /** |
|
| 612 | + * @return \OCP\GlobalScale\IConfig |
|
| 613 | + * @since 14.0.0 |
|
| 614 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 615 | + */ |
|
| 616 | + public function getGlobalScaleConfig(); |
|
| 617 | + |
|
| 618 | + /** |
|
| 619 | + * @return ICloudFederationFactory |
|
| 620 | + * @since 14.0.0 |
|
| 621 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 622 | + */ |
|
| 623 | + public function getCloudFederationFactory(); |
|
| 624 | + |
|
| 625 | + /** |
|
| 626 | + * @return ICloudFederationProviderManager |
|
| 627 | + * @since 14.0.0 |
|
| 628 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 629 | + */ |
|
| 630 | + public function getCloudFederationProviderManager(); |
|
| 631 | + |
|
| 632 | + /** |
|
| 633 | + * @return \OCP\Remote\Api\IApiFactory |
|
| 634 | + * @since 13.0.0 |
|
| 635 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 636 | + */ |
|
| 637 | + public function getRemoteApiFactory(); |
|
| 638 | + |
|
| 639 | + /** |
|
| 640 | + * @return \OCP\Remote\IInstanceFactory |
|
| 641 | + * @since 13.0.0 |
|
| 642 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 643 | + */ |
|
| 644 | + public function getRemoteInstanceFactory(); |
|
| 645 | + |
|
| 646 | + /** |
|
| 647 | + * @return \OCP\Files\Storage\IStorageFactory |
|
| 648 | + * @since 15.0.0 |
|
| 649 | + * @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get |
|
| 650 | + */ |
|
| 651 | + public function getStorageFactory(); |
|
| 652 | 652 | } |