CRUDRepositoryFrameworkAsync<Entity extends BasicEntityObject> class
abstract
Default CRUD repository of type Entity extends BasicEntityObject for External Async operations. Implemented by the framework, the external library of persistence.
- Inheritance
-
- Object
- AbstractFrameworkRepo
- CRUDRepositoryFrameworkAsync
Constructors
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
-
count(
) → Future< int> - Count the amount of domains. By default calling the length of findAll().
-
create(
Entity newObject) → Future< Entity> - Create the entity.
-
delete(
Entity objectToDestroy) → Future< void> - Destroy the entity.
-
deleteById(
int id) → Future< void> - Destroy the entity by it's id.
-
dispose(
) → Future< void> -
edit(
Entity objectToEdit) → Future< Entity> - Edit the entity.
-
findAll(
) → Future< List< Entity> > - Find all entities.
-
findById(
int keyId) → Future< Entity?> - Find the correspondent entity by it's Key Id.
-
init(
) → Future< void> -
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