Permalink
Browse files

Merge branch '19299' into 19735

Conflicts:
	lib/backbone-x/source/model.js
  • Loading branch information...
2 parents 66c3de8 + 19982ed commit 11b24251264f8f47527be976cd287b5b1a514b54 John Rogelstad committed Mar 19, 2013
Showing with 18,803 additions and 3,133 deletions.
  1. +1 −1 enyo-client/application/source/ext/datasource.js
  2. +1 −2 enyo-client/application/source/models/item_site.js
  3. +10 −1 enyo-client/application/source/views/list.js
  4. +5 −44 enyo-client/application/source/widgets/number.js
  5. +1 −2 enyo-client/application/source/widgets/relation.js
  6. +4 −4 enyo-client/database/orm/models/contact.json
  7. +14 −0 enyo-client/database/orm/models/opportunity.json
  8. +906 −171 lib/backbone-x/docs/XM.Alarm.html
  9. +907 −172 lib/backbone-x/docs/XM.Characteristic.html
  10. +895 −216 lib/backbone-x/docs/XM.CharacteristicAssignment.html
  11. +8 −64 lib/backbone-x/docs/XM.CharacteristicCollection.html
  12. +878 −199 lib/backbone-x/docs/XM.CharacteristicOption.html
  13. +9 −65 lib/backbone-x/docs/XM.Collection.html
  14. +880 −201 lib/backbone-x/docs/XM.Comment.html
  15. +878 −199 lib/backbone-x/docs/XM.CommentType.html
  16. +8 −64 lib/backbone-x/docs/XM.CommentTypeCollection.html
  17. +879 −200 lib/backbone-x/docs/XM.CommentTypeSource.html
  18. +905 −175 lib/backbone-x/docs/XM.Document.html
  19. +7 −63 lib/backbone-x/docs/XM.DocumentAssignmentsMixin.html
  20. +1,917 −763 lib/backbone-x/docs/XM.Info.html
  21. +806 −242 lib/backbone-x/docs/XM.Model.html
  22. +6,335 −0 lib/backbone-x/docs/XM.Settings.html
  23. +879 −200 lib/backbone-x/docs/XM.Source.html
  24. +8 −64 lib/backbone-x/docs/XM.SourceCollection.html
  25. +285 −0 lib/backbone-x/docs/global.html
  26. +5 −5 lib/backbone-x/docs/index.html
  27. +202 −0 lib/backbone-x/docs/scripts/prettify/Apache-License-2.0.txt
  28. +2 −0 lib/backbone-x/docs/scripts/prettify/lang-css.js
  29. +28 −0 lib/backbone-x/docs/scripts/prettify/prettify.js
  30. +24 −15 lib/backbone-x/docs/styles/jsdoc-default.css
  31. +111 −0 lib/backbone-x/docs/styles/prettify-jsdoc.css
  32. +3 −1 lib/backbone-x/source/simplemodel.js
  33. +1,002 −0 lib/enyo-x/docs/XV.AddressFieldsWidget.html
