Trait

pl.newicom.dddd.aggregate

AggregateRoot

Related Doc: package aggregate

Permalink

trait AggregateRoot[S <: AggregateState] extends BusinessEntity with GracefulPassivation with PersistentActor with EventHandler with Deduplication with ActorLogging

Linear Supertypes
ActorLogging, Deduplication, EventHandler, PersistentActor, Eventsourced, PersistenceRecovery, PersistenceIdentity, StashFactory, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, Snapshotter, GracefulPassivation, Actor, BusinessEntity, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AggregateRoot
  2. ActorLogging
  3. Deduplication
  4. EventHandler
  5. PersistentActor
  6. Eventsourced
  7. PersistenceRecovery
  8. PersistenceIdentity
  9. StashFactory
  10. Stash
  11. RequiresMessageQueue
  12. UnrestrictedStash
  13. StashSupport
  14. Snapshotter
  15. GracefulPassivation
  16. Actor
  17. BusinessEntity
  18. AnyRef
  19. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type AggregateRootFactory = PartialFunction[DomainEvent, S]

    Permalink
  2. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Abstract Value Members

  1. abstract val factory: AggregateRootFactory

    Permalink
  2. abstract def handleCommand: Receive

    Permalink
  3. abstract val pc: PassivationConfig

    Permalink
    Definition Classes
    GracefulPassivation

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. def acknowledgeCommand(result: Any): Unit

    Permalink
  5. def acknowledgeCommandProcessed(msg: Message, result: Try[Any] = Success("OK")): Unit

    Permalink
  6. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  7. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  8. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  9. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  10. def aroundReceive(receive: Receive, message: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def commandMessage: CommandMessage

    Permalink

    Command message being processed.

    Command message being processed. Not available during recovery

  14. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  15. def deferAsync[A](event: A)(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
  16. def deleteMessages(toSequenceNr: Long): Unit

    Permalink
    Definition Classes
    Eventsourced
  17. def deleteSnapshot(sequenceNr: Long): Unit

    Permalink
    Definition Classes
    Snapshotter
  18. def deleteSnapshots(criteria: SnapshotSelectionCriteria): Unit

    Permalink
    Definition Classes
    Snapshotter
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def handle(senderRef: ActorRef, event: DomainEventMessage): Unit

    Permalink

    Event handler, not invoked during recovery.

    Event handler, not invoked during recovery.

    Definition Classes
    AggregateRootEventHandler
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def id: String

    Permalink
    Definition Classes
    AggregateRoot → BusinessEntity
  26. def initialized: Boolean

    Permalink
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def journalPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  29. def lastSequenceNr: Long

    Permalink
    Definition Classes
    Eventsourced
  30. def loadSnapshot(persistenceId: String, criteria: SnapshotSelectionCriteria, toSequenceNr: Long): Unit

    Permalink
    Definition Classes
    Snapshotter
  31. def log: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  32. def messageProcessed(m: Message): Unit

    Permalink
    Definition Classes
    Deduplication
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  36. def onPersistFailure(cause: Throwable, event: Any, seqNr: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  37. def onPersistRejected(cause: Throwable, event: Any, seqNr: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  38. def onRecoveryFailure(cause: Throwable, event: Option[Any]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  39. def persist[A](event: A)(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
  40. def persistAll[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
  41. def persistAllAsync[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
  42. def persistAsync[A](event: A)(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
  43. def persistenceId: String

    Permalink
    Definition Classes
    AggregateRoot → PersistenceIdentity
  44. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  45. def postStop(): Unit

    Permalink
    Definition Classes
    UnrestrictedStash → Actor
  46. def preRestart(reason: Throwable, msgOpt: Option[Any]): Unit

    Permalink
    Definition Classes
    AggregateRoot → UnrestrictedStash → Actor
  47. def preStart(): Unit

    Permalink
    Definition Classes
    GracefulPassivation → Actor
  48. def raise(event: DomainEvent): Unit

    Permalink
  49. def receive: Receive

    Permalink
    Definition Classes
    AggregateRoot → PersistentActor → Actor
  50. def receiveCommand: Receive

    Permalink
    Definition Classes
    AggregateRoot → Eventsourced
  51. def receiveDuplicate(handleDuplicate: (Message) ⇒ Unit): akka.actor.Actor.Receive

    Permalink
    Definition Classes
    Deduplication
  52. def receiveRecover: Receive

    Permalink
    Definition Classes
    AggregateRoot → Eventsourced
  53. def recovery: Recovery

    Permalink
    Definition Classes
    PersistenceRecovery
  54. def recoveryFinished: Boolean

    Permalink
    Definition Classes
    Eventsourced
  55. def recoveryRunning: Boolean

    Permalink
    Definition Classes
    Eventsourced
  56. def saveSnapshot(snapshot: Any): Unit

    Permalink
    Definition Classes
    Snapshotter
  57. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  58. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  59. def snapshotPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  60. def snapshotSequenceNr: Long

    Permalink
    Definition Classes
    Eventsourced → Snapshotter
  61. def snapshotterId: String

    Permalink
    Definition Classes
    Eventsourced → Snapshotter
  62. def stash(): Unit

    Permalink
    Definition Classes
    StashSupport
  63. def state: S

    Permalink
  64. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  66. def toDomainEventMessage(persisted: EventMessage): DomainEventMessage

    Permalink
  67. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  68. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Eventsourced → Actor
  69. def unstashAll(): Unit

    Permalink
    Definition Classes
    Eventsourced → StashSupport
  70. def updateState(em: EventMessage): Unit

    Permalink
  71. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. def wasProcessed(m: Message): Boolean

    Permalink
    Definition Classes
    Deduplication

Deprecated Value Members

  1. def persist[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4) use persistAll instead

  2. def persistAsync[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4) use persistAllAsync instead

Inherited from ActorLogging

Inherited from Deduplication

Inherited from EventHandler

Inherited from PersistentActor

Inherited from Eventsourced

Inherited from PersistenceRecovery

Inherited from PersistenceIdentity

Inherited from StashFactory

Inherited from Stash

Inherited from RequiresMessageQueue[DequeBasedMessageQueueSemantics]

Inherited from UnrestrictedStash

Inherited from StashSupport

Inherited from Snapshotter

Inherited from GracefulPassivation

Inherited from Actor

Inherited from BusinessEntity

Inherited from AnyRef

Inherited from Any

Ungrouped