Classes
Methods
# clear()
# getPropertytypeListForQuery()
Get property types from key 'propertytypes'
as list of
{
'property_type' : '~eq~ ...typeid... ',
'value' : '~notnull'
}
to pass it as a parameter to endpoint which creates a queryid.
# saveSchemaState()
Save current schema internally. The last saved schema can be restored by restoreSchemaState()
# setByJson(json_object) → {void}
Set schema by JSON object
Parameters:
| Name | Type | Description |
|---|---|---|
json_object |
Object
|
void
# updateSchemaByDependencies(cb, node) → {Object}
Update property members in schema taking dependencies into account.
The current state is saved and can be restored by restoreSchemaState().
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
cb |
function
|
null | |
node |
Object
|
null | Optional node with properties. By default the values in property list are used. |
updated schema as JSON
Object