Deprecated API


Contents
Deprecated Classes
org.codehaus.groovy.grails.validation.metaclass.ConstraintsEvaluatingDynamicProperty
          This class has been deprecated and will be removed in a future version of Grails 
org.codehaus.groovy.grails.plugins.DefaultPluginMetaManager
          This class is deprecated from version 1.2 and above

Created: Aug 21, 2007 Time: 8:00:36 AM 

grails.util.GenerateUtils
          This class is deprecated and will be removed in a future version of Grails 
org.codehaus.groovy.grails.web.pages.GroovyPageUtils
            
grails.converters.deep.JSON
          The Converters framework has been refactored and this made the deep Converters obsolete 
grails.util.JSonBuilder
          Use JSONBuilder instead Date Created: May, 18, 2006 
grails.converters.deep.XML
          The Converters framework has been refactored and this made the deep Converters obsolete 
 

Deprecated Fields
org.codehaus.groovy.grails.commons.GrailsApplication.ENV_APPLICATION
          Use Environment.APPLICATION instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.ENV_DEVELOPMENT
          Use Environment.DEVELOPMENT instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.ENV_PRODUCTION
          Use Environment.PRODUCTION instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.ENV_TEST
          Use Environment.TEST instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.ENVIRONMENT
          Use Environment.KEY instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.ENVIRONMENT_DEFAULT
          Use Environment.DEFAULT instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.GLOBAL_PLUGINS_DIR
          Use BuildSettings.GLOBAL_PLUGINS_DIR instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.PLUGINS_DIR
          Use BuildSettings.PLUGINS_DIR instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.PROJECT_CLASSES_DIR
          Use BuildSettings.PROJECT_CLASSES_DIR instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.PROJECT_RESOURCES_DIR
          Use BuildSettings.PROJECT_RESOURCES_DIR instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.PROJECT_TEST_CLASSES_DIR
          Use BuildSettings.PROJECT_TEST_CLASSES_DIR instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.PROJECT_WORK_DIR
          Use BuildSettings.PROJECT_WORK_DIR instead. 
org.codehaus.groovy.grails.commons.GrailsApplication.WORK_DIR
          Use BuildSettings.WORK_DIR instead. 
 

Deprecated Methods
grails.ant.GrailsTask.addCompileClasspath(Path)
           
grails.ant.GrailsTask.addRuntimeClasspath(Path)
           
grails.ant.GrailsTask.addTestClasspath(Path)
           
org.codehaus.groovy.grails.web.servlet.DefaultGrailsApplicationAttributes.getApplicationUri(ServletRequest)
          Use instead 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getClassName(String, String)
          Use GrailsNameUtils.getClassName(String, String) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getClassNameRepresentation(String)
          Use GrailsNameUtils.getClassNameRepresentation(String) instead. 
org.codehaus.groovy.grails.web.json.parser.SimpleCharStream.getColumn()
            
grails.ant.GrailsTask.getCompileClasspath()
           
org.codehaus.groovy.grails.web.pages.GroovyPageUtils.getDeployedViewURI(String, String)
            
grails.util.GrailsUtil.getEnvironment()
          Use Environment.getCurrent() method instead 
org.codehaus.groovy.grails.web.json.parser.SimpleCharStream.getLine()
            
org.codehaus.groovy.grails.commons.GrailsClassUtils.getLogicalName(Class, String)
          Use GrailsNameUtils.getLogicalName(Class, String) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getLogicalName(String, String)
          Use GrailsNameUtils.getLogicalName(String, String) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getLogicalPropertyName(String, String)
          Use GrailsNameUtils.getLogicalPropertyName(String, String) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getNameFromScript(String)
          Use GrailsNameUtils.getNameFromScript(String) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getNaturalName(String)
          Use GrailsNameUtils.getNaturalName(String) instead. 
org.codehaus.groovy.grails.web.pages.GroovyPageUtils.getNoSuffixViewURI(GroovyObject, String)
            
org.codehaus.groovy.grails.web.pages.GroovyPageUtils.getNoSuffixViewURI(String, String)
            
org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateDomainClass.getPersistantProperties()
            
org.codehaus.groovy.grails.commons.GrailsDomainClass.getPersistantProperties()
          Use #getPersistentProperties instead 
org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass.getPersistantProperties()
            
org.codehaus.groovy.grails.commons.GrailsClassUtils.getPropertyName(Class)
          Use GrailsNameUtils.getPropertyName(Class) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getPropertyName(String)
          Use GrailsNameUtils.getPropertyName(String) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getPropertyNameForLowerCaseHyphenSeparatedName(String)
          Use GrailsNameUtils.getPropertyNameForLowerCaseHyphenSeparatedName(String) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getPropertyNameRepresentation(Class)
          Use GrailsNameUtils.getPropertyNameRepresentation(Class) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getPropertyNameRepresentation(String)
          Use GrailsNameUtils.getPropertyNameRepresentation(String) instead. 
org.codehaus.groovy.grails.commons.GrailsClass.getReference()
            
org.codehaus.groovy.grails.commons.AbstractGrailsClass.getReference()
            
grails.ant.GrailsTask.getRuntimeClasspath()
           
org.codehaus.groovy.grails.commons.GrailsClassUtils.getScriptName(Class)
          Use GrailsNameUtils.getScriptName(Class) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getScriptName(String)
          Use GrailsNameUtils.getScriptName(String) instead. 
org.codehaus.groovy.grails.web.servlet.mvc.GrailsHttpSession.getSessionContext()
            
org.codehaus.groovy.grails.commons.GrailsClassUtils.getShortName(Class)
          Use GrailsNameUtils.getShortName(Class) instead. 
org.codehaus.groovy.grails.commons.GrailsClassUtils.getShortName(String)
          Use GrailsNameUtils.getShortName(String) instead. 
org.codehaus.groovy.grails.web.pages.GroovyPageUtils.getTemplateURI(GroovyObject, String)
            
org.codehaus.groovy.grails.web.pages.GroovyPageUtils.getTemplateURI(String, String)
            
grails.ant.GrailsTask.getTestClasspath()
           
org.codehaus.groovy.grails.web.servlet.mvc.GrailsHttpSession.getValue(String)
            
org.codehaus.groovy.grails.web.servlet.mvc.GrailsHttpSession.getValueNames()
            
org.codehaus.groovy.grails.web.pages.GroovyPageUtils.getViewURI(GroovyObject, String)
            
org.codehaus.groovy.grails.web.pages.GroovyPageUtils.getViewURI(String, String)
            
org.codehaus.groovy.grails.web.servlet.mvc.GrailsHttpSession.putValue(String, Object)
            
org.codehaus.groovy.grails.web.servlet.mvc.GrailsHttpSession.removeValue(String)
            
grails.util.GrailsUtil.writeSlurperResult(GPathResult, Writer)
          Will be removed in a future release or unwritable file. 
 



Copyright (c) 2005-2009 The Grails project