Companion

object Companion : LongEntityClass<Course>

Properties

Link copied to clipboard
open val dependsOnColumns: List<Column<out Any?>>
Link copied to clipboard
open val dependsOnTables: ColumnSet
Link copied to clipboard
private val entityCtor: (EntityID<Long>) -> Course
Link copied to clipboard
Link copied to clipboard
internal val klass: Class<*>
Link copied to clipboard
private val refDefinitions: HashMap<Pair<Column<*>, KClass<*>>, Any>
Link copied to clipboard
val table: IdTable<Long>

Functions

Link copied to clipboard
open fun all(): SizedIterable<Course>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.backReferencedOn(column: Column<REF?>): ReadOnlyProperty<Entity<Long>, Target>
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.backReferencedOn(column: Column<REF>): ReadOnlyProperty<Entity<Long>, Target>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.backReferencedOn(column: Column<REF?>): ReadOnlyProperty<Entity<Long>, Target>
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.backReferencedOn(column: Column<REF>): ReadOnlyProperty<Entity<Long>, Target>
Link copied to clipboard
fun count(op: Op<Boolean>?): Long
Link copied to clipboard
protected open fun createInstance(entityId: EntityID<Long>, row: ResultRow?): Course
Link copied to clipboard
fun find(op: SqlExpressionBuilder.() -> Op<Boolean>): SizedIterable<Course>
fun find(op: Op<Boolean>): SizedIterable<Course>
Link copied to clipboard
fun findById(id: Long): Course?
open fun findById(id: EntityID<Long>): Course?
Link copied to clipboard
fun findByIdAndUpdate(id: Long, block: (it: Course) -> Unit): Course?
Link copied to clipboard
fun findSingleByAndUpdate(op: Op<Boolean>, block: (it: Course) -> Unit): Course?
Link copied to clipboard
fun findWithCacheCondition(cacheCheckCondition: Course.() -> Boolean, op: SqlExpressionBuilder.() -> Op<Boolean>): Sequence<Course>
Link copied to clipboard
open fun forEntityIds(ids: List<EntityID<Long>>): SizedIterable<Course>
Link copied to clipboard
fun forIds(ids: List<Long>): SizedIterable<Course>
Link copied to clipboard
operator fun get(id: Long): Course
operator fun get(id: EntityID<Long>): Course
Link copied to clipboard
private fun getEntities(forUpdate: Boolean?, findQuery: SizedIterable<Course>): List<Course>
Link copied to clipboard
internal open fun invalidateEntityInCache(o: Entity<Long>)
Link copied to clipboard
fun <ID : Comparable<ID>, T : Entity<ID>> isAssignableTo(entityClass: EntityClass<ID, T>): Boolean
Link copied to clipboard
fun <TColumn, TReal> Column<TColumn>.memoizedTransform(toColumn: (TReal) -> TColumn, toReal: (TColumn) -> TReal): ColumnWithTransform<TColumn, TReal>
Link copied to clipboard
open fun new(init: Course.() -> Unit): Course
open fun new(id: Long?, init: Course.() -> Unit): Course
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalBackReferencedOn(column: Column<REF?>): OptionalBackReference<TargetID, Target, Long, Entity<Long>, REF>
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalBackReferencedOn(column: Column<REF>): OptionalBackReference<TargetID, Target, Long, Entity<Long>, REF>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalBackReferencedOn(column: Column<REF?>): OptionalBackReference<TargetID, Target, Long, Entity<Long>, REF>
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalBackReferencedOn(column: Column<REF>): OptionalBackReference<TargetID, Target, Long, Entity<Long>, REF>
Link copied to clipboard
infix fun <REF : Comparable<REF>> optionalReferencedOn(column: Column<REF?>): OptionalReference<REF, Long, Course>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalReferrersOn(column: Column<REF?>): OptionalReferrers<Long, Entity<Long>, TargetID, Target, REF>
fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalReferrersOn(column: Column<REF?>, cache: Boolean): OptionalReferrers<Long, Entity<Long>, TargetID, Target, REF>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalReferrersOn(column: Column<REF?>): OptionalReferrers<Long, Entity<Long>, TargetID, Target, REF>
fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalReferrersOn(column: Column<REF?>, cache: Boolean): OptionalReferrers<Long, Entity<Long>, TargetID, Target, REF>
Link copied to clipboard
infix fun <REF : Comparable<REF>> referencedOn(column: Column<REF>): Reference<REF, Long, Course>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.referrersOn(column: Column<REF>): Referrers<Long, Entity<Long>, TargetID, Target, REF>
fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.referrersOn(column: Column<REF>, cache: Boolean): Referrers<Long, Entity<Long>, TargetID, Target, REF>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.referrersOn(column: Column<REF>): Referrers<Long, Entity<Long>, TargetID, Target, REF>
fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.referrersOn(column: Column<REF>, cache: Boolean): Referrers<Long, Entity<Long>, TargetID, Target, REF>
Link copied to clipboard
private inline fun <R : Any> registerRefRule(column: Column<*>, ref: () -> R): R
Link copied to clipboard
fun reload(entity: Entity<Long>, flush: Boolean): Course?
Link copied to clipboard
fun removeFromCache(entity: Entity<Long>)
Link copied to clipboard
open fun searchQuery(op: Op<Boolean>): Query
Link copied to clipboard
private fun Query.setForUpdateStatus(): Query
Link copied to clipboard
fun testCache(cacheCheckCondition: Course.() -> Boolean): Sequence<Course>
fun testCache(id: EntityID<Long>): Course?
Link copied to clipboard
fun <TColumn, TReal> Column<TColumn>.transform(toColumn: (TReal) -> TColumn, toReal: (TColumn) -> TReal): ColumnWithTransform<TColumn, TReal>
Link copied to clipboard
inline fun view(op: SqlExpressionBuilder.() -> Op<Boolean>): View<Course>
Link copied to clipboard
protected open fun warmCache(): EntityCache
Link copied to clipboard
fun <SID : Comparable<SID>> warmUpLinkedReferences(references: List<EntityID<SID>>, linkTable: Table, forUpdate: Boolean?, optimizedLoad: Boolean): List<Course>
internal fun <SID : Comparable<SID>> warmUpLinkedReferences(references: List<EntityID<SID>>, sourceRefColumn: Column<EntityID<SID>>, targetRefColumn: Column<EntityID<Long>>, linkTable: Table, forUpdate: Boolean?, optimizedLoad: Boolean): List<Course>
Link copied to clipboard
fun <SID> warmUpOptReferences(references: List<SID>, refColumn: Column<SID?>, forUpdate: Boolean?): List<Course>
Link copied to clipboard
fun <SID> warmUpReferences(references: List<SID>, refColumn: Column<SID>, forUpdate: Boolean?): List<Course>
Link copied to clipboard
fun wrap(id: EntityID<Long>, row: ResultRow?): Course
Link copied to clipboard
fun wrapRow(row: ResultRow): Course
fun wrapRow(row: ResultRow, alias: Alias<IdTable<*>>): Course
fun wrapRow(row: ResultRow, alias: QueryAlias): Course
Link copied to clipboard
fun wrapRows(rows: SizedIterable<ResultRow>): SizedIterable<Course>
fun wrapRows(rows: SizedIterable<ResultRow>, alias: Alias<IdTable<*>>): SizedIterable<Course>
fun wrapRows(rows: SizedIterable<ResultRow>, alias: QueryAlias): SizedIterable<Course>