Trait

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

AsyncWrappedSyncRepository

Related Doc: package wrapped

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. type Ctx = EntityIOContext[Future]

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

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

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

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

    Permalink
    Definition Classes
    AsyncRepository → AsyncEntityWriter → Repository → EntityWriter

Abstract Value Members

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

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

    Permalink

    デリゲート。

    デリゲート。

    Attributes
    protected
    Definition Classes
    AsyncWrappedSyncEntityWriter

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 apply(identifier: ID)(implicit ctx: Ctx): Future[E]

    Permalink
    Definition Classes
    EntityReader
  5. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    EntityReader
  15. def finalize(): Unit

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

    Permalink

    EntityIOContextAsyncWrappedSyncEntityIOContextに変換する。

    EntityIOContextAsyncWrappedSyncEntityIOContextに変換する。

    ctx

    EntityIOContext

    returns

    AsyncWrappedSyncEntityIOContext

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    EntityWriter
  35. final def wait(): Unit

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

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

    Permalink
    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