Class ecm.model.admin.ViewerContentTypeConfig
Extends
ecm.model.admin._ConfigurationObject.
Represents the configuration information for a content type. This information includes the viewers that
can be used to display content of this type.
Defined in: <ecm\model\admin\ViewerContentTypeConfig.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
constructor(id, name)
|
|
setContentType(contentType)
|
|
setViewers(viewers)
|
|
supportsViewer(viewerID)
|
|
<static> |
ecm.model.admin.ViewerContentTypeConfig.ViewerContentTypeConfig.createViewerContentTypeConfig(id)
Static function that constructs a viewer contentType config object.
|
Method Detail
constructor(id, name)
- Parameters:
- id
- name
getContentType()
getViewers()
setContentType(contentType)
- Parameters:
- contentType
setViewers(viewers)
- Parameters:
- viewers
supportsViewer(viewerID)
- Parameters:
- viewerID
<static> ecm.model.admin.ViewerContentTypeConfig.ViewerContentTypeConfig.createViewerContentTypeConfig(id)
Static function that constructs a viewer contentType config object.
- Parameters:
- id
- Viewer content type identifier.