entitytled.RelationshipComponent

ManySideLoading

Related Doc: package RelationshipComponent

class ManySideLoading[From <: (RelationshipComponent.this)#EntityTable[E], To <: scala.slick.driver.JdbcProfile.SimpleQL.Table[T], E <: (RelationshipComponent.this)#Entity[E], T] extends (RelationshipComponent.this)#SideLoadingRelationship[From, To, E, T, Seq[T]] with (RelationshipComponent.this)#ToManyRelationship[From, To, E, T]

Wraps 'to many' relationships for side-loading one or more side-loadables.

Linear Supertypes
(RelationshipComponent.this)#ToManyRelationship[From, To, E, T], (RelationshipComponent.this)#SideLoadingRelationship[From, To, E, T, Seq[T]], (RelationshipComponent.this)#Relationship[From, To, E, T, Seq[T]], (RelationshipComponent.this)#SideLoadable[From, E], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ManySideLoading
  2. ToManyRelationship
  3. SideLoadingRelationship
  4. Relationship
  5. SideLoadable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ManySideLoading(relationship: (RelationshipComponent.this)#Relationship[From, To, E, T, Seq[T]] with (RelationshipComponent.this)#ToManyRelationship[From, To, E, T], sideLoads: Seq[(RelationshipComponent.this)#SideLoadable[To, T]])

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  8. def fetchFor(id: E.IdType)(implicit session: scala.slick.driver.JdbcProfile.SimpleQL.Session): Seq[T]

    Fetches the owned relation for the owner entity with the given id.

    Fetches the owned relation for the owner entity with the given id.

    Definition Classes
    ManySideLoadingToManyRelationshipRelationship
  9. def fetchFor(instance: E)(implicit session: scala.slick.driver.JdbcProfile.SimpleQL.Session): Seq[T]

    Definition Classes
    ToManyRelationship
  10. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  13. def include(sideLoad: (RelationshipComponent.this)#SideLoadable[To, T]*): (RelationshipComponent.this)#ManySideLoading[From, To, E, T]

    Include side-loadables for the owned relation.

    Include side-loadables for the owned relation.

    Definition Classes
    ManySideLoadingToManyRelationshipRelationship
  14. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  18. def queryFor(id: E.IdType): scala.slick.driver.JdbcProfile.SimpleQL.Query[To, T, Seq]

    Returns a query for the owned relation for the owner entity with the given id.

    Returns a query for the owned relation for the owner entity with the given id.

    Definition Classes
    SideLoadingRelationshipRelationship
  19. val relationship: (RelationshipComponent.this)#Relationship[From, To, E, T, Seq[T]] with (RelationshipComponent.this)#ToManyRelationship[From, To, E, T]

  20. def sideLoadOn(instance: E, query: scala.slick.driver.JdbcProfile.SimpleQL.Query[From, E, Seq])(implicit session: scala.slick.driver.JdbcProfile.SimpleQL.Session): E

    Side-load the side-loadable on a single instance.

    Side-load the side-loadable on a single instance.

    Side-load the side-loadable on the given instance. The given query must retrieve this same instance.

    Definition Classes
    ManySideLoadingToManyRelationshipSideLoadable
  21. def sideLoadOn(instances: List[E], query: scala.slick.driver.JdbcProfile.SimpleQL.Query[From, E, Seq])(implicit session: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[E]

    Side-load the side-loadable on a list of instances.

    Side-load the side-loadable on a list of instances.

    Side-load the side-loadable on the given list of instances. The given query must retrieve this same list of instances.

    Definition Classes
    ManySideLoadingToManyRelationshipSideLoadable
  22. val sideLoads: Seq[(RelationshipComponent.this)#SideLoadable[To, T]]

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

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from (RelationshipComponent.this)#ToManyRelationship[From, To, E, T]

Inherited from (RelationshipComponent.this)#SideLoadingRelationship[From, To, E, T, Seq[T]]

Inherited from (RelationshipComponent.this)#Relationship[From, To, E, T, Seq[T]]

Inherited from (RelationshipComponent.this)#SideLoadable[From, E]

Inherited from AnyRef

Inherited from Any

Ungrouped