T - type of object to be checkedpublic abstract class AbstractAisTppValidator<T extends TppInfoProvider> extends Object implements BusinessValidator<T>
| Constructor and Description |
|---|
AbstractAisTppValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract @NotNull ValidationResult |
executeBusinessValidation(T consentObject)
Executes request-specific business validation
|
protected abstract @NotNull TppInfoValidator |
getTppInfoValidator()
Returns appropriate TPP info validator for current request
|
@NotNull ValidationResult |
validate(T object)
Validates some object according to some business rules
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildWarningMessages@NotNull public @NotNull ValidationResult validate(@NotNull T object)
BusinessValidatorvalidate in interface BusinessValidator<T extends TppInfoProvider>object - business object to be validated@NotNull protected abstract @NotNull ValidationResult executeBusinessValidation(T consentObject)
consentObject - consent object to be validated@NotNull protected abstract @NotNull TppInfoValidator getTppInfoValidator()
Copyright © 2020. All rights reserved.