Sorry, we could not display the entire diff because it was too big.
View
2 enyo-client/application/source/ext/datasource.js
@@ -67,7 +67,7 @@ white:true*/
}
// Format attribute if it's `HasOne` relation
- if (relation && relation.type === Backbone.HasOne && relation.isNested) {
+ if (relation && relation.type === Backbone.HasOne) { // && relation.isNested) { TODO: Re-add this if we get nonNested back?
klass = XT.getObjectByName(relation.relatedModel);
idAttribute = klass.prototype.idAttribute;
param.attribute = param.attribute + '.' + idAttribute;
View
3 enyo-client/application/source/models/item_site.js
@@ -38,7 +38,7 @@ white:true*/
@extends XM.Document
*/
- XM.ItemSite = XM.Document.extend(/** @lends XM.ItemSite.prototype */{
+ XM.ItemSite = XM.Model.extend(/** @lends XM.ItemSite.prototype */{
recordType: 'XM.ItemSite',
@@ -48,7 +48,6 @@ white:true*/
requiredAttributes: [
"id",
- "number",
"plannerCode",
"costCategory"
]
View
11 enyo-client/application/source/views/list.js
@@ -697,7 +697,11 @@ trailing:true white:true*/
placeholder: "_noCloseTarget".loc(),
classes: "right"}
]},
- {kind: "XV.ListAttr", attr: "name"}
+ {kind: "FittableColumns", components: [
+ {kind: "XV.ListAttr", attr: "name"},
+ {kind: "XV.ListAttr", attr: "amount", classes: "right",
+ formatter: "formatAmount"}
+ ]}
]},
{kind: "XV.ListColumn", classes: "second",
components: [
@@ -720,6 +724,11 @@ trailing:true white:true*/
]}
]}
],
+ formatAmount: function (value, view, model) {
+ var currency = model ? model.get("currency") : false,
+ scale = XT.session.locale.attributes.moneyScale;
+ return currency ? currency.format(value, scale) : "";
+ },
formatTargetClose: function (value, view, model) {
var isLate = model && model.get('isActive') &&
(XT.date.compareDate(value, new Date()) < 1);
View
49 enyo-client/application/source/widgets/number.js
@@ -85,55 +85,16 @@ regexp:true, undef:true, trailing:true, white:true */
*/
create: function () {
this.inherited(arguments);
+ this.setCurrency(XT.baseCurrency());
+ this.$.picker.setValue(this.getCurrency(), {silent: true});
this.$.baseLabel.setContent(XT.baseCurrency().get('abbreviation'));
// the currency picker may be disabled or hidden on creation in certain situations
this.$.picker.setDisabled(this.getCurrencyDisabled());
this.$.picker.setShowing(this.getCurrencyShowing());
},
- /**
- Returns the published effective value.
- */
- getEffective: function () {
- return this.effective;
- },
-
- /**
- Sets the effective date and sets visibility
- of base panel based on value.
- */
- setEffective: function (value) {
- this.effective = value;
+ effectiveChanged: function () {
this.setBasePanelShowing();
},
-
- /**
- Returns the published currency value.
- */
- getCurrency: function () {
- return this.currency;
- },
-
- /**
- Sets the value of the published currency value.
- */
- setCurrency: function (value) {
- this.currency = value;
- },
-
- /**
- Returns the published amount value.
- */
- getAmount: function () {
- return this.amount;
- },
-
- /**
- Sets the value of the published currency value.
- */
- setAmount: function (value) {
- this.amount = value;
- },
-
/**
Sets visibility of base panel
*/
@@ -213,8 +174,8 @@ regexp:true, undef:true, trailing:true, white:true */
}
} else if (attribute === "currency") {
oldValue = this.getCurrency();
- if (oldValue !== newValue) {
- this.setCurrency(newValue || XT.baseCurrency());
+ if (newValue && oldValue !== newValue) {
+ this.setCurrency(newValue);
this.$.picker.setValue(this.getCurrency(), options);
}
}
View
3 enyo-client/application/source/widgets/relation.js
@@ -29,8 +29,7 @@ regexp:true, undef:true, trailing:true, white:true */
nameAttribute: "jobTitle",
descripAttribute: "phone",
published: {
- showAddress: false,
- account: null
+ showAddress: false
},
filterRestrictionType: ["account", "accountParent"],
components: [
View
8 enyo-client/database/orm/models/contact.json
@@ -992,8 +992,8 @@
"properties": [
{
"name": "accountParent",
- "toOne": {
- "type": "AccountRelation",
+ "attr": {
+ "type": "Number",
"column": "crmacct_parent_id"
}
}
@@ -1142,8 +1142,8 @@
"properties": [
{
"name": "accountParent",
- "toOne": {
- "type": "AccountRelation",
+ "attr": {
+ "type": "Number",
"column": "crmacct_parent_id"
}
}
View
14 enyo-client/database/orm/models/opportunity.json
@@ -874,6 +874,20 @@
}
},
{
+ "name": "amount",
+ "attr": {
+ "type": "Number",
+ "column": "ophead_amount"
+ }
+ },
+ {
+ "name": "currency",
+ "toOne": {
+ "type": "Currency",
+ "column": "ophead_curr_id"
+ }
+ },
+ {
"name": "priorityOrder",
"attr": {
"type": "Number",
View
1,077 lib/backbone-x/docs/XM.Alarm.html
@@ -4,12 +4,12 @@
<meta charset="utf-8">
<title>JSDoc: Class: Alarm</title>
- <script src="http://shjs.sourceforge.net/sh_main.min.js"> </script>
- <script src="http://shjs.sourceforge.net/lang/sh_javascript.min.js"> </script>
+ <script src="scripts/prettify/prettify.js"> </script>
+ <script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
- <link type="text/css" rel="stylesheet" href="styles/node-dark.css">
+ <link type="text/css" rel="stylesheet" href="styles/prettify-jsdoc.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
@@ -37,64 +37,8 @@ <h1 class="page-title">Class: Alarm</h1>
-
-<dt>
- <h4 class="name" id="Alarm"><span class="type-signature"></span>new Alarm</h4>
-
-
-</dt>
-<dd>
-
-
-
-
-
-
-
-
-
-
-<dl class="details">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>alarm.js, line 9</li></ul></dd>
-
-
-
-
-
-
-
-</dl>
-
-
-
-
-
-
-
-
-
-</dd>
-
+
+
</div>
@@ -161,7 +105,7 @@ <h4 class="name" id="AUTO_NUMBER"><span class="type-signature">&lt;constant> </s
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>document.js, line 321</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>document.js, line 330</li></ul></dd>
@@ -219,7 +163,7 @@ <h4 class="name" id="AUTO_OVERRIDE_NUMBER"><span class="type-signature">&lt;cons
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>document.js, line 331</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>document.js, line 340</li></ul></dd>
@@ -391,7 +335,7 @@ <h4 class="name" id="BUSY"><span class="type-signature">&lt;constant> </span>BUS
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1491</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1703</li></ul></dd>
@@ -449,7 +393,7 @@ <h4 class="name" id="BUSY_COMMITTING"><span class="type-signature">&lt;constant>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1513</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1725</li></ul></dd>
@@ -507,7 +451,7 @@ <h4 class="name" id="BUSY_DESTROYING"><span class="type-signature">&lt;constant>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1523</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1735</li></ul></dd>
@@ -565,7 +509,63 @@ <h4 class="name" id="BUSY_FETCHING"><span class="type-signature">&lt;constant> <
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1502</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1714</li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+</dd>
+
+
+
+<dt>
+ <h4 class="name" id="checkConflicts"><span class="type-signature"></span>checkConflicts<span class="type-signature"></span></h4>
+
+
+</dt>
+<dd>
+
+ <div class="description">
+ Check for conflicts on an already used document key when the key changes
+ and on save.
+ </div>
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+ <dt class="inherited-from">Inherited From:</dt>
+ <dd class="inherited-from"><ul class="dummy"><li>
+ <a href="XM.Document.html#checkConflicts">XM.Document#checkConflicts</a>
+ </li></dd>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>document.js, line 126</li></ul></dd>
@@ -625,7 +625,63 @@ <h4 class="name" id="CLEAN"><span class="type-signature">&lt;constant> </span>CL
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1364</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1576</li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+</dd>
+
+
+
+<dt>
+ <h4 class="name" id="databaseType"><span class="type-signature"></span>databaseType<span class="type-signature"></span></h4>
+
+
+</dt>
+<dd>
+
+ <div class="description">
+ Differentiates models that belong to postbooks instances versus models
+ that belong to the global database
+ </div>
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+ <dt class="inherited-from">Inherited From:</dt>
+ <dd class="inherited-from"><ul class="dummy"><li>
+ <a href="XM.Document.html#databaseType">XM.Document#databaseType</a>
+ </li></dd>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 59</li></ul></dd>
@@ -685,7 +741,7 @@ <h4 class="name" id="DESTROYED"><span class="type-signature">&lt;constant> </spa
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1457</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1669</li></ul></dd>
@@ -743,7 +799,7 @@ <h4 class="name" id="DESTROYED_CLEAN"><span class="type-signature">&lt;constant>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1468</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1680</li></ul></dd>
@@ -802,7 +858,7 @@ <h4 class="name" id="DESTROYED_DIRTY"><span class="type-signature">&lt;constant>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1479</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1691</li></ul></dd>
@@ -862,7 +918,7 @@ <h4 class="name" id="DIRTY"><span class="type-signature">&lt;constant> </span>DI
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1376</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1588</li></ul></dd>
@@ -984,7 +1040,7 @@ <h4 class="name" id="EMPTY"><span class="type-signature">&lt;constant> </span>EM
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1390</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1602</li></ul></dd>
@@ -1100,7 +1156,7 @@ <h4 class="name" id="ERROR"><span class="type-signature">&lt;constant> </span>ER
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1400</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1612</li></ul></dd>
@@ -1213,7 +1269,7 @@ <h4 class="name" id="lastError"><span class="type-signature"></span>lastError<sp
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 58</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 64</li></ul></dd>
@@ -1271,7 +1327,7 @@ <h4 class="name" id="MANUAL_NUMBER"><span class="type-signature">&lt;constant> <
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>document.js, line 311</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>document.js, line 320</li></ul></dd>
@@ -1327,7 +1383,7 @@ <h4 class="name" id="nameAttribute"><span class="type-signature"></span>nameAttr
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 95</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 101</li></ul></dd>
@@ -1438,7 +1494,7 @@ <h4 class="name" id="prime"><span class="type-signature"></span>prime<span class
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 63</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 69</li></ul></dd>
@@ -1493,7 +1549,7 @@ <h4 class="name" id="privileges"><span class="type-signature"></span>privileges<
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 70</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 76</li></ul></dd>
@@ -1548,7 +1604,7 @@ <h4 class="name" id="readOnly"><span class="type-signature"></span>readOnly<span
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 77</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 83</li></ul></dd>
@@ -1604,7 +1660,7 @@ <h4 class="name" id="readOnlyAttributes"><span class="type-signature"></span>rea
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 87</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 93</li></ul></dd>
@@ -1664,7 +1720,7 @@ <h4 class="name" id="READY"><span class="type-signature">&lt;constant> </span>RE
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1412</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1624</li></ul></dd>
@@ -1722,7 +1778,7 @@ <h4 class="name" id="READY_CLEAN"><span class="type-signature">&lt;constant> </s
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1422</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1634</li></ul></dd>
@@ -1780,7 +1836,7 @@ <h4 class="name" id="READY_DIRTY"><span class="type-signature">&lt;constant> </s
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1433</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1645</li></ul></dd>
@@ -1838,7 +1894,7 @@ <h4 class="name" id="READY_NEW"><span class="type-signature">&lt;constant> </spa
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1444</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1656</li></ul></dd>
@@ -1893,7 +1949,7 @@ <h4 class="name" id="recordType"><span class="type-signature"></span>recordType<
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 102</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 108</li></ul></dd>
@@ -1949,7 +2005,7 @@ <h4 class="name" id="requiredAttributes"><span class="type-signature"></span>req
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 110</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 116</li></ul></dd>
@@ -2007,7 +2063,7 @@ <h4 class="name" id="status"><span class="type-signature"></span>status<span cla
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 120</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 126</li></ul></dd>
@@ -2030,6 +2086,76 @@ <h3 class="subsection-title">Methods</h3>
<dl>
<dt>
+ <h4 class="name" id="build"><span class="type-signature"></span>build</h4>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ Overload: assume that anything calling this function is doing so because it
+ is building a model for a relation. In that case set the `isFetching` option
+ is true which will set it in a `BUSY_FETCHING` state when it is created.
+ </div>
+
+
+
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+ <dt class="inherited-from">Inherited From:</dt>
+ <dd class="inherited-from"><ul class="dummy"><li>
+ <a href="XM.Document.html#build">XM.Document#build</a>
+ </li></dd>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1542</li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+</dd>
+
+
+
+<dt>
<h4 class="name" id="canCreate"><span class="type-signature"></span>canCreate</h4>
@@ -2076,7 +2202,7 @@ <h4 class="name" id="canCreate"><span class="type-signature"></span>canCreate</h
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1185</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1343</li></ul></dd>
@@ -2163,7 +2289,7 @@ <h4 class="name" id="canDelete"><span class="type-signature"></span>canDelete</h
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 142</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 157</li></ul></dd>
@@ -2251,7 +2377,7 @@ <h4 class="name" id="canDelete"><span class="type-signature"></span>canDelete</h
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1217</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1375</li></ul></dd>
@@ -2409,7 +2535,7 @@ <h4 class="name" id="canDo"><span class="type-signature"></span>canDo</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1228</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1386</li></ul></dd>
@@ -2478,7 +2604,7 @@ <h4 class="name" id="canRead"><span class="type-signature"></span>canRead</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1195</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1353</li></ul></dd>
@@ -2565,7 +2691,7 @@ <h4 class="name" id="canUpdate"><span class="type-signature"></span>canUpdate</h
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 132</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 147</li></ul></dd>
@@ -2653,7 +2779,7 @@ <h4 class="name" id="canUpdate"><span class="type-signature"></span>canUpdate</h
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1206</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1364</li></ul></dd>
@@ -2739,7 +2865,7 @@ <h4 class="name" id="changeSet"><span class="type-signature"></span>changeSet</h
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 151</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 166</li></ul></dd>
@@ -2808,7 +2934,7 @@ <h4 class="name" id="didChange"><span class="type-signature"></span>didChange</h
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 186</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 201</li></ul></dd>
@@ -2877,7 +3003,7 @@ <h4 class="name" id="didDestroy"><span class="type-signature"></span>didDestroy<
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 214</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 229</li></ul></dd>
@@ -2945,7 +3071,7 @@ <h4 class="name" id="didError"><span class="type-signature"></span>didError</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 223</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 238</li></ul></dd>
@@ -3014,7 +3140,7 @@ <h4 class="name" id="fetchId"><span class="type-signature"></span>fetchId</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 373</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 401</li></ul></dd>
@@ -3108,7 +3234,7 @@ <h4 class="name" id="fetchNumber"><span class="type-signature"></span>fetchNumbe
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>document.js, line 217</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>document.js, line 224</li></ul></dd>
@@ -3292,7 +3418,7 @@ <h4 class="name" id="fetchRelated"><span class="type-signature"></span>fetchRela
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 408</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 435</li></ul></dd>
@@ -3477,7 +3603,7 @@ <h4 class="name" id="findExisting"><span class="type-signature"></span>findExist
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 478</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 505</li></ul></dd>
@@ -3662,7 +3788,7 @@ <h4 class="name" id="findExisting"><span class="type-signature"></span>findExist
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1333</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1505</li></ul></dd>
@@ -3715,7 +3841,7 @@ <h4 class="name" id="findOrCreate"><span class="type-signature"></span>findOrCre
<div class="description">
- Include `force` option.
+ Overload: Need to handle status here
</div>
@@ -3752,7 +3878,7 @@ <h4 class="name" id="findOrCreate"><span class="type-signature"></span>findOrCre
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1344</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1517</li></ul></dd>
@@ -3822,7 +3948,7 @@ <h4 class="name" id="getAttributeNames"><span class="type-signature"></span>getA
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 489</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 518</li></ul></dd>
@@ -3908,7 +4034,7 @@ <h4 class="name" id="getAttributeNames"><span class="type-signature"></span>getA
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1286</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1458</li></ul></dd>
@@ -3994,7 +4120,7 @@ <h4 class="name" id="getClass"><span class="type-signature"></span>getClass</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 498</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 527</li></ul></dd>
@@ -4128,7 +4254,7 @@ <h4 class="name" id="getObjectByName"><span class="type-signature"></span>getObj
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1298</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1470</li></ul></dd>
@@ -4263,7 +4389,7 @@ <h4 class="name" id="getParent"><span class="type-signature"></span>getParent</h
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 509</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 538</li></ul></dd>
@@ -4349,7 +4475,7 @@ <h4 class="name" id="getSearchableAttributes"><span class="type-signature"></spa
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1307</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1479</li></ul></dd>
@@ -4435,7 +4561,7 @@ <h4 class="name" id="getStatus"><span class="type-signature"></span>getStatus</h
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 529</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 558</li></ul></dd>
@@ -4521,7 +4647,7 @@ <h4 class="name" id="getStatusString"><span class="type-signature"></span>getSta
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 538</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 567</li></ul></dd>
@@ -4657,7 +4783,7 @@ <h4 class="name" id="getValue"><span class="type-signature"></span>getValue</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 562</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 591</li></ul></dd>
@@ -4704,15 +4830,23 @@ <h4 class="name" id="getValue"><span class="type-signature"></span>getValue</h4>
<dt>
- <h4 class="name" id="isDirty"><span class="type-signature"></span>isDirty</h4>
+ <h4 class="name" id="hasLockKey"><span class="type-signature"></span>hasLockKey</h4>
</dt>
<dd>
<div class="description">
- Returns true if status is `READY_NEW` or `READY_DIRTY`.
+ Returns true if you have the lock key, or if this model
+ is not lockable. (You can enter the room if you have no
+ key or if there is no lock!). When this value is true and the
+ `isLockable` is true it means the user has a application lock
+ on the object at the database level so that no other users can
+ edit the record.
+
+ This is not to be confused with the `isLocked` function that
+ is used by Backbone-relational to manage events on relations.
</div>
@@ -4733,7 +4867,7 @@ <h4 class="name" id="isDirty"><span class="type-signature"></span>isDirty</h4>
<dt class="inherited-from">Inherited From:</dt>
<dd class="inherited-from"><ul class="dummy"><li>
- <a href="XM.Document.html#isDirty">XM.Document#isDirty</a>
+ <a href="XM.Document.html#hasLockKey">XM.Document#hasLockKey</a>
</li></dd>
@@ -4749,7 +4883,7 @@ <h4 class="name" id="isDirty"><span class="type-signature"></span>isDirty</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 665</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 743</li></ul></dd>
@@ -4790,15 +4924,15 @@ <h4 class="name" id="isDirty"><span class="type-signature"></span>isDirty</h4>
<dt>
- <h4 class="name" id="isNew"><span class="type-signature"></span>isNew</h4>
+ <h4 class="name" id="isDirty"><span class="type-signature"></span>isDirty</h4>
</dt>
<dd>
<div class="description">
- Reimplemented. A model is new if the status is `READY_NEW`.
+ Returns true if status is `READY_NEW` or `READY_DIRTY`.
</div>
@@ -4819,7 +4953,7 @@ <h4 class="name" id="isNew"><span class="type-signature"></span>isNew</h4>
<dt class="inherited-from">Inherited From:</dt>
<dd class="inherited-from"><ul class="dummy"><li>
- <a href="XM.Document.html#isNew">XM.Document#isNew</a>
+ <a href="XM.Document.html#isDirty">XM.Document#isDirty</a>
</li></dd>
@@ -4835,7 +4969,7 @@ <h4 class="name" id="isNew"><span class="type-signature"></span>isNew</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 655</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 702</li></ul></dd>
@@ -4876,16 +5010,15 @@ <h4 class="name" id="isNew"><span class="type-signature"></span>isNew</h4>
<dt>
- <h4 class="name" id="isReadOnly"><span class="type-signature"></span>isReadOnly</h4>
+ <h4 class="name" id="isNew"><span class="type-signature"></span>isNew</h4>
</dt>
<dd>
<div class="description">
- Return whether the model is in a read-only state. If an attribute name or
- object is passed, returns whether those attributes are read-only.
+ Reimplemented. A model is new if the status is `READY_NEW`.
</div>
@@ -4894,15 +5027,170 @@ <h4 class="name" id="isReadOnly"><span class="type-signature"></span>isReadOnly<
- <h5>Parameters:</h5>
+
+
+<dl class="details">
+
+
+
+
-<table class="params">
- <thead>
- <tr>
-
- <th>Name</th>
-
+
+ <dt class="inherited-from">Inherited From:</dt>
+ <dd class="inherited-from"><ul class="dummy"><li>
+ <a href="XM.Document.html#isNew">XM.Document#isNew</a>
+ </li></dd>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 692</li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+ <h5>Returns:</h5>
+
+
+
+
+<dl>
+ <dt>
+ Type
+ </dt>
+ <dd>
+
+<span class="param-type">Boolean</span>
+
+
+ </dd>
+</dl>
+
+
+
+
+</dd>
+
+
+
+<dt>
+ <h4 class="name" id="isNotReady"><span class="type-signature"></span>isNotReady</h4>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ Returns true if the model is not in one of the `READY` statuses
+ </div>
+
+
+
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+ <dt class="inherited-from">Inherited From:</dt>
+ <dd class="inherited-from"><ul class="dummy"><li>
+ <a href="XM.Document.html#isNotReady">XM.Document#isNotReady</a>
+ </li></dd>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 722</li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+</dd>
+
+
+
+<dt>
+ <h4 class="name" id="isReadOnly"><span class="type-signature"></span>isReadOnly</h4>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ Return whether the model is in a read-only state. If an attribute name or
+ object is passed, returns whether those attributes are read-only.
+ </div>
+
+
+
+
+
+
+
+ <h5>Parameters:</h5>
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
<th>Type</th>
@@ -4973,7 +5261,7 @@ <h4 class="name" id="isReadOnly"><span class="type-signature"></span>isReadOnly<
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 680</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 757</li></ul></dd>
@@ -5014,6 +5302,74 @@ <h4 class="name" id="isReadOnly"><span class="type-signature"></span>isReadOnly<
<dt>
+ <h4 class="name" id="isReady"><span class="type-signature"></span>isReady</h4>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ Returns true if the model is in one of the `READY` statuses
+ </div>
+
+
+
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+ <dt class="inherited-from">Inherited From:</dt>
+ <dd class="inherited-from"><ul class="dummy"><li>
+ <a href="XM.Document.html#isReady">XM.Document#isReady</a>
+ </li></dd>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 711</li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+</dd>
+
+
+
+<dt>
<h4 class="name" id="isRequired"><span class="type-signature"></span>isRequired</h4>
@@ -5107,7 +5463,7 @@ <h4 class="name" id="isRequired"><span class="type-signature"></span>isRequired<
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 703</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 783</li></ul></dd>
@@ -5177,7 +5533,171 @@ <h4 class="name" id="isValid"><span class="type-signature"></span>isValid</h4>
<dt class="inherited-from">Inherited From:</dt>
<dd class="inherited-from"><ul class="dummy"><li>
- <a href="XM.Document.html#isValid">XM.Document#isValid</a>
+ <a href="XM.Document.html#isValid">XM.Document#isValid</a>
+ </li></dd>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 249</li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+ <h5>Returns:</h5>
+
+
+
+
+<dl>
+ <dt>
+ Type
+ </dt>
+ <dd>
+
+<span class="param-type">Boolean</span>
+
+
+ </dd>
+</dl>
+
+
+
+
+</dd>
+
+
+
+<dt>
+ <h4 class="name" id="notify"><span class="type-signature"></span>notify</h4>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ A utility function that triggers an `notify` event. Useful for passing along
+ non-critical information to the interface. Bind to `notify` to use.
+
+ var m = new XM.MyModel();
+ var raiseAlert = function (model, value, options) {
+ alert(value);
+ }
+ m.on('notify', raiseAlert);
+ </div>
+
+
+
+
+
+
+
+ <h5>Parameters:</h5>
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>Message</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">String</span>
+
+
+
+ </td>
+
+
+
+
+
+ <td class="description last"></td>
+ </tr>
+
+
+
+ <tr>
+
+ <td class="name"><code>Options</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">Object</span>
+
+
+
+ </td>
+
+
+
+
+
+ <td class="description last"></td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+ <dt class="inherited-from">Inherited From:</dt>
+ <dd class="inherited-from"><ul class="dummy"><li>
+ <a href="XM.Document.html#notify">XM.Document#notify</a>
</li></dd>
@@ -5193,7 +5713,7 @@ <h4 class="name" id="isValid"><span class="type-signature"></span>isValid</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 234</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 800</li></ul></dd>
@@ -5209,24 +5729,6 @@ <h4 class="name" id="isValid"><span class="type-signature"></span>isValid</h4>
- <h5>Returns:</h5>
-
-
-
-
-<dl>
- <dt>
- Type
- </dt>
- <dd>
-
-<span class="param-type">Boolean</span>
-
-
- </dd>
-</dl>
-
-
</dd>
@@ -5279,7 +5781,7 @@ <h4 class="name" id="original"><span class="type-signature"></span>original</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 244</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 809</li></ul></dd>
@@ -5365,7 +5867,7 @@ <h4 class="name" id="originalAttributes"><span class="type-signature"></span>ori
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 275</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 840</li></ul></dd>
@@ -5500,7 +6002,76 @@ <h4 class="name" id="parse"><span class="type-signature"></span>parse</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 713</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 850</li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+</dd>
+
+
+
+<dt>
+ <h4 class="name" id="releaseLock"><span class="type-signature"></span>releaseLock</h4>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ If the model has a lock on the object at the server level, it
+ will be released.
+ </div>
+
+
+
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+ <dt class="inherited-from">Inherited From:</dt>
+ <dd class="inherited-from"><ul class="dummy"><li>
+ <a href="XM.Document.html#releaseLock">XM.Document#releaseLock</a>
+ </li></dd>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 895</li></ul></dd>
@@ -5573,7 +6144,7 @@ <h4 class="name" id="releaseNumber"><span class="type-signature"></span>releaseN
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>document.js, line 245</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>document.js, line 252</li></ul></dd>
@@ -5628,7 +6199,7 @@ <h4 class="name" id="revertStatus"><span class="type-signature"></span>revertSta
<div class="description">
Revert the model to the previous status. Useful for reseting status
after a failed validation.
-
+
param {Boolean} - cascade
</div>
@@ -5666,7 +6237,7 @@ <h4 class="name" id="revertStatus"><span class="type-signature"></span>revertSta
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 755</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 912</li></ul></dd>
@@ -5735,7 +6306,7 @@ <h4 class="name" id="save"><span class="type-signature"></span>save</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>document.js, line 257</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>document.js, line 264</li></ul></dd>
@@ -5884,7 +6455,7 @@ <h4 class="name" id="setReadOnly"><span class="type-signature"></span>setReadOnl
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 847</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1006</li></ul></dd>
@@ -6001,7 +6572,7 @@ <h4 class="name" id="setStatus"><span class="type-signature"></span>setStatus</h
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 884</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1043</li></ul></dd>
@@ -6069,7 +6640,126 @@ <h4 class="name" id="sync"><span class="type-signature"></span>sync</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 944</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1103</li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+</dd>
+
+
+
+<dt>
+ <h4 class="name" id="used"><span class="type-signature"></span>used</h4>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ Determine whether this record has been referenced by another. By default
+ this function inspects foreign key relationships on the database, and is
+ therefore dependent on foreign key relationships existing where appropriate
+ to work correctly.
+ </div>
+
+
+
+
+
+
+
+ <h5>Parameters:</h5>
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>Options</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">Object</span>
+
+
+
+ </td>
+
+
+
+
+
+ <td class="description last"></td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+ <dt class="inherited-from">Inherited From:</dt>
+ <dd class="inherited-from"><ul class="dummy"><li>
+ <a href="XM.Document.html#used">XM.Document#used</a>
+ </li></dd>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1140</li></ul></dd>
@@ -6085,6 +6775,28 @@ <h4 class="name" id="sync"><span class="type-signature"></span>sync</h4>
+ <h5>Returns:</h5>
+
+
+<div class="param-desc">
+ Request
+</div>
+
+
+
+<dl>
+ <dt>
+ Type
+ </dt>
+ <dd>
+
+<span class="param-type">XT.Request</span>
+
+
+ </dd>
+</dl>
+
+
</dd>
@@ -6137,6 +6849,29 @@ <h4 class="name" id="used"><span class="type-signature"></span>used</h4>
<tr>
+ <td class="name"><code>Id</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">Number</span>
+
+
+
+ </td>
+
+
+
+
+
+ <td class="description last"></td>
+ </tr>
+
+
+
+ <tr>
+
<td class="name"><code>Options</code></td>
@@ -6188,7 +6923,7 @@ <h4 class="name" id="used"><span class="type-signature"></span>used</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 978</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1558</li></ul></dd>
@@ -6363,7 +7098,7 @@ <h4 class="name" id="validate"><span class="type-signature"></span>validate</h4>
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1004</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1167</li></ul></dd>
@@ -6505,7 +7240,7 @@ <h4 class="name" id="validateEdit"><span class="type-signature"></span>validateE
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1152</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1310</li></ul></dd>
@@ -6647,7 +7382,7 @@ <h4 class="name" id="validateSave"><span class="type-signature"></span>validateS
<dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>model.js, line 1166</li></ul></dd>
+ <dd class="tag-source"><ul class="dummy"><li>model.js, line 1324</li></ul></dd>
@@ -6683,13 +7418,13 @@ <h4 class="name" id="validateSave"><span class="type-signature"></span>validateS
</div>
<nav>
- <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="XM.Alarm.html">Alarm</a></li><li><a href="XM.Characteristic.html">Characteristic</a></li><li><a href="XM.CharacteristicAssignment.html">CharacteristicAssignment</a></li><li><a href="XM.CharacteristicCollection.html">CharacteristicCollection</a></li><li><a href="XM.CharacteristicOption.html">CharacteristicOption</a></li><li><a href="XM.Collection.html">Collection</a></li><li><a href="XM.Comment.html">Comment</a></li><li><a href="XM.CommentType.html">CommentType</a></li><li><a href="XM.CommentTypeCollection.html">CommentTypeCollection</a></li><li><a href="XM.CommentTypeSource.html">CommentTypeSource</a></li><li><a href="XM.Document.html">Document</a></li><li><a href="XM.DocumentAssignmentsMixin.html">DocumentAssignmentsMixin</a></li><li><a href="XM.Info.html">Info</a></li><li><a href="XM.Model.html">Model</a></li><li><a href="XM.Settings.html">Settings</a></li><li><a href="XM.Source.html">Source</a></li><li><a href="XM.SourceCollection.html">SourceCollection</a></li></ul>
+ <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="XM.Alarm.html">Alarm</a></li><li><a href="XM.Characteristic.html">Characteristic</a></li><li><a href="XM.CharacteristicAssignment.html">CharacteristicAssignment</a></li><li><a href="XM.CharacteristicCollection.html">CharacteristicCollection</a></li><li><a href="XM.CharacteristicOption.html">CharacteristicOption</a></li><li><a href="XM.Collection.html">Collection</a></li><li><a href="XM.Comment.html">Comment</a></li><li><a href="XM.CommentType.html">CommentType</a></li><li><a href="XM.CommentTypeCollection.html">CommentTypeCollection</a></li><li><a href="XM.CommentTypeSource.html">CommentTypeSource</a></li><li><a href="XM.Document.html">Document</a></li><li><a href="XM.DocumentAssignmentsMixin.html">DocumentAssignmentsMixin</a></li><li><a href="XM.Info.html">Info</a></li><li><a href="XM.Model.html">Model</a></li><li><a href="XM.Settings.html">Settings</a></li><li><a href="XM.Source.html">Source</a></li><li><a href="XM.SourceCollection.html">SourceCollection</a></li></ul><h3>Global</h3><ul><li><a href="global.html#addRelevantPrivileges">addRelevantPrivileges</a></li><li><a href="global.html#loadSessionObjects">loadSessionObjects</a></li><li><a href="global.html#privileges">privileges</a></li></ul>
</nav>
<br clear="both">
<footer>
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3</a> on Wed Nov 14 2012 14:30:05 GMT-0600 (CST)
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3</a> on Mon Mar 18 2013 08:04:25 GMT-0500 (CDT)
</footer>
<script> prettyPrint(); </script>
View
1,079 lib/backbone-x/docs/XM.Characteristic.html
@@ -4,12 +4,12 @@
<meta charset="utf-8">
<title>JSDoc: Class: Characteristic</title>
- <script src="http://shjs.sourceforge.net/sh_main.min.js"> </script>
- <script src="http://shjs.sourceforge.net/lang/sh_javascript.min.js"> </script>
+ <script src="scripts/prettify/prettify.js"> </script>
+ <script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
- <link type="text/css" rel="stylesheet" href="styles/node-dark.css">
+ <link type="text/css" rel="stylesheet" href="styles/prettify-jsdoc.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
@@ -37,64 +37,8 @@ <h1 class="page-title">Class: Characteristic</h1>
-
-<dt>
- <h4 class="name" id="Characteristic"><span class="type-signature"></span>new Characteristic</h4>
-
-
-</dt>
-<dd>
-
-
-
-
-
-
-
-
-
-
-<dl class="details">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <dt class="tag-source">Source:</dt>
- <dd class="tag-source"><ul class="dummy"><li>characteristic.js, line 9</li></ul></dd>
-
-
-