/**
* @return \OCP\Calendar\IManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCalendarManager() {
return $this->query(\OC\Calendar\Manager::class);
/**
* @return \OCP\Calendar\Resource\IManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCalendarResourceBackendManager() {
return $this->query(\OC\Calendar\Resource\Manager::class);
/**
* @return \OCP\Calendar\Room\IManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCalendarRoomBackendManager() {
return $this->query(\OC\Calendar\Room\Manager::class);
/**
* @return \OCP\Contacts\IManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getContactsManager() {
return $this->query(\OCP\Contacts\IManager::class);
/**
* @return \OC\Encryption\Manager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getEncryptionManager() {
return $this->query(\OCP\Encryption\IManager::class);
/**
* @return \OC\Encryption\File
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getEncryptionFilesHelper() {
return $this->query('EncryptionFileHelper');
/**
* @return \OCP\Encryption\Keys\IStorage
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getEncryptionKeyStorage() {
return $this->query('EncryptionKeyStorage');
* In case the current execution was not initiated by a web request null is returned
*
* @return \OCP\IRequest
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getRequest() {
return $this->query(IRequest::class);
* Returns the preview manager which can create preview images for a given file
*
* @return IPreview
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getPreviewManager() {
return $this->query(IPreview::class);
*
* @see \OCP\ITagManager::load()
* @return ITagManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getTagManager() {
return $this->query(ITagManager::class);
* @return ISystemTagManager
*
* @since 9.0.0
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getSystemTagManager() {
return $this->query(ISystemTagManager::class);
* @return ISystemTagObjectMapper
*
* @since 9.0.0
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getSystemTagObjectMapper() {
return $this->query(ISystemTagObjectMapper::class);
* Returns the avatar manager, used for avatar functionality
*
* @return IAvatarManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getAvatarManager() {
return $this->query(IAvatarManager::class);
* Returns the root folder of ownCloud's data directory
*
* @return IRootFolder
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getRootFolder() {
return $this->query(IRootFolder::class);
* is actually used.
*
* @return IRootFolder
+ * @deprecated 20.0.0
*/
public function getLazyRootFolder() {
return $this->query(IRootFolder::class);
*
* @param string $userId user ID
* @return \OCP\Files\Folder|null
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getUserFolder($userId = null) {
if ($userId === null) {
/**
* @return \OC\User\Manager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getUserManager() {
return $this->query(IUserManager::class);
/**
* @return \OC\Group\Manager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getGroupManager() {
return $this->query(IGroupManager::class);
/**
* @return \OC\User\Session
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getUserSession() {
return $this->query(IUserSession::class);
/**
* @return \OCP\ISession
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getSession() {
return $this->getUserSession()->getSession();
/**
* @return \OC\Authentication\TwoFactorAuth\Manager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getTwoFactorAuthManager() {
return $this->query(\OC\Authentication\TwoFactorAuth\Manager::class);
/**
* @return \OC\NavigationManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getNavigationManager() {
return $this->query(INavigationManager::class);
/**
* @return \OCP\IConfig
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getConfig() {
return $this->query(AllConfig::class);
/**
* @return \OC\SystemConfig
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getSystemConfig() {
return $this->query(SystemConfig::class);
* Returns the app config manager
*
* @return IAppConfig
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getAppConfig() {
return $this->query(IAppConfig::class);
/**
* @return IFactory
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getL10NFactory() {
return $this->query(IFactory::class);
* @param string $app appid
* @param string $lang
* @return IL10N
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getL10N($app, $lang = null) {
return $this->getL10NFactory()->get($app, $lang);
/**
* @return IURLGenerator
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getURLGenerator() {
return $this->query(IURLGenerator::class);
/**
* @return AppFetcher
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getAppFetcher() {
return $this->query(AppFetcher::class);
* Returns an \OCP\CacheFactory instance
*
* @return \OCP\ICacheFactory
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getMemCacheFactory() {
return $this->query(Factory::class);
* Returns an \OC\RedisFactory instance
*
* @return \OC\RedisFactory
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getGetRedisFactory() {
return $this->query('RedisFactory');
* Returns the current session
*
* @return \OCP\IDBConnection
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getDatabaseConnection() {
return $this->query(IDBConnection::class);
* Returns the activity manager
*
* @return \OCP\Activity\IManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getActivityManager() {
return $this->query(\OCP\Activity\IManager::class);
* Returns an job list for controlling background jobs
*
* @return IJobList
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getJobList() {
return $this->query(IJobList::class);
* Returns a logger instance
*
* @return ILogger
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getLogger() {
return $this->query(ILogger::class);
/**
* @return ILogFactory
* @throws \OCP\AppFramework\QueryException
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getLogFactory() {
return $this->query(ILogFactory::class);
* Returns a router for generating and matching urls
*
* @return IRouter
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getRouter() {
return $this->query(IRouter::class);
* Returns a search instance
*
* @return ISearch
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getSearch() {
return $this->query(ISearch::class);
* Returns a SecureRandom instance
*
* @return \OCP\Security\ISecureRandom
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getSecureRandom() {
return $this->query(ISecureRandom::class);
* Returns a Crypto instance
*
* @return ICrypto
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCrypto() {
return $this->query(ICrypto::class);
* Returns a Hasher instance
*
* @return IHasher
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getHasher() {
return $this->query(IHasher::class);
* Returns a CredentialsManager instance
*
* @return ICredentialsManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCredentialsManager() {
return $this->query(ICredentialsManager::class);
*
* @param string $userId (optional) if not specified the current loggedin user is used, use null to get the system certificate manager
* @return \OCP\ICertificateManager | null if $uid is null and no user is logged in
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCertificateManager($userId = '') {
if ($userId === '') {
* Returns an instance of the HTTP client service
*
* @return IClientService
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getHTTPClientService() {
return $this->query(IClientService::class);
* Create a new event source
*
* @return \OCP\IEventSource
- * @deprecated
+ * @deprecated 20.0.0
*/
public function createEventSource() {
return new \OC_EventSource();
* The returned logger only logs data when debug mode is enabled
*
* @return IEventLogger
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getEventLogger() {
return $this->query(IEventLogger::class);
* The returned logger only logs data when debug mode is enabled
*
* @return IQueryLogger
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getQueryLogger() {
return $this->query(IQueryLogger::class);
* Get the manager for temporary files and folders
*
* @return \OCP\ITempManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getTempManager() {
return $this->query(ITempManager::class);
* Get the app manager
*
* @return \OCP\App\IAppManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getAppManager() {
return $this->query(IAppManager::class);
* Creates a new mailer
*
* @return IMailer
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getMailer() {
return $this->query(IMailer::class);
* Get the webroot
*
* @return string
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getWebRoot() {
return $this->webRoot;
/**
* @return \OC\OCSClient
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getOcsClient() {
return $this->query('OcsClient');
/**
* @return IDateTimeZone
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getDateTimeZone() {
return $this->query(IDateTimeZone::class);
/**
* @return IDateTimeFormatter
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getDateTimeFormatter() {
return $this->query(IDateTimeFormatter::class);
/**
* @return IMountProviderCollection
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getMountProviderCollection() {
return $this->query(IMountProviderCollection::class);
* Get the IniWrapper
*
* @return IniGetWrapper
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getIniWrapper() {
return $this->query(IniGetWrapper::class);
/**
* @return \OCP\Command\IBus
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCommandBus() {
return $this->query('AsyncCommandBus');
* Get the trusted domain helper
*
* @return TrustedDomainHelper
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getTrustedDomainHelper() {
return $this->query(TrustedDomainHelper::class);
*
* @return ILockingProvider
* @since 8.1.0
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getLockingProvider() {
return $this->query(ILockingProvider::class);
/**
* @return IMountManager
- * @deprecated
+ * @deprecated 20.0.0
**/
public function getMountManager() {
return $this->query(IMountManager::class);
/**
* @return IUserMountCache
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getUserMountCache() {
return $this->query(IUserMountCache::class);
* Get the MimeTypeDetector
*
* @return IMimeTypeDetector
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getMimeTypeDetector() {
return $this->query(IMimeTypeDetector::class);
* Get the MimeTypeLoader
*
* @return IMimeTypeLoader
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getMimeTypeLoader() {
return $this->query(IMimeTypeLoader::class);
* Get the manager of all the capabilities
*
* @return CapabilitiesManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCapabilitiesManager() {
return $this->query(CapabilitiesManager::class);
*
* @return \OCP\Notification\IManager
* @since 8.2.0
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getNotificationManager() {
return $this->query(\OCP\Notification\IManager::class);
/**
* @return ICommentsManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCommentsManager() {
return $this->query(ICommentsManager::class);
/**
* @return \OCA\Theming\ThemingDefaults
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getThemingDefaults() {
return $this->query('ThemingDefaults');
/**
* @return \OC\IntegrityCheck\Checker
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getIntegrityCodeChecker() {
return $this->query('IntegrityCodeChecker');
/**
* @return \OC\Session\CryptoWrapper
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getSessionCryptoWrapper() {
return $this->query('CryptoWrapper');
/**
* @return CsrfTokenManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCsrfTokenManager() {
return $this->query(CsrfTokenManager::class);
/**
* @return Throttler
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getBruteForceThrottler() {
return $this->query(Throttler::class);
/**
* @return IContentSecurityPolicyManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getContentSecurityPolicyManager() {
return $this->query(ContentSecurityPolicyManager::class);
/**
* @return ContentSecurityPolicyNonceManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getContentSecurityPolicyNonceManager() {
return $this->query(ContentSecurityPolicyNonceManager::class);
* Not a public API as of 8.2, wait for 9.0
*
* @return \OCA\Files_External\Service\BackendService
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getStoragesBackendService() {
return $this->query(BackendService::class);
* Not a public API as of 8.2, wait for 9.0
*
* @return \OCA\Files_External\Service\GlobalStoragesService
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getGlobalStoragesService() {
return $this->query(GlobalStoragesService::class);
* Not a public API as of 8.2, wait for 9.0
*
* @return \OCA\Files_External\Service\UserGlobalStoragesService
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getUserGlobalStoragesService() {
return $this->query(UserGlobalStoragesService::class);
* Not a public API as of 8.2, wait for 9.0
*
* @return \OCA\Files_External\Service\UserStoragesService
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getUserStoragesService() {
return $this->query(UserStoragesService::class);
/**
* @return \OCP\Share\IManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getShareManager() {
return $this->query(\OCP\Share\IManager::class);
/**
* @return \OCP\Collaboration\Collaborators\ISearch
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCollaboratorSearch() {
return $this->query(\OCP\Collaboration\Collaborators\ISearch::class);
/**
* @return \OCP\Collaboration\AutoComplete\IManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getAutoCompleteManager() {
return $this->query(IManager::class);
* Returns the LDAP Provider
*
* @return \OCP\LDAP\ILDAPProvider
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getLDAPProvider() {
return $this->query('LDAPProvider');
/**
* @return \OCP\Settings\IManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getSettingsManager() {
return $this->query(\OC\Settings\Manager::class);
/**
* @return \OCP\Files\IAppData
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getAppDataDir($app) {
/** @var \OC\Files\AppData\Factory $factory */
/**
* @return \OCP\Lockdown\ILockdownManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getLockdownManager() {
return $this->query('LockdownManager');
/**
* @return \OCP\Federation\ICloudIdManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCloudIdManager() {
return $this->query(ICloudIdManager::class);
/**
* @return \OCP\GlobalScale\IConfig
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getGlobalScaleConfig() {
return $this->query(IConfig::class);
/**
* @return \OCP\Federation\ICloudFederationProviderManager
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCloudFederationProviderManager() {
return $this->query(ICloudFederationProviderManager::class);
/**
* @return \OCP\Remote\Api\IApiFactory
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getRemoteApiFactory() {
return $this->query(IApiFactory::class);
/**
* @return \OCP\Federation\ICloudFederationFactory
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getCloudFederationFactory() {
return $this->query(ICloudFederationFactory::class);
/**
* @return \OCP\Remote\IInstanceFactory
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getRemoteInstanceFactory() {
return $this->query(IInstanceFactory::class);
/**
* @return IStorageFactory
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getStorageFactory() {
return $this->query(IStorageFactory::class);
*
* @return GeneratorHelper
* @since 17.0.0
- * @deprecated
+ * @deprecated 20.0.0
*/
public function getGeneratorHelper() {
return $this->query(\OC\Preview\GeneratorHelper::class);