Trait

io.funcqrs.dsl

Binding

Related Doc: package dsl

Permalink

trait Binding[A <: AggregateLike] extends AggregateAliases

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Binding
  2. AggregateAliases
  3. ProtocolAliases
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Aggregate = A

    Permalink

    The Aggregate type.

    The Aggregate type. This is the only (abstract) type member to be defined.

    All other type members are aliases defined by type projection of inner types from Aggregate type itself.

    Definition Classes
    BindingAggregateAliases
  2. type Command = ProtocolAliases.Protocol.ProtocolCommand

    Permalink

    Alias for Aggregate's ProtocolCommand

    Alias for Aggregate's ProtocolCommand

    Definition Classes
    ProtocolAliases
  3. type Event = ProtocolAliases.Protocol.ProtocolEvent

    Permalink

    Alias for Aggregate's ProtocolEvent

    Alias for Aggregate's ProtocolEvent

    Definition Classes
    ProtocolAliases
  4. type Events = Seq[Event]

    Permalink

    Alias for an immutable Seq of Aggregate's ProtocolEvent

    Alias for an immutable Seq of Aggregate's ProtocolEvent

    Definition Classes
    ProtocolAliases
  5. type Id = A.Id

    Permalink

    Alias for Aggregate#Id

    Alias for Aggregate#Id

    Definition Classes
    AggregateAliases
  6. trait ManyEventsBinder[F[_]] extends AnyRef

    Permalink
  7. type Protocol = A.Protocol

    Permalink

    Alias for Aggregate#Protocol

    Alias for Aggregate#Protocol

    Definition Classes
    AggregateAliasesProtocolAliases

Abstract Value Members

  1. abstract def asyncHandler: ManyEventsBinder[Future]

    Permalink
  2. abstract def asyncHandler[C <: Command, E <: Event](cmdHandler: (C) ⇒ Future[E])(implicit arg0: ClassTag[C]): Binding[Aggregate]

    Permalink
  3. abstract def cmdHandlerInvokers: CommandToInvoker[ProtocolAliases.Protocol.ProtocolCommand, ProtocolAliases.Protocol.ProtocolEvent]

    Permalink
  4. abstract def eventListeners: EventToAggregate[ProtocolAliases.Protocol.ProtocolEvent, A]

    Permalink
  5. abstract def handler: ManyEventsBinder[Identity]

    Permalink
  6. abstract def handler[C <: Command, E <: Event](cmdHandler: (C) ⇒ Identity[E])(implicit arg0: ClassTag[C]): Binding[Aggregate]

    Permalink
  7. abstract def listener[E <: Event](eventListener: (E) ⇒ A)(implicit arg0: ClassTag[E]): Binding[Aggregate]

    Permalink
  8. abstract def reject(cmdHandler: PartialFunction[Command, Throwable]): Binding[Aggregate]

    Permalink
  9. abstract def rejectCmdInvokers: CommandToInvoker[ProtocolAliases.Protocol.ProtocolCommand, ProtocolAliases.Protocol.ProtocolEvent]

    Permalink
  10. abstract def tryHandler: ManyEventsBinder[Try]

    Permalink
  11. abstract def tryHandler[C <: Command, E <: Event](cmdHandler: (C) ⇒ Try[E])(implicit arg0: ClassTag[C]): Binding[Aggregate]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def asyncCommandHandler: ManyEventsBinder[Future]

    Permalink
  6. def asyncCommandHandler[C <: Command, E <: Event](cmdHandler: (C) ⇒ Future[E])(implicit arg0: ClassTag[C]): Binding[Aggregate]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def commandHandler: ManyEventsBinder[Identity]

    Permalink
  9. def commandHandler[C <: Command, E <: Event](cmdHandler: (C) ⇒ Identity[E])(implicit arg0: ClassTag[C]): Binding[Aggregate]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def eventListener[E <: Event](eventListener: (E) ⇒ A)(implicit arg0: ClassTag[E]): Binding[Aggregate]

    Permalink
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def rejectCommand(cmdHandler: PartialFunction[Command, Throwable]): Binding[Aggregate]

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def tryCommandHandler: ManyEventsBinder[Try]

    Permalink
  24. def tryCommandHandler[C <: Command, E <: Event](cmdHandler: (C) ⇒ Try[E])(implicit arg0: ClassTag[C]): Binding[Aggregate]

    Permalink
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AggregateAliases

Inherited from ProtocolAliases

Inherited from AnyRef

Inherited from Any

Ungrouped