Deprecated API


Contents
Deprecated Classes
grails.converters.deep.JSON
          The Converters framework has been refactored and this made the deep Converters obsolete 
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
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.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.commons.GrailsDomainClass.getPersistantProperties()
          Use #getPersistentProperties instead 
org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass.getPersistantProperties()
            
org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateDomainClass.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.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.servlet.mvc.GrailsHttpSession.getValue(String)
            
org.codehaus.groovy.grails.web.servlet.mvc.GrailsHttpSession.getValueNames()
            
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