org.virtuslab.unicorn

Unicorn

trait Unicorn extends Identifiers with Tables with Repositories

Base cake for Unicorn. Extended by versions for unicorn-core and unicorn-play.

Attributes
protected
Self Type
Unicorn with HasJdbcDriver
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Unicorn
  2. Repositories
  3. IdRepositories
  4. JunctionRepositories
  5. Tables
  6. TypeMappers
  7. Identifiers
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait BaseId extends MappedId[Long]

    Base trait for all Long ids in system.

  2. trait BaseIdQueries[Id <: MappedToBase, Entity <: (IdRepositories.this)#WithId[Id], Table <: (IdRepositories.this)#IdTable[Id, Entity]] extends AnyRef

    Base class for all queries with an org.virtuslab.unicorn.Identifiers.BaseId.

  3. class BaseIdRepository[Id <: MappedToBase, Entity <: (IdRepositories.this)#WithId[Id], Table <: (IdRepositories.this)#IdTable[Id, Entity]] extends (IdRepositories.this)#BaseIdQueries[Id, Entity, Table]

    Base trait for repositories where we use org.virtuslab.unicorn.Identifiers.BaseIds.

  4. abstract class BaseRepository[Entity, T <: scala.slick.driver.JdbcProfile.SimpleQL.Table[Entity]] extends AnyRef

    Base for services for entities that have no type-safe id created - for example join tables.

  5. abstract class BaseTable[Entity] extends scala.slick.driver.JdbcProfile.SimpleQL.Table[Entity] with (Tables.this)#CustomTypeMappers

    Base trait for all tables.

  6. abstract class CoreCompanion[Id <: MappedToBase] extends AnyRef

    Base class for companion objects for id classes.

  7. trait CustomTypeMappers extends AnyRef

    Custom Type mappers for Slick.

  8. abstract type IdCompanion[Id <: MappedToBase]

    Abstract type for companions for Ids

  9. abstract class IdTable[Id <: MappedToBase, Entity <: (Tables.this)#WithId[Id]] extends (Tables.this)#BaseTable[Entity]

    Base class for all tables that contains an id.

  10. class JunctionRepository[First, Second, Table <: (JunctionRepositories.this)#JunctionTable[First, Second]] extends AnyRef

    Repository with basic methods for junction tables.

  11. abstract class JunctionTable[First, Second] extends scala.slick.driver.JdbcProfile.SimpleQL.Table[(First, Second)]

    Base table for simple linking between two values

  12. trait MappedId[T] extends MappedTo[T]

    Base trait for implementing ids.

  13. trait WithId[Id] extends AnyRef

    Base class for all entities that contains an id.

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. object CustomTypeMappers extends (TypeMappers.this)#CustomTypeMappers

    Object for org.virtuslab.unicorn.TypeMappers.CustomTypeMappers if you prefer import rather than extend.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Repositories

Inherited from IdRepositories

Inherited from JunctionRepositories

Inherited from Tables

Inherited from TypeMappers

Inherited from Identifiers

Inherited from AnyRef

Inherited from Any

Ungrouped