org.sisioh.dddbase.lifecycle.forwarding.async.wrapped

AsyncWrappedSyncRepository

trait AsyncWrappedSyncRepository[ID <: Identifier[_], E <: Entity[ID]] extends AsyncWrappedSyncEntityReader[ID, E] with AsyncWrappedSyncEntityWriter[ID, E] with AsyncRepository[ID, E]

SyncRepositoryAsyncRepositoryとしてラップするためのデコレータ。

ID

識別子の型

E

エンティティの型

Linear Supertypes
AsyncRepository[ID, E], Repository[ID, E, Future], AsyncWrappedSyncEntityWriter[ID, E], AsyncEntityWriter[ID, E], EntityWriter[ID, E, Future], AsyncWrappedSyncEntityReader[ID, E], AsyncWrappedSyncEntityIO, AsyncEntityReader[ID, E], EntityReader[ID, E, Future], AsyncEntityIO, EntityIO[Future], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AsyncWrappedSyncRepository
  2. AsyncRepository
  3. Repository
  4. AsyncWrappedSyncEntityWriter
  5. AsyncEntityWriter
  6. EntityWriter
  7. AsyncWrappedSyncEntityReader
  8. AsyncWrappedSyncEntityIO
  9. AsyncEntityReader
  10. EntityReader
  11. AsyncEntityIO
  12. EntityIO
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Ctx = EntityIOContext[Future]

    Definition Classes
    EntityIO
  2. abstract type Delegate <: SyncRepository[ID, E]

  3. type Result = AsyncResultWithEntity[This, ID, E]

    Definition Classes
    AsyncEntityWriter → EntityWriter
  4. type Results = AsyncResultWithEntities[This, ID, E]

    Definition Classes
    AsyncEntityWriter → EntityWriter
  5. abstract type This <: AsyncRepository[ID, E]

    Definition Classes
    AsyncRepository → AsyncEntityWriter → Repository → EntityWriter

Abstract Value Members

  1. abstract def createInstance(state: (Delegate.This, Option[E])): (This, Option[E])

    Attributes
    protected
    Definition Classes
    AsyncWrappedSyncEntityWriter
  2. abstract val delegate: Delegate

    デリゲート。

    デリゲート。

    Attributes
    protected
    Definition Classes
    AsyncWrappedSyncEntityWriter

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(identifier: ID)(implicit ctx: Ctx): Future[E]

    Definition Classes
    EntityReader
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def deleteBy(identifier: ID)(implicit ctx: Ctx): Future[Result]

    Definition Classes
    AsyncWrappedSyncEntityWriter → EntityWriter
  10. def deleteByMulti(identifiers: ID*)(implicit ctx: Ctx): Future[Results]

    Definition Classes
    EntityWriter
  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def exist(entity: E)(implicit ctx: Ctx): Future[Boolean]

    Definition Classes
    EntityReader
  14. def existBy(identifier: ID)(implicit ctx: Ctx): Future[Boolean]

    Definition Classes
    AsyncWrappedSyncEntityReader → EntityReader
  15. def existByMulti(identifiers: ID*)(implicit ctx: Ctx): Future[Boolean]

    Definition Classes
    EntityReader
  16. def existMulti(entities: E*)(implicit ctx: Ctx): Future[Boolean]

    Definition Classes
    EntityReader
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def getAsyncWrappedEntityIOContext(ctx: Ctx): AsyncWrappedSyncEntityIOContext

    EntityIOContextAsyncWrappedSyncEntityIOContextに変換する。

    EntityIOContextAsyncWrappedSyncEntityIOContextに変換する。

    ctx

    EntityIOContext

    returns

    AsyncWrappedSyncEntityIOContext

    Attributes
    protected
    Definition Classes
    AsyncWrappedSyncEntityIO
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def getExecutionContext(ctx: Ctx): ExecutionContext

    Attributes
    protected
    Definition Classes
    AsyncEntityIO
  21. def hashCode(): Int

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

    Definition Classes
    Any
  23. def mapValues[A, R](values: Future[A])(f: (A) ⇒ R)(implicit ctx: Ctx): Future[R]

    Attributes
    protected
    Definition Classes
    AsyncEntityReader → EntityReader
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def resolveBy(identifier: ID)(implicit ctx: Ctx): Future[E]

    Definition Classes
    AsyncWrappedSyncEntityReader → EntityReader
  28. def resolveByMulti(identifiers: ID*)(implicit ctx: Ctx): Future[Seq[E]]

    Definition Classes
    EntityReader
  29. def store(entity: E)(implicit ctx: Ctx): Future[Result]

    Definition Classes
    AsyncWrappedSyncEntityWriter → EntityWriter
  30. def storeMulti(entities: E*)(implicit ctx: Ctx): Future[Results]

    Definition Classes
    EntityWriter
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def traverse[A, R](values: Seq[A], forceSuccess: Boolean)(f: (A) ⇒ Future[R])(implicit ctx: Ctx): Future[Seq[R]]

    Attributes
    protected
    Definition Classes
    AsyncEntityReader → EntityReader
  34. final def traverseWithThis[A](values: Seq[A])(processor: (This, A) ⇒ Future[Result])(implicit ctx: Ctx): Future[Results]

    Attributes
    protected
    Definition Classes
    AsyncEntityWriter → EntityWriter
  35. def traverseWithoutFailures[A, R](values: Seq[A])(f: (A) ⇒ Future[R])(implicit ctx: Ctx): Future[Seq[R]]

    Attributes
    protected
    Definition Classes
    EntityReader
  36. def update(identifier: ID, entity: E)(implicit ctx: Ctx): Future[Result]

    Definition Classes
    EntityWriter
  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AsyncRepository[ID, E]

Inherited from Repository[ID, E, Future]

Inherited from AsyncWrappedSyncEntityWriter[ID, E]

Inherited from AsyncEntityWriter[ID, E]

Inherited from EntityWriter[ID, E, Future]

Inherited from AsyncWrappedSyncEntityReader[ID, E]

Inherited from AsyncWrappedSyncEntityIO

Inherited from AsyncEntityReader[ID, E]

Inherited from EntityReader[ID, E, Future]

Inherited from AsyncEntityIO

Inherited from EntityIO[Future]

Inherited from AnyRef

Inherited from Any

Ungrouped