Class ecm.model.admin.ViewerDefConfig
Extends
ecm.model.admin._ConfigurationObject.
Represents the configuration for a viewer definition. This information includes:
- The viewer name
- The URL that is used to launch the viewer
- The types of servers on which the viewer is supported
Defined in: <ecm\model\admin\ViewerDefConfig.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
constructor(id, name)
|
|
getLabel()
|
|
getName()
|
|
setLabel(label)
|
|
setLaunchUrl(launchUrl)
|
|
setViewerName(viewerName)
|
|
supportsServerType(serverType, allServers)
|
|
<static> |
ecm.model.admin.ViewerDefConfig.ViewerDefConfig.createViewerDefConfig(id)
Static function that constructs a viewer definition config object.
|
Method Detail
constructor(id, name)
- Parameters:
- id
- name
getLabel()
getLaunchUrl()
getName()
getServerTypes()
getViewerName()
setLabel(label)
- Parameters:
- label
setLaunchUrl(launchUrl)
- Parameters:
- launchUrl
setViewerName(viewerName)
- Parameters:
- viewerName
supportsServerType(serverType, allServers)
- Parameters:
- serverType
- allServers
<static> ecm.model.admin.ViewerDefConfig.ViewerDefConfig.createViewerDefConfig(id)
Static function that constructs a viewer definition config object. Use viewer object to save this.
- Parameters:
- id
- viewer definition identifier.