Class ecm.model.admin.ViewerMappingConfig
Extends
ecm.model.admin._ConfigurationObject.
Represents the configuration information for a viewer mapping object. This information includes:
- The content types that are mapped to the viewer
- The server type
- The name of the viewer
Defined in: <ecm\model\admin\ViewerMappingConfig.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
constructor(id, name)
|
|
Returns a display name of the server type.
|
|
getViewerMappingConfig(callback, params)
|
|
setContentTypes(contentTypes)
|
|
setPreviewOnly(previewOnly)
|
|
setServerType(serverType)
|
|
setViewerName(viewerName)
|
|
<static> |
ecm.model.admin.ViewerMappingConfig.ViewerMappingConfig.createViewerMappingConfig(id)
Static function that constructs a viewer mapping config object.
|
Method Detail
constructor(id, name)
- Parameters:
- id
- name
getContentTypes()
getPreviewOnly()
getServerType()
getServerTypeString()
Returns a display name of the server type.
getViewerMappingConfig(callback, params)
- Parameters:
- callback
- params
getViewerName()
setContentTypes(contentTypes)
- Parameters:
- contentTypes
setPreviewOnly(previewOnly)
- Parameters:
- previewOnly
setServerType(serverType)
- Parameters:
- serverType
setViewerName(viewerName)
- Parameters:
- viewerName
<static> ecm.model.admin.ViewerMappingConfig.ViewerMappingConfig.createViewerMappingConfig(id)
Static function that constructs a viewer mapping config object. Use viewer object to save this.
- Parameters:
- id
- Viewer mapping identifier.