KeyValueRepo class
- Inheritance
Constructors
Properties
-
converter
↔ Converter<
KeyValueDomain, KeyValueEntity> -
Converter of this repo, hadler of transaction domain <==> entity
getter/setter pairinherited
- externalRepo ↔ KeyValueObjectBox
-
External repo, the one who really do the operations.
getter/setter pairinherited
- 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 domains.
inherited
-
create(
KeyValueDomain newObject) → KeyValueDomain -
Create the domain
Return the domain after been persisted, the returned domain have the
properties assigned by the repo, like the new id.
inherited
-
delete(
KeyValueDomain objectToDestroy) → void -
Destroy the domain.
inherited
-
deleteById(
int id) → void -
Destroy the domain.
inherited
-
dispose(
) → void -
inherited
-
edit(
KeyValueDomain objectToEdit) → KeyValueDomain -
Edit the domain
inherited
-
findAll(
) → List< KeyValueDomain> -
Find all domains
inherited
-
findById(
int keyId) → KeyValueDomain? -
Find the correspondent domain by it's Key Id.
inherited
-
init(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → KeyValueEntity? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited