Deprecated API (Grails 3.3.2)
Date: 2017-11-24

# Deprecated API

## Contents

- Deprecated Interface
- Deprecated Class
- Deprecated Annotation Type
- Deprecated Method
- Deprecated Property

- Deprecated Properties
  Property and Description
  GrailsPublishExtension#centralRepoUrl | The location of the Grails central repository
  GrailsPublishExtension#portalPassword | The password for the plugin portal
  GrailsPublishExtension#portalUrl | The plugin endpoint for updating plugins
  GrailsPublishExtension#portalUser | The username for the plugin portal

- Deprecated Interfaces
  Interface and Description
  CascadingValidator Extends the default Spring Validator interface and provides an additional method that specifies whether validation should cascade into associations.
  Constraint Defines a validatable constraint.
  ConstraintFactory A factory for creating constraint instances.
  ConstraintsEvaluator Evaluates and returns constraints.
  GrailsDomainClass Represents a persistable Grails domain class.
  GrailsDomainClassProperty A property of a GrailsDomainClass instance.
  VetoingConstraint Marker interface for vetoing constraint.

- Deprecated Classes
  Class and Description
  AbstractConstraint Abstract class for constraints to extend.
  AbstractVetoingConstraint A constraint capable of vetoing processing of other constraints
  BaseApiProvider @author Graeme Rocher
  BlankConstraint A Constraint that validates a string is not blank.
  ClassPropertyFetcher Accesses class "properties": static fields, static getters, instance fields or instance getters.
  ConstrainedProperty Provides the ability to set contraints against a properties of a class.
  ConstrainedPropertyBuilder Builder used as a delegate within the "constraints" closure of GrailsDomainClass instances .
  ConstraintsEvaluatorFactoryBean Constructs the default constraints evaluator instance.
  CreditCardConstraint Validates a credit card number.
  DefaultConstraintEvaluator Default implementation of the ConstraintsEvaluator interface.
  DomainClassPluginSupport @author Graeme Rocher
  DomainValidator
  EmailConstraint Validates an email address.
  FlatConfig @author Graeme Rocher
  GormApiSupport Helper class used in the case where there is not GORM API installed in the application to provide basic validation facility.
  GrailsDomainClassCleaner Clears static Grails "instance api" instances from domain classes when ApplicationContext's ContextClosedEvent is received.
  GrailsDomainClassValidator A specialised Spring validator that validates a domain class instance using the constraints defined in the static constraints closure.
  GrailsDomainConfigurationUtil Utility methods used in configuring the Grails Hibernate integration.
  GrailsTransactionTemplate Template class that simplifies programmatic transaction demarcation and transaction exception handling.
  InListConstraint A constraint that validates the property is contained within the supplied list.
  InetAddressValidator
  MatchesConstraint Validates the property against a supplied regular expression.
  MaxConstraint Implements a maximum value constraint.
  MaxSizeConstraint Validates maximum size or length of the property, for strings and arrays this is the length and collections the size.
  MetaClassEnhancer Enhances one or many MetaClasses with the given API methods provided by the super class BaseApiProvider.
  MinConstraint Implements a minimum value constraint.
  MinSizeConstraint Validates minimum size or length of the property, for strings and arrays this is the length and collections the size.
  NotEqualConstraint Validates not equal to something.
  NullableConstraint Validates not null.
  RangeConstraint Validates a range.
  RegexValidator Regular Expression validation (using JDK 1.4+ regex support).
  ResultPair Groups tests and expected results.
  RollbackTransform The transform class for Rollback
  ScaleConstraint Manages the scale for floating point numbers (i.e., the number of digits to the right of the decimal point).
  SizeConstraint Validates size of the property, for strings and arrays this is the length, collections the size and numbers the value.
  TransactionalTransform This AST transform reads the Transactional annotation and transforms method calls by wrapping the body of the method in an execution of GrailsTransactionTemplate.
  UrlConstraint Validates a url.
  UrlValidator
  ValidatorConstraint

- Deprecated Annotation Types
  Annotation Type and Description
  Rollback A transforms that applies a transaction that always rolls back.
  Transactional Describes transaction attributes on a method or class.

