org.sisioh.dddbase.core.lifecycle

EntityReader

Related Doc: package lifecycle

trait EntityReader[ID <: Identifier[_], E <: Entity[ID], M[+_]] extends EntityIO[M]

Identifier を用いて Entity を読み込むための責務を表すトレイト。

ID

識別子の型

E

エンティティの型

M

モナド

Self Type
EntityReader[ID, E, M]
Linear Supertypes
EntityIO[M], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EntityReader
  2. EntityIO
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Ctx = EntityIOContext[M]

    Definition Classes
    EntityIO

Abstract Value Members

  1. abstract def existBy(identifier: ID)(implicit ctx: Ctx): M[Boolean]

  2. abstract def mapValues[A, R](values: M[A])(f: (A) ⇒ R)(implicit ctx: Ctx): M[R]

    Attributes
    protected
  3. abstract def resolveBy(identifier: ID)(implicit ctx: Ctx): M[E]

  4. abstract def traverse[A, R](values: Seq[A], forceSuccess: Boolean = false)(f: (A) ⇒ M[R])(implicit ctx: Ctx): M[Seq[R]]

    Attributes
    protected

Concrete Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def apply(identifier: ID)(implicit ctx: Ctx): M[E]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

  10. def existByMulti(identifiers: ID*)(implicit ctx: Ctx): M[Boolean]

  11. def existMulti(entities: E*)(implicit ctx: Ctx): M[Boolean]

  12. def finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  19. def resolveByMulti(identifiers: ID*)(implicit ctx: Ctx): M[Seq[E]]

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

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. def traverseWithoutFailures[A, R](values: Seq[A])(f: (A) ⇒ M[R])(implicit ctx: Ctx): M[Seq[R]]

    Attributes
    protected
  23. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EntityIO[M]

Inherited from AnyRef

Inherited from Any

Ungrouped