-
add()
-
Handle status change.
#refactor XXX just by calling collection.add(new Model()), my new model
becomes magically READY_CLEAN instead of EMPTY or READY_NEW ??
- Inherited From:
- Source:
-
autoSync()
-
Syncs the collection with the changed model.
This:
- Inherited From:
- Source:
-
fetch()
-
Retrieve records from the xTuple data source.
Optionally retrieve a subset by passing query parameters.
- Inherited From:
- Source:
-
getObjectByName()
-
Convenience wrapper for the backbone-relational function by the same name.
- Inherited From:
- Source:
-
getStatus() → {Number}
-
Return the current status.
- Inherited From:
- Source:
Returns:
-
Type
-
Number
-
setStatus(Status)
-
Set the status on the model. Triggers `statusChange` event.
Parameters:
Name |
Type |
Description |
Status |
Number
|
|
- Inherited From:
- Source:
-
sync()
-
Sync to xTuple data source.
- Inherited From:
- Source: