DpRepository

Functions

Link copied to clipboard
abstract fun add(dpMan: ProtoDpManipulateOrBuilder): Long
Link copied to clipboard
abstract fun addSystem(id: Int, name: String): Int
Link copied to clipboard
abstract fun delete(dpMan: ProtoDpManipulateOrBuilder): Int
Link copied to clipboard
abstract fun delSystem(id: Int): Int
Link copied to clipboard
abstract fun dpQuery(query: SqlQuery): QueryResultStructure
Link copied to clipboard
abstract fun dpQueryIdList(query: SqlQuery): List<ProtoDpId.Builder>
Link copied to clipboard
abstract fun dpQueryList(query: SqlQuery, sortOrder: ProtoDpQueryIdsSortOrder): List<ProtoValue>
Link copied to clipboard
abstract fun getAlertHandlers(dpIds: List<ProtoDpId>? = null): List<ProtoValue.Builder>

Получить из конфиг. БД записи об обработчиках алертов

Link copied to clipboard
abstract fun getAllAddresses(driverNum: Int): List<ProtoValue.Builder>
Link copied to clipboard
abstract fun getAllHistory(): List<ProtoValue.Builder>
Link copied to clipboard
Link copied to clipboard
abstract fun getDpFctAll(type: Long = 0): MutableMap<ShortDpId, DpFctConfig>
Link copied to clipboard
abstract fun getElementsByType(typeId: Long): List<ProtoNodeBrowse>
Link copied to clipboard
abstract fun getId(dpMan: List<ProtoDpIdConfOrBuilder>): List<Pair<String, ProtoDpIdConf>>?
Link copied to clipboard
abstract fun getIdByAlias(dpMan: List<ProtoDpIdConfOrBuilder>): List<Pair<String, ProtoDpIdConf>>?
Link copied to clipboard
abstract fun getIdByType(typeId: Long): List<ProtoNodeBrowse>
Link copied to clipboard
abstract fun getInfo(dpMan: ProtoDpIdConfOrBuilder): ProtoDpIdConf.Builder?
Link copied to clipboard
abstract fun getLastCommited(): Long
Link copied to clipboard
Link copied to clipboard
abstract fun getSysInfo(req: ProtoSystemInfo.Builder): List<ProtoSystemInfo.Builder>
Link copied to clipboard
abstract fun getSystems(): List<ProtoNodeBrowse>
Link copied to clipboard
abstract fun getVal(dpid: ProtoDpId.Builder): ProtoValue.Builder?
Link copied to clipboard
abstract fun queryDpElements(pattern: String, type: String, ignoreCase: Boolean): Map<Long, List<String>>
Link copied to clipboard
abstract fun queryDpNames(query: String, typeId: Long): List<ProtoBrowse>
Link copied to clipboard
abstract fun rename(dpMan: ProtoDpManipulateOrBuilder): Int
Link copied to clipboard
abstract fun setAllVal(protoValue: List<ProtoValue>, lastNum: Long = 0): Boolean