Axelor class abstract

Implementers

Constructors

Axelor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

pageSize int
no setter

Static Methods

canLoadMore({int? pageSize, required int? total, required int? page}) bool
close() → void
create<T extends AxelorModel>({required bool baseDomain, required String model, required AxelorMapper<T> mapper, required AxelorBody body, String? endPoint, bool withAuth = true, Map<String, dynamic>? params, Map<String, dynamic>? headers}) Future<AxelorResult<T>>
create model in axelor backend
delete({required bool baseDomain, required String model, required int id, String? endPoint, bool withAuth = true, Map<String, dynamic>? params, Map<String, dynamic>? headers}) Future<AxelorResult<AxelorVersionModel>>
delete model from axelor backend
deleteAll({required bool baseDomain, required String model, required List<AxelorVersionModel> records, String? endPoint, bool withAuth = true, Map<String, dynamic>? params, Map<String, dynamic>? headers}) Future<AxelorResult<AxelorListModel<AxelorVersionModel>>>
delete all models in axelor backend This is a specialized delete service besides the standard REST service to delete records in bulk.
fetch<T extends AxelorModel>({required bool baseDomain, required String model, required int id, required AxelorMapper<T> mapper, String? endPoint, bool withAuth = true, Map<String, dynamic>? params, Map<String, dynamic>? headers, AxelorBody? body}) Future<AxelorResult<T>>
fetch model from axelor backend
initialize({required AxelorBuilder builder}) Axelor
search model from axelor backend
update<T extends AxelorModel>({required bool baseDomain, required String model, required int id, required AxelorMapper<T> mapper, required AxelorBody body, int? version, String? endPoint, bool withAuth = true, Map<String, dynamic>? params, Map<String, dynamic>? headers}) Future<AxelorResult<T>>
update model in axelor backend