ValidationEngine

Functions

Link copied to clipboard
abstract fun blockingValidate(dataSetUid: String, periodId: String, orgUnitUid: String, attributeOptionComboUid: String): ValidationResult

Run the validation associated to a particular dataSets returning a ValidationResult. This result contains the list of validation conflicts. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .validate.

Link copied to clipboard
abstract fun validate(dataSetUid: String, periodId: String, orgUnitUid: String, attributeOptionComboUid: String): Single<ValidationResult>

Run the validation associated to a particular dataSets returning a ValidationResult. This result contains the list of validation conflicts.