- Deprecated Methods
  Method and Description
  AbstractGrailsClass#getPropertyDescriptors() @deprecated Use getMetaProperties() instead
  BuildScope#getCurrent() Returns the current Scope object based on the currently set "grails.scope" System property
  DataBindingUtils#assignBidirectionalAssociations(java.lang.Object object, java.util.Map source, GrailsDomainClass domainClass) Associations both sides of any bidirectional relationships found in the object and source map to bind
  DataBindingUtils#bindObjectToDomainInstance(GrailsDomainClass domain, java.lang.Object object, java.lang.Object source) Binds the given source object to the given target object performing type conversion if necessary
  DataBindingUtils#bindObjectToDomainInstance(GrailsDomainClass domain, java.lang.Object object, java.lang.Object source, java.util.List include, java.util.List exclude, java.lang.String filter) Binds the given source object to the given target object performing type conversion if necessary
  DefaultGrailsApplicationAttributes#getApplicationUri(javax.servlet.ServletRequest request) @deprecated Use instead
  DefaultGrailsDomainClass#getAssociationMap() Retrieves the association map
  DefaultGrailsDomainClass#getAssociations() Retrieves a list of associations
  DefaultGrailsDomainClass#getComponents() Retrieves a list of embedded components
  DefaultGrailsDomainClass#getSubClasses() Obtains a Set of subclasses
  DefaultGrailsDomainClass#isRoot() Check whether the class is a root entity
  DefaultGrailsPlugin#doc(java.lang.String text) @deprecated Dynamic document generation no longer supported
  DefaultGrailsPluginManager#checkForChanges() @deprecated Replaced by agent-based reloading, will be removed in a future version of Grails
  GrailsApplicationAttributes#getApplicationUri(javax.servlet.ServletRequest request) @deprecated Use instead
  GrailsClassUtils#getPropertyForGetter(java.lang.String getterName) Returns a property name equivalent for the given getter name or null if it is not a valid getter.
  GrailsClassUtils#isGetter(java.lang.String name, java.lang.Class<?> args) Returns true if the name of the method specified and the number of arguments make it a javabean property getter.
  GrailsDomainClass#getAssociationMap() Returns this classes association map
  GrailsDomainClass#getIdentifier() Returns the identifier property
  GrailsDomainClass#getMappedBy() @return The map that defines association mappings
  GrailsDomainClass#getMappingStrategy() @return The name of the ORM implementation used to map the domain class (default is "GORM")
  GrailsDomainClass#getPersistentProperties() Returns all of the persistant properties of the domain class
  GrailsDomainClass#getPersistentProperty(java.lang.String name) Returns the property for the given name or null if non exists
  GrailsDomainClass#getProperties() Returns all of the properties of the domain class
  GrailsDomainClass#getPropertyByName(java.lang.String name) Returns the property for the given name
  GrailsDomainClass#getRelatedClassType(java.lang.String propertyName) Returns the type of the related class of the given property
  GrailsDomainClass#getSubClasses() Returns the sub-classes for this class if any
  GrailsDomainClass#getVersion() Returns the version property
  GrailsDomainClass#hasPersistentProperty(java.lang.String propertyName) Returns true if this domain class has a persistent property for the given name
  GrailsDomainClass#hasSubClasses() Returns true if the domain classes has sub classes
  GrailsDomainClass#isBidirectional(java.lang.String propertyName) Returns true if the given property is a bi-directional relationship
  GrailsDomainClass#isManyToOne(java.lang.String propertyName) Returns true if the given property is a many to one relationship
  GrailsDomainClass#isOneToMany(java.lang.String propertyName) Returns true if the given property is a one to many relationship
  GrailsDomainClass#isRoot() Whether the class is the root of a hierarchy
  GrailsDomainClass#setMappingStrategy(java.lang.String strategy) Sets the strategy to use for ORM mapping.
  GrailsNameUtils#isGetter(java.lang.String name, java.lang.Class<?> args) Returns true if the name of the method specified and the number of arguments make it a javabean property getter.
  GrailsPlugin#doc(java.lang.String text) Write some documentation to the DocumentationContext
  WebUtils#addViewPrefix(java.lang.String viewName) @deprecated Does not take into account the url converter