v7.3.0

AbstractCrudManager
Abstract

This is an abstract class serving as the base for the CrudManager class. It implements basic mechanisms to organize batch communication with a server. Yet it does not contain methods related to data transfer nor encoding. These methods are to be provided in sub-classes by consuming the appropriate mixins.

For example, this is how the class can be used to implement an JSON encoding system:

// let's make new CrudManager using AJAX as a transport system and JSON for encoding
class MyCrudManager extends JsonEncode(AjaxTransport(AbstractCrudManager)) {

}

Data transfer and encoding methods

These are methods that must be provided by subclasses of this class:

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class

Properties

Properties are getters/setters or publicly accessible variables on this class
  • revision : Number
    READONLY

    The server revision stamp. The revision stamp is a number which should be incremented after each server-side change. This property reflects the current version of the data retrieved from the server and gets updated after each load and sync call.

  • A list of registered stores whose server communication will be collected into a single batch. Each store is represented by a store descriptor.

    Has a corresponding stores config.

  • isLoading : Boolean
    READONLY

    Returns true if the crud manager is currently loading data

  • isAbstractCrudManager : Booleantrue
    READONLY
    ADVANCED
    Identifies an object as an instance of AbstractCrudManager class, or subclass thereof.

Functions

Functions are methods available for calling on the class

    Type definitions

    Source path

    Scheduler/crud/AbstractCrudManager.js

    Contents