_CrudMixin

This mixin can be used for objects that support Create, Read, Update and Delete (CRUD) actions. Adding the mixin typically helps domain objects to keep track of these actions in order to answer questions like:

  • When was the object created?
  • When was it last modified?
  • Who modified the object last?
Example
define([
  "blueconic/api/data/domain/_CrudMixin"
], function(_CrudMixin) {
  // ...
});

Extends

Properties

inherited id String

Unique id of the domain object. Should not be null or empty.

inherited isPersistent Boolean

Is this instance already persisted? If not, this object only 'lives' client-side.

inherited name String

The readable name of the domain object. Should not be null or empty.