Class ecm.model.MetadataTemplate
Extends
ecm.model._ModelObject.
Represents a logical grouping of attribute definitions that is used to classify items in a Box repository.
Defined in: <ecm\model\MetadataTemplate.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
ecm.model.MetadataTemplate(properties)
Constructs a metadata template.
|
Field Summary
Field Attributes | Field Name and Description |
---|---|
An array of ecm.model.AttributeDefinition objects for the attributes of this template.
|
|
An object that references, by attribute name, the ecm.model.AttributeDefinition objects for the
attributes of this template.
|
|
A boolean value indicating if EDS is enabled for this template.
|
|
An instance of ecm.model.Repository for the Box repository containing the template.
|
|
The name of the service that is used to retrieve the attribute definitions.
|
- Fields borrowed from class ecm.model._ModelObject:
- categorization, id, isRecurring, name, nameFilter, pane, status, type, userId
Method Summary
Method Attributes | Method Name and Description |
---|---|
clone()
Returns a clone of this template.
|
- Methods borrowed from class ecm.model._ModelObject:
- destroy, getSortCriteria, onChange, own, refresh, toString
Constructor Detail
ecm.model.MetadataTemplate(properties)
Constructs a metadata template.
- Parameters:
- properties
- The properties of the metadata template. The properties can be any of the public fields as defined below and on ecm.model._ModelObject.
Field Detail
attributeDefinitions
An array of ecm.model.AttributeDefinition objects for the attributes of this template.
attributeDefinitionsById
An object that references, by attribute name, the ecm.model.AttributeDefinition objects for the
attributes of this template.
edsIsEnabled
A boolean value indicating if EDS is enabled for this template.
repository
An instance of ecm.model.Repository for the Box repository containing the template.
retrieveAttributeDefinitionsService
The name of the service that is used to retrieve the attribute definitions.
Method Detail
clone()
Returns a clone of this template. All contents are cloned except for the repository (the reference is copied instead).