Class ecm.model.admin.FileTypeConfig
Extends
ecm.model.admin._ConfigurationObject.
Represents the configuration information for a file type that is mapped to MIME types. This information
includes:
- The name of the file type
- The description of the file type
- The types of content for which the file type is used
Defined in: <ecm\model\admin\FileTypeConfig.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
constructor(id, name)
|
|
<static> |
ecm.model.admin.FileTypeConfig.FileTypeConfig.createFileTypeConfig(id)
Static function that constructs a file type configuration object.
|
getName()
|
|
setContentTypes(contentTypes)
|
|
setDescription(description)
|
|
setName(name)
|
|
setOnlyUseInETAssociations(onlyUseInETAssociations)
|
Method Detail
constructor(id, name)
- Parameters:
- id
- name
<static> ecm.model.admin.FileTypeConfig.FileTypeConfig.createFileTypeConfig(id)
Static function that constructs a file type configuration object.
- Parameters:
- id
- file type id.
getContentTypes()
getDescription()
getName()
getOnlyUseInETAssociations()
- Since:
- 2.0.3
setContentTypes(contentTypes)
- Parameters:
- contentTypes
setDescription(description)
- Parameters:
- description
setName(name)
- Parameters:
- name
setOnlyUseInETAssociations(onlyUseInETAssociations)
- Parameters:
- onlyUseInETAssociations
- Since:
- 2.0.3