CRUDObjectBox_Impl<Entity extends EntityObject> class

EXAMPLE: This is the implementation of DefaultObjectBoxCRUDRepositoryExternal.

  class ParentObjectBox
      extends CRUDObjectBox_Impl<ParentEntity> {
    ParentObjectBox(Store store) : super(store);
  }

Inheritance
Implementers

Constructors

CRUDObjectBox_Impl(Store _store)

Properties

box Box<Entity>
no setter
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() int
Count the amount of entity. By default calling the length of findAll().
override
create(Entity newEntity) → Entity
Create the entity.
override
delete(Entity objectToDestroy) → void
Destroy the entity.
override
deleteById(int id) → void
Destroy the entity by it's id.
override
dispose() → void
override
edit(Entity entity) → Entity
Edit the entity.
override
findAll() List<Entity>
Find all entity.
override
findById(int keyId) → Entity?
Find the correspondent entity by it's Key Id.
override
init() → void
override
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