jaydata-reso
Version:
Jaydata fork for RESO Web API
18 lines (15 loc) • 598 B
JavaScript
$data.Class.define('$data.Transaction', null, null, {
constructor: function () {
this._objectId = (new Date()).getTime();
$data.Trace.log("create: ", this._objectId);
this.oncomplete = new $data.Event("oncomplete", this);
this.onerror = new $data.Event("onerror", this);
},
abort: function () {
Guard.raise(new Exception('Not Implemented', 'Not Implemented', arguments));
},
_objectId: { type: $data.Integer },
transaction: { type: $data.Object },
oncomplete: { type: $data.Event },
onerror: { type: $data.Event }
}, null);