Uses of Class
org.apache.sling.models.factory.InvalidModelException
Packages that use InvalidModelException
Package
Description
-
Uses of InvalidModelException in org.apache.sling.models.factory
Methods in org.apache.sling.models.factory that throw InvalidModelExceptionModifier and TypeMethodDescription<ModelType>
ModelTypeModelFactory.createModel(@NotNull Object adaptable, @NotNull Class<ModelType> type) Instantiates the given Sling Model class from the given adaptable.<T> TModelFactory.exportModelForRequest(@NotNull SlingHttpServletRequest request, @NotNull String exporterName, @NotNull Class<T> targetClass, @NotNull Map<String, String> options) Export the model object registered to the request's resource's type using the defined target class using the named exporter.<T> TModelFactory.exportModelForResource(@NotNull Resource resource, @NotNull String exporterName, @NotNull Class<T> targetClass, @NotNull Map<String, String> options) Export the model object registered to the resource's type using the defined target class using the named exporter.@NotNull ObjectModelFactory.getModelFromRequest(@NotNull SlingHttpServletRequest request) Obtain an adapted model class based on the resource type of the request's resource.@NotNull ObjectModelFactory.getModelFromResource(@NotNull Resource resource) Obtain an adapted model class based on the resource type of the provided resource. -
Uses of InvalidModelException in org.apache.sling.models.spi
Methods in org.apache.sling.models.spi that throw InvalidModelExceptionModifier and TypeMethodDescription<ModelType>
RuntimeExceptionTriggers validation for the given model on the given adaptable -
Uses of InvalidModelException in org.apache.sling.models.validation
Subclasses of InvalidModelException in org.apache.sling.models.validationModifier and TypeClassDescriptionfinal classException embedding aValidationResultfrom Sling Validation.