Constructor
new BaseMeasuredTemplate()
Properties:
Name | Type | Description |
---|---|---|
data |
data.MeasuredTemplateData | The constructed data object for the embedded document. |
Extends
- Document
Members
(static) metadata
(static) schema
Methods
(protected, static) _canCreate(user, doc) → {boolean}
Is a user able to create a new MeasuredTemplate?
Parameters:
Name | Type | Description |
---|---|---|
user |
User | The user attempting the creation operation. |
doc |
MeasuredTemplateDocument | The MeasuredTemplate being created. |
Returns:
- Type
- boolean
(protected, static) _canModify()
Is a user able to modify an existing MeasuredTemplate?