Uses of Interface
org.apache.sling.validation.model.ValidationModel
Packages that use ValidationModel
-
Uses of ValidationModel in org.apache.sling.validation
Methods in org.apache.sling.validation that return ValidationModelModifier and TypeMethodDescription@Nullable ValidationModel
ValidationService.getValidationModel
(@NotNull String validatedResourceType, String resourcePath, boolean considerResourceSuperTypeModels) Tries to obtain aValidationModel
that is able to validate aResource
of typevalidatedResourceType
.@Nullable ValidationModel
ValidationService.getValidationModel
(@NotNull org.apache.sling.api.resource.Resource resource, boolean considerResourceSuperTypeModels) Tries to obtain aValidationModel
that is able to validate the givenresource
.Methods in org.apache.sling.validation with parameters of type ValidationModelModifier and TypeMethodDescription@NotNull ValidationResult
ValidationService.validate
(@NotNull org.apache.sling.api.resource.Resource resource, @NotNull ValidationModel model) Validates aResource
using a specificValidationModel
.@NotNull ValidationResult
ValidationService.validate
(@NotNull org.apache.sling.api.resource.ValueMap valueMap, @NotNull ValidationModel model) -
Uses of ValidationModel in org.apache.sling.validation.model.spi
Methods in org.apache.sling.validation.model.spi that return ValidationModelModifier and TypeMethodDescription@Nullable ValidationModel
ValidationModelRetriever.getValidationModel
(@NotNull String resourceType, String resourcePath, boolean considerResourceSuperTypeModels) A validation model for the given resourceType at the given resourcePathMethods in org.apache.sling.validation.model.spi that return types with arguments of type ValidationModelModifier and TypeMethodDescription@NotNull List<ValidationModel>
ValidationModelProvider.getValidationModels
(@NotNull String relativeResourceType) Retrieves the models responsible for validating the given resourceType.