org.virtuslab.unicorn

LongUnicornCore

Related Doc: package unicorn

trait LongUnicornCore extends UnicornCore[Long]

Self Type
LongUnicornCore with HasJdbcDriver
Linear Supertypes
UnicornCore[Long], UnicornCoreLike[Long], Unicorn[Long], Repositories[Long], IdRepositories[Long], JunctionRepositories[Long], Tables[Long], TypeMappers, Identifiers[Long], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LongUnicornCore
  2. UnicornCore
  3. UnicornCoreLike
  4. Unicorn
  5. Repositories
  6. IdRepositories
  7. JunctionRepositories
  8. Tables
  9. TypeMappers
  10. Identifiers
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait BaseId extends MappedTo[Underlying]

    Base trait for implementing ids.

    Base trait for implementing ids. It is existential trait so it can have only defs.

    Definition Classes
    Identifiers
  2. trait BaseIdQueries[Id <: (IdRepositories.this)#BaseId, 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.

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

    Id

    type of id

    Entity

    type of elements that are queried

    Table

    type of table

    Attributes
    protected
    Definition Classes
    IdRepositories
  3. class BaseIdRepository[Id <: (IdRepositories.this)#BaseId, Entity <: (IdRepositories.this)#WithId[Id], Table <: (IdRepositories.this)#IdTable[Id, Entity]] extends (IdRepositories.this)#CommonRepositoryMethods[Entity, Table] with (IdRepositories.this)#BaseIdQueries[Id, Entity, Table]

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

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

    Id

    type of id

    Entity

    type of entity

    Table

    type of table

    Definition Classes
    IdRepositories
  4. abstract class BaseRepository[Entity, T <: slick.driver.JdbcProfile.API.Table[Entity]] extends (Repositories.this)#CommonRepositoryMethods[Entity, T]

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

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

    Entity

    type of entity

    T

    type of table

    Definition Classes
    Repositories
  5. abstract class BaseTable[Entity] extends slick.driver.JdbcProfile.API.Table[Entity] with (Tables.this)#CustomTypeMappers

    Base trait for all tables.

    Base trait for all tables. If you want to add some helpers methods for tables, here is the place.

    Entity

    type of entities in table

    Definition Classes
    Tables
  6. abstract class CoreCompanion[Id <: Unicorn.BaseId] extends AnyRef

    Base class for companion objects for id classes.

    Base class for companion objects for id classes. Adding this will allow you not to import mapping from your table class every time you need it.

    Id

    type of Id

    Definition Classes
    Identifiers
  7. trait CustomTypeMappers extends AnyRef

    Custom Type mappers for Slick.

    Custom Type mappers for Slick.

    Definition Classes
    TypeMappers
  8. type IdCompanion[Id <: (LongUnicornCore.this)#BaseId] = (LongUnicornCore.this)#CoreCompanion[Id]

    Abstract type for companions for Ids

    Abstract type for companions for Ids

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

    Base class for all tables that contains an id.

    Base class for all tables that contains an id.

    Id

    type of id

    Entity

    type of entities in table

    Definition Classes
    Tables
  10. class JunctionRepository[First, Second, Table <: (JunctionRepositories.this)#JunctionTable[First, Second]] extends (JunctionRepositories.this)#CommonRepositoryMethods[(First, Second), Table]

    Repository with basic methods for junction tables.

    Repository with basic methods for junction tables.

    First

    type of one entity

    Second

    type of other entity

    Definition Classes
    JunctionRepositories
  11. abstract class JunctionTable[First, Second] extends slick.driver.JdbcProfile.API.Table[(First, Second)]

    Base table for simple linking between two values

    Base table for simple linking between two values

    First

    type of one entity

    Second

    type of other entity

    Definition Classes
    Tables
  12. trait WithId[Id <: Unicorn.BaseId] extends AnyRef

    Base class for all entities that contains an id.

    Base class for all entities that contains an id.

    Id

    type of Id

    Definition Classes
    Identifiers

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

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

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

    Definition Classes
    TypeMappers
  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 finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  16. implicit val ordering: Ordering[Long]

    Definition Classes
    UnicornCoreUnicorn
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from UnicornCore[Long]

Inherited from UnicornCoreLike[Long]

Inherited from Unicorn[Long]

Inherited from Repositories[Long]

Inherited from IdRepositories[Long]

Inherited from JunctionRepositories[Long]

Inherited from Tables[Long]

Inherited from TypeMappers

Inherited from Identifiers[Long]

Inherited from AnyRef

Inherited from Any

Ungrouped