ReadUseCase<Domain extends BasicDomainObject<IntIdentifier>> class abstract

AbstractUseCase of Read operations, of type Domain extends BasicDomainObject. Generally not implemented, instead extends the repo from DefaultReadUseCase.

See AbstractUseCase for general info.

EXAMPLE: This is the definition of Parent ReadUseCase, it need to be implemented after, implementation example at DefaultReadUseCase.

  abstract class ParentUseCase extends ReadUseCase<ParentDomain> {
    void doStuffInUseCase();
  }
Implemented types
Implementers

Constructors

ReadUseCase()

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() int
Count the amount of domains. By default calling the length of findAll().
dispose() → void
findAll() List<Domain>
Find all domains.
findBy(int keyId) → Domain
Find the correspondent domain by it's Key Id.
init() → 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