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
-
- Object
- CRUDObjectBox<
Entity> - CRUDObjectBox_Impl
- Implementers
Constructors
- CRUDObjectBox_Impl(Store _store)
Properties
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