KAssociations

interface KAssociations

Functions

Link copied to clipboard
open fun batchDelete(idTuples: Collection<Tuple2<*, *>>, con: Connection? = null): Int
open fun batchDelete(sourceIds: Collection<*>, targetIds: Collection<*>, con: Connection? = null): Int
Link copied to clipboard
open fun batchSave(idTuples: Collection<Tuple2<*, *>>, checkExistence: Boolean? = null, con: Connection? = null): Int
open fun batchSave(sourceIds: Collection<*>, targetIds: Collection<*>, checkExistence: Boolean? = null, con: Connection? = null): Int
Link copied to clipboard
@NewChain
abstract fun checkExistence(checkExistence: Boolean = true): KAssociations
Link copied to clipboard
abstract fun delete(sourceId: Any, targetId: Any, con: Connection? = null): Int
Link copied to clipboard
abstract fun deleteAll(idTuples: Collection<Tuple2<*, *>>, con: Connection? = null): Int
abstract fun deleteAll(sourceIds: Collection<*>, targetIds: Collection<*>, con: Connection? = null): Int
Link copied to clipboard
@NewChain
abstract fun forConnection(con: Connection): KAssociations
Link copied to clipboard
@NewChain
abstract fun reverse(): KAssociations
Link copied to clipboard
abstract fun save(sourceId: Any, targetId: Any, checkExistence: Boolean? = null, con: Connection? = null): Int
Link copied to clipboard
abstract fun saveAll(idTuples: Collection<Tuple2<*, *>>, checkExistence: Boolean? = null, con: Connection? = null): Int
abstract fun saveAll(sourceIds: Collection<*>, targetIds: Collection<*>, checkExistence: Boolean? = null, con: Connection? = null): Int