works.iterative.entity
package works.iterative.entity
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class ARCommandResult[Id, Command, Event, State](command: ARCommand[Id, Command], originalState: State, newState: State, events: Seq[AREvent[Id, Event]])
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
Show all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
trait AggregateRootFactory[Id, Command, Event, State, T <: AggregateRoot[Id, Command, Event, State]]()
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
sealed trait CommandError[Id, Command, Event, State] extends AggregateError[Id, Command, Event, State]
Attributes
- Supertypes
- Known subtypes
-
case class EntityAlreadyExists[Id, Command, Event, State](entityId: String, id: Id) extends FactoryError[Id, Command, Event, State]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
Generic class for entity factories.
Generic class for entity factories.
Creates a new entity from a "seed".
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
case class EntityNotFound[Id, Command, Event, State](entityId: String, id: Id) extends FactoryError[Id, Command, Event, State]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
trait EntityService[Id, Command, Event, State, Init] extends EntityCreateService[Id, Command, Event, State, Init], EntityUpdateService[Id, Command, Event, State]
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
sealed trait EventError[Id, Command, Event, State] extends AggregateError[Id, Command, Event, State]
Attributes
- Supertypes
- Known subtypes
-
sealed trait FactoryError[Id, Command, Event, State] extends AggregateError[Id, Command, Event, State]
Attributes
- Supertypes
- Known subtypes
-
class GeneratingFactory[Entity, Seed, Id](constructor: Seed => Validated[Id => Entity], idGenerator: IdGenerator[Id]) extends EntityFactory[Entity, Seed]
A factory using idGenerator to create the entity
A factory using idGenerator to create the entity
Attributes
- Supertypes
case class InvalidCommand[Id, Command, Event, State](command: ARCommand[Id, Command], state: State, message: UserMessage) extends CommandError[Id, Command, Event, State]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class InvalidRequest[Id, Command, Event, State](message: UserMessage) extends AggregateError[Id, Command, Event, State]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class UnhandledCommand[Id, Command, Event, State](command: ARCommand[Id, Command], state: State) extends CommandError[Id, Command, Event, State]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class UnhandledEvent[Id, Command, Event, State](event: AREvent[Id, Event], state: State) extends EventError[Id, Command, Event, State]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
In this article