类 DefaultConfigService
java.lang.Object
com.onlyoffice.service.documenteditor.config.DefaultConfigService
- 所有已实现的接口:
ConfigService
-
构造器概要
构造器构造器说明DefaultConfigService(DocumentManager documentManager, UrlManager urlManager, JwtManager jwtManager, SettingsManager settingsManager) -
方法概要
修饰符和类型方法说明createConfig(String bucket, String fileId, Mode mode, Type type) Creates a configuration for the document editor using theTypeparameter.createConfig(String bucket, String fileId, Mode mode, String userAgent) Creates a configuration for the document editor using the User-Agent request header.getCoEditing(String bucket, String fileId, Mode mode, Type type) Returns theCoEditingobject.getCustomization(String bucket, String fileId) Returns theCustomizationobject.getDocument(String bucket, String fileId, Type type) Returns theDocumentobject.getEditorConfig(String bucket, String fileId, Mode mode, Type type) Returns theEditorConfigobject.getEmbedded(String bucket, String fileId) Returns theEmbeddedobject.Returns theInfoobject.getPermissions(String bucket, String fileId) Returns thePermissionsobject.getPlugins(Object object) Returns thePluginsobject.Returns a list of theRecentobjects.getReferenceData(String bucket, String fileId) Returns theReferenceDataobject.getTemplates(String bucket, String fileId) Returns a list of theTemplateobjects.Returns theTypeobject.getUser()Returns theUserobject.voidsetDocumentManager(DocumentManager documentManager) voidsetJwtManager(JwtManager jwtManager) voidsetSettingsManager(SettingsManager settingsManager) voidsetUrlManager(UrlManager urlManager)
-
构造器详细资料
-
DefaultConfigService
public DefaultConfigService(DocumentManager documentManager, UrlManager urlManager, JwtManager jwtManager, SettingsManager settingsManager)
-
-
方法详细资料
-
getDocumentManager
-
setDocumentManager
-
getUrlManager
-
setUrlManager
-
getJwtManager
-
setJwtManager
-
getSettingsManager
-
setSettingsManager
-
createConfig
从接口复制的说明:ConfigServiceCreates a configuration for the document editor using the User-Agent request header.- 指定者:
createConfig在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.mode- The editor openingmode.userAgent- The User-Agent request header that is used to determine the platform type ("desktop" or "mobile").- 返回:
- The
Configobject.
-
createConfig
从接口复制的说明:ConfigServiceCreates a configuration for the document editor using theTypeparameter.- 指定者:
createConfig在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.mode- The editor openingmode.type- The platformtypeused to access the document.- 返回:
- The
Configobject.
-
getDocument
从接口复制的说明:ConfigServiceReturns theDocumentobject.- 指定者:
getDocument在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.type- The platformtypeused to access the document.- 返回:
- The
ReferenceDataobject.
-
getEditorConfig
从接口复制的说明:ConfigServiceReturns theEditorConfigobject.- 指定者:
getEditorConfig在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.mode- The editor openingmode.type- The platformtypeused to access the document.- 返回:
- The
EditorConfigobject.
-
getReferenceData
从接口复制的说明:ConfigServiceReturns theReferenceDataobject.- 指定者:
getReferenceData在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The
ReferenceDataobject.
-
getInfo
从接口复制的说明:ConfigServiceReturns theInfoobject.- 指定者:
getInfo在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The
Infoobject.
-
getPermissions
从接口复制的说明:ConfigServiceReturns thePermissionsobject.- 指定者:
getPermissions在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The
Permissionsobject.
-
getCoEditing
从接口复制的说明:ConfigServiceReturns theCoEditingobject.- 指定者:
getCoEditing在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.mode- The editor openingmode.type- The platformtypeused to access the document.- 返回:
- The
CoEditingobject.
-
getRecent
从接口复制的说明:ConfigServiceReturns a list of theRecentobjects.- 指定者:
getRecent在接口中ConfigService- 参数:
object- The object.- 返回:
- A list of the
Recentobjects.
-
getTemplates
从接口复制的说明:ConfigServiceReturns a list of theTemplateobjects.- 指定者:
getTemplates在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- A list of the
Templateobjects.
-
getUser
从接口复制的说明:ConfigServiceReturns theUserobject.- 指定者:
getUser在接口中ConfigService- 返回:
- The
Userobject.
-
getCustomization
从接口复制的说明:ConfigServiceReturns theCustomizationobject.- 指定者:
getCustomization在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The
Customizationobject.
-
getEmbedded
从接口复制的说明:ConfigServiceReturns theEmbeddedobject.- 指定者:
getEmbedded在接口中ConfigService- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The
Embeddedobject.
-
getPlugins
从接口复制的说明:ConfigServiceReturns thePluginsobject.- 指定者:
getPlugins在接口中ConfigService- 参数:
object- The object.- 返回:
- The
Pluginsobject.
-
getType
从接口复制的说明:ConfigServiceReturns theTypeobject.- 指定者:
getType在接口中ConfigService- 参数:
userAgent- The User-Agent request header that is used to determine the platform type ("desktop" or "mobile").- 返回:
- The
Typeobject.
-