Class ecm.model.admin.ViewerMappingConfig


Extends ecm.model.admin._ConfigurationObject.
Represents the configuration information for a viewer mapping object. This information includes:


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.

Constructor Detail

ecm.model.admin.ViewerMappingConfig()

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.