接口 ConfigService
- 所有已知实现类:
DefaultConfigService
public interface ConfigService
-
方法概要
修饰符和类型方法说明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.
-
方法详细资料
-
createConfig
Creates a configuration for the document editor using the User-Agent request header. -
createConfig
Creates a configuration for the document editor using theTypeparameter. -
getDocument
Returns theDocumentobject.- 参数:
bucket- The file bucket.fileId- The file ID.type- The platformtypeused to access the document.- 返回:
- The
ReferenceDataobject.
-
getEditorConfig
Returns theEditorConfigobject.- 参数:
bucket- The file bucket.fileId- The file ID.mode- The editor openingmode.type- The platformtypeused to access the document.- 返回:
- The
EditorConfigobject.
-
getReferenceData
Returns theReferenceDataobject.- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The
ReferenceDataobject.
-
getInfo
Returns theInfoobject.- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The
Infoobject.
-
getPermissions
Returns thePermissionsobject.- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The
Permissionsobject.
-
getCoEditing
Returns theCoEditingobject. -
getRecent
Returns a list of theRecentobjects.- 参数:
object- The object.- 返回:
- A list of the
Recentobjects.
-
getTemplates
Returns a list of theTemplateobjects.- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- A list of the
Templateobjects.
-
getUser
User getUser()Returns theUserobject.- 返回:
- The
Userobject.
-
getCustomization
Returns theCustomizationobject.- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The
Customizationobject.
-
getEmbedded
Returns theEmbeddedobject.- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The
Embeddedobject.
-
getPlugins
Returns thePluginsobject.- 参数:
object- The object.- 返回:
- The
Pluginsobject.
-
getType
Returns theTypeobject.- 参数:
userAgent- The User-Agent request header that is used to determine the platform type ("desktop" or "mobile").- 返回:
- The
Typeobject.
-