CRUDRepositoryExternal<Entity extends BasicEntityObject<BasicDomainObject<IntIdentifier> > > class
Null safety
Default CRUD repository of type Entity extends BasicEntityObject for External operations. Implemented by the framework, the external library of persistence.
EXAMPLE://todo: change example External repo in clean-core example
class ParentRepoExternal
extends ObjectBoxCRUDRepositoryExternal<ParentEntity> {
ParentRepoExternal(Store store) : super(store);
}
- Inheritance
- Object
- AbstractExternalRepo
- CRUDRepositoryExternal
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
count(
) → int - Count the amount of domains. By default calling the length of findAll().
-
create(
Entity newObject) → Entity - Create the domain.
-
destroy(
Entity objectToDestroy) → Entity - Destroy the domain.
-
dispose(
) → void -
edit(
Entity objectToEdit) → Entity - Edit the domain.
-
findAll(
) → List< Entity> - Find all domains.
-
findBy(
int keyId) → Entity - Find the correspondent domain by it's Key Id.
-
init(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited