KTriggers

interface KTriggers

Functions

Link copied to clipboard
open fun addAssociationListener(prop: KProperty1<*, *>, listener: AssociationListener)
abstract fun addAssociationListener(prop: ImmutableProp, listener: AssociationListener)
Link copied to clipboard
abstract fun <E : Any> addEntityListener(entityType: KClass<E>, listener: EntityListener<E>)
abstract fun addEntityListener(immutableType: ImmutableType, listener: EntityListener<ImmutableSpi>)
Link copied to clipboard
abstract fun fireAssociationEvict(prop: ImmutableProp, sourceId: Any, reason: Any? = null)
Link copied to clipboard
abstract fun fireEntityTableChange(oldRow: Any, newRow: Any, con: Connection? = null, reason: Any? = null)
Link copied to clipboard
abstract fun fireMiddleTableDelete(prop: ImmutableProp, sourceId: Any, targetId: Any, con: Connection? = null, reason: Any? = null)
Link copied to clipboard
abstract fun fireMiddleTableInsert(prop: ImmutableProp, sourceId: Any, targetId: Any, con: Connection? = null, reason: Any? = null)
Link copied to clipboard
open fun <ST : Table<*>> removeAssociationListener(prop: KProperty1<*, *>, listener: AssociationListener)
abstract fun removeAssociationListener(prop: ImmutableProp, listener: AssociationListener)
Link copied to clipboard
abstract fun <E : Any> removeEntityListener(entityType: KClass<E>, listener: EntityListener<E>)
abstract fun removeEntityListener(immutableType: ImmutableType, listener: EntityListener<ImmutableSpi>)