Manager¶
-
class
OC\DirectEditing\
Manager
¶ Source: lib/private/DirectEditing/Manager.php#54 Implements: OCP\DirectEditing\IManager
Constants¶
-
TOKEN_CLEANUP_TIME = 12 * 60 * 60
Source: lib/private/DirectEditing/Manager.php#55
-
TABLE_TOKENS = direct_edit
Source: lib/private/DirectEditing/Manager.php#57
Properties¶
Methods¶
-
public
OC\DirectEditing\Manager::
__construct
($random, $connection, $userSession, $rootFolder, $l10nFactory, $encryptionManager)¶ Source: lib/private/DirectEditing/Manager.php#74
-
public
OC\DirectEditing\Manager::
registerDirectEditor
($directEditor)¶ Source: lib/private/DirectEditing/Manager.php#90
-
public
OC\DirectEditing\Manager::
getEditors
()¶ Source: lib/private/DirectEditing/Manager.php#94
-
public
OC\DirectEditing\Manager::
getTemplates
($editor, $type)¶ Source: lib/private/DirectEditing/Manager.php#98
-
public
OC\DirectEditing\Manager::
create
($path, $editorId, $creatorId, $templateId=null)¶ Source: lib/private/DirectEditing/Manager.php#129
-
public
OC\DirectEditing\Manager::
open
($filePath, $editorId=null)¶ Source: lib/private/DirectEditing/Manager.php#153
-
public
OC\DirectEditing\Manager::
edit
($token)¶ Source: lib/private/DirectEditing/Manager.php#176
-
public
OC\DirectEditing\Manager::
editSecure
($file, $editorId)¶ Source: lib/private/DirectEditing/Manager.php#192
-
public
OC\DirectEditing\Manager::
getToken
($token)¶ Source: lib/private/DirectEditing/Manager.php#203
-
public
OC\DirectEditing\Manager::
cleanup
()¶ Source: lib/private/DirectEditing/Manager.php#214
-
public
OC\DirectEditing\Manager::
refreshToken
($token)¶ Source: lib/private/DirectEditing/Manager.php#221
-
public
OC\DirectEditing\Manager::
invalidateToken
($token)¶ Source: lib/private/DirectEditing/Manager.php#231
-
public
OC\DirectEditing\Manager::
accessToken
($token)¶ Source: lib/private/DirectEditing/Manager.php#239
-
public
OC\DirectEditing\Manager::
invokeTokenScope
($userId)¶ Source: lib/private/DirectEditing/Manager.php#249
-
public
OC\DirectEditing\Manager::
createToken
($editorId, $file, $filePath, $share=null)¶ Source: lib/private/DirectEditing/Manager.php#254
-
public
OC\DirectEditing\Manager::
getFileForToken
($userId, $fileId, $filePath=null)¶ Source: Parameters: - $userId
- $fileId
- $filePath (null)
Returns: Throws:
-
public
OC\DirectEditing\Manager::
isEnabled
()¶ Source: lib/private/DirectEditing/Manager.php#290