TeamLinkBatchSyncProcedure

open class TeamLinkBatchSyncProcedure : BatchSynchronizationProcedure<O, D, V>

The TeamLinkBatchSyncProcedure class is designed to compact and to clean implement a batch synchronization procedure between Team and RefyLink elements

Author

N7ghtm4r3 - Tecknobit

See also

BatchSynchronizationProcedure

Constructors

Link copied to clipboard
constructor(owner: String, ownedItems: Collection<String>, entityManager: EntityManager)
Constructor used to init the sync procedure

Properties

Link copied to clipboard
protected val batchQuery: EquinoxItemsHelper.BatchQuery<V>
Link copied to clipboard
protected open var converter: BatchSynchronizationProcedure.RawCollectionConverter<D, V>
Link copied to clipboard
protected open var currentDataCallback: BatchSynchronizationProcedure.CurrentDataCallback<D>
Link copied to clipboard
protected open var entityManager: EntityManager
Link copied to clipboard
protected val model: EquinoxItemsHelper.SyncBatchModel
Link copied to clipboard
protected val ownedItems: Collection<D>
Link copied to clipboard
protected val owner: O
Link copied to clipboard
protected val table: String

Functions

Link copied to clipboard
protected open fun batchDelete(table: String, values: Collection<out Any>, columns: Array<@NotNull String>)
Link copied to clipboard
protected open fun <V> batchInsert(command: EquinoxItemsHelper.InsertCommand, table: String, batchQuery: EquinoxItemsHelper.BatchQuery<V>)
Link copied to clipboard
protected open fun createBatchQuery(): EquinoxItemsHelper.BatchQuery<TeamLinkBatchItem>
Link copied to clipboard
protected open fun createModel(): EquinoxItemsHelper.SyncBatchModel
Link copied to clipboard
Link copied to clipboard
open fun getBatchQuery(): EquinoxItemsHelper.BatchQuery<V>
Link copied to clipboard
open fun getConverter(): BatchSynchronizationProcedure.RawCollectionConverter<D, V>
Link copied to clipboard
open fun getCurrentDataCallback(): BatchSynchronizationProcedure.CurrentDataCallback<D>
Link copied to clipboard
open fun getModel(): EquinoxItemsHelper.SyncBatchModel
Link copied to clipboard
open fun getOwnedItems(): Collection<D>
Link copied to clipboard
open fun getOwner(): O
Link copied to clipboard
open fun getTable(): String
Link copied to clipboard
open fun setCurrentDataCallback(currentDataCallback: BatchSynchronizationProcedure.CurrentDataCallback<D>)
Link copied to clipboard
protected open fun <V> syncBatch(model: EquinoxItemsHelper.SyncBatchModel, table: String, batchQuery: EquinoxItemsHelper.BatchQuery<V>)
Link copied to clipboard
open fun useConverter(converter: BatchSynchronizationProcedure.RawCollectionConverter<D, V>)