Deprecated API


Contents
Deprecated Interfaces
railo.runtime.op.Printable
          this interface is replaced with interface Dumpable 
railo.runtime.type.UserDefinedFunction
          replaced with UDF 
 

Deprecated Classes
railo.runtime.servlet.AMFServlet
          this class is deprecated and will not work in future versions 
railo.runtime.servlet.CFMLServlet
          this class is deprecated and will not work in future versions 
railo.runtime.functions.component.ComponentInfo
          use function GetMetaData instead 
railo.runtime.functions.system.FileExists
          replace with railo.runtime.functions.file.FileExists 
railo.transformer.bytecode.visitor.ForConditionIntVisitor
          replaced with ForIntVisitor 
railo.runtime.functions.system.GetFileFromPath
          replaced wih #GetFileFromPath 
railo.runtime.servlet.MultiWebCFMLServlet
          this class is deprecated and will not work in future versions 
railo.runtime.functions.dateTime.NowServer
          removed with no replacement 
railo.runtime.search.lucene2.query.Simple
          no longer in use The simple query is the default query type and is appropriate for the vast majority of searches. When entering text on a search form, you perform a simple query by entering a word or comma-delimited strings, with optional wildcard characters. Verity treats each comma as a logical OR. If you omit the commas, Verity treats the expression as a phrase. 
railo.runtime.type.util.UDFDefaultValue
          this class is no longer used with no replacment 
railo.runtime.functions.dynamicEvaluation.UnserializeJava
          use instead EvaluateJava 
railo.commons.lang.URLEncoder
          use instead railo.commons.net.URLEncoder 
 

Deprecated Methods
railo.runtime.search.lucene2.LuceneSearchCollection._getAnalyzer(String)
          see SearchUtil.getAnalyzer(String language); 
railo.runtime.type.scope.Undefined.addCollection(Query)
          use instead Undefined.addQuery(Query) 
railo.runtime.type.Query.addColumn(String, Array)
          use instead Query.addColumn(railo.runtime.type.Collection.Key, Array) 
railo.runtime.type.Query.addColumn(String, Array, int)
          use instead Query.addColumn(railo.runtime.type.Collection.Key, Array, int) 
railo.runtime.ComponentImpl.afterCall(PageContext, Variables)
          replaced with afterConstructor(PageContext pc, Variables parent) 
railo.runtime.op.Constants.Boolean(boolean)
          use Boolean.valueOf() instead 
railo.runtime.type.Objects.call(PageContext, String, Object[])
          use instead Objects.call(PageContext, railo.runtime.type.Collection.Key, Object[]) 
railo.runtime.type.Objects.callWithNamedValues(PageContext, String, Struct)
          use instead Objects.callWithNamedValues(PageContext, railo.runtime.type.Collection.Key, Struct) 
railo.commons.io.res.Resource.canRead()
          use instead #isReadable() 
railo.commons.io.res.Resource.canWrite()
          use instead #isWriteable() 
railo.runtime.PageContext.compile(String)
          use instead compile(PageSource pageSource) 
railo.runtime.type.Collection.containsKey(String)
          use instead Collection.containsKey(railo.runtime.type.Collection.Key) 
railo.commons.io.res.Resource.createNewFile()
          use instead #createFile(boolean) 
railo.runtime.util.Creation.createQuery(DatasourceConnection, SQL, int, String)
          replaced with Creation.createQuery(DatasourceConnection, SQL, int, int, int, String) 
railo.commons.io.res.Resource.delete()
          replaced with method remove(boolean) 
railo.commons.net.URLEncoder.encode(String)
          The resulting string may vary depending on the platform's default encoding. Instead, use the encode(String,String) method to specify the encoding. 
railo.runtime.schedule.Scheduler.execute()
          task are self controlled no longer controlled by a controller thread 
railo.runtime.PageContextImpl.exeLogEndline(int)
          no longer supported and ignored 
railo.runtime.type.List.first(String, String)
          use instead first(String list, String delimeter, boolean ignoreEmpty) 
railo.runtime.PageContext.get(Object, String)
          use instead PageContext.get(Object, railo.runtime.type.Collection.Key) 
railo.runtime.PageContext.get(Object, String, Object)
          use instead PageContext.get(Object, railo.runtime.type.Collection.Key, Object) 
railo.runtime.type.Objects.get(PageContext, String)
          use instead Objects.get(PageContext, railo.runtime.type.Collection.Key) 
railo.runtime.type.Objects.get(PageContext, String, Object)
          use instead Objects.get(PageContext, railo.runtime.type.Collection.Key, Object) 
railo.runtime.type.Collection.get(String)
          use instead Collection.get(railo.runtime.type.Collection.Key) 
railo.runtime.type.Collection.get(String, Object)
          use instead Collection.get(railo.runtime.type.Collection.Key, Object) 
railo.runtime.type.scope.ScopeContext.getAllSessionScopes(PageContext, String)
          use instead getAllSessionScopes(String appName) 
railo.runtime.type.Query.getAt(String, int)
          use instead Query.getAt(railo.runtime.type.Collection.Key, int) 
railo.runtime.type.Query.getAt(String, int, Object)
          use instead Query.getAt(railo.runtime.type.Collection.Key, int, Object) 
railo.runtime.functions.cache.Util.getCache(PageContext, String)
          use getCache(Config config,String cacheName) instead 
railo.runtime.functions.cache.Util.getCache(PageContext, String, int)
          use getCache(Config config,String cacheName, int type) instead 
railo.runtime.type.scope.Undefined.getCascading(String)
          use instead Undefined.getCascading(railo.runtime.type.Collection.Key) 
railo.runtime.PageContext.getCollection(Object, String)
          use instead PageContext.getCollection(Object, railo.runtime.type.Collection.Key, Object) 
railo.runtime.PageContext.getCollection(Object, String, Object)
          use instead PageContext.getCollection(Object, railo.runtime.type.Collection.Key, Object) 
railo.runtime.type.scope.Undefined.getCollection(String)
          use instead Undefined.getCollection(railo.runtime.type.Collection.Key) 
railo.runtime.type.scope.Undefined.getCollectionStack()
          use instead Undefined.getQueryStack() 
railo.runtime.sql.old.SimpleCharStream.getColumn()
          Method getColumn is deprecated 
railo.runtime.type.Query.getColumn(String)
          use instead Query.getColumn(railo.runtime.type.Collection.Key) 
railo.runtime.type.Query.getColumn(String, QueryColumn)
          use instead Query.getColumn(railo.runtime.type.Collection.Key, QueryColumn) 
railo.runtime.config.Config.getConfigServer()
          replaced with getConfigServer(String password) 
railo.runtime.util.QueryStack.getDataFromACollection(Collection.Key)
          use instead QueryStack.getDataFromACollection(PageContext,Collection.Key) 
railo.runtime.util.QueryStack.getDataFromACollection(String)
          use instead QueryStack.getDataFromACollection(PageContext,String) 
railo.runtime.config.Config.getDefaultDumpWriter()
          use instead getDefaultDumpWriter(int defaultType) 
railo.runtime.type.FunctionArgumentImpl.getDspName()
          replaced with getDisplayName(); 
railo.runtime.type.FunctionArgumentLight.getDspName()
          replaced with getDisplayName(); 
railo.runtime.type.FunctionArgument.getDspName()
          replaced with getDisplayName(); 
railo.runtime.config.Config.getDumpWriter(String)
          use instead getDumpWriter(String key,int defaultType) 
railo.runtime.config.Config.getErrorTemplate()
          replaced with getErrorTemplate(int status) 
railo.runtime.type.ref.Reference.getKeyAsString()
          use instead Reference.getKey() 
railo.intergral.fusiondebug.server.FDControllerImpl.getLicenseInformation()
          use instead FDControllerImpl.getLicenseInformation(String) 
railo.runtime.sql.old.SimpleCharStream.getLine()
          Method getLine is deprecated 
railo.runtime.schedule.Scheduler.getNextExecutionTime()
          task are self controlled no longer controlled by a controller thread 
railo.runtime.ComponentImpl.getPage()
          use instead getPageSource() 
railo.runtime.type.UDFImpl.getPage()
          use instead getPageSource() 
railo.runtime.PageContext.getReference(Object, String)
          use instead PageContext.getReference(Object, railo.runtime.type.Collection.Key) 
railo.runtime.PageContext.getRelativePageSource(String)
          use instead getRelativePageSources or getRelativePageSourceExisting 
railo.runtime.reflection.Reflector.getSetterEL(Object, String, Object)
          use instead getSetter(Object obj, String prop,Object value, MethodInstance defaultValue) 
railo.runtime.type.QueryImpl.go(int)
          use instead go(int,int) 
railo.runtime.type.Iterator.go(int)
          use instead Iterator.go(int,int) 
railo.runtime.PageContext.include(PageSource)
          replaced with PageContext.doInclude(PageSource) 
railo.runtime.op.Constants.Integer(int)
          use Integer.valueOf() instead 
railo.commons.io.res.Resource.isArchive()
          use instead Resource.getAttribute(short) 
railo.runtime.op.Decision.isEmpty(String)
          use instead StringUtil.isEmpty(String) 
railo.runtime.op.Decision.isEmpty(String, boolean)
          use instead StringUtil.isEmpty(String) 
railo.runtime.op.Decision.isGUID(Object)
          use instead isGUId(Object) 
railo.commons.io.res.Resource.isHidden()
          use instead Resource.getAttribute(short) 
railo.commons.io.res.Resource.isSystem()
          use instead Resource.getAttribute(short) 
railo.runtime.op.Decision.isUUID(Object)
          use instead isUUId(Object obj) 
railo.runtime.type.Iteratorable.iterator()
          use instead Iteratorable.keyIterator() 
railo.runtime.type.Collection.keysAsString()
          use instead Collection.keys() 
railo.runtime.type.List.last(String, String)
          use instead last(String list, String delimeter, boolean ignoreEmpty) 
railo.commons.io.res.Resource.mkdir()
          use #createDirectory(boolean) 
railo.commons.io.res.Resource.mkdirs()
          use #createDirectory(boolean) 
railo.runtime.type.Iterator.next()
          use instead Iterator.next(int) 
railo.runtime.type.scope.Undefined.removeCollection()
          Undefined.removeQuery() 
railo.runtime.type.Query.removeColumn(String)
          use instead Query.removeColumn(railo.runtime.type.Collection.Key) 
railo.runtime.type.Query.removeColumnEL(String)
          use instead Query.removeColumnEL(railo.runtime.type.Collection.Key) 
railo.commons.io.res.Resource.renameTo(Resource)
          use instead #moveTo(Resource) 
railo.runtime.type.Iterator.reset()
          use instead Iterator.reset(int) 
railo.runtime.PageContextImpl.scope(int)
          use instead VariableInterpreter.scope(...) 
railo.runtime.PageContext.set(Object, String, Object)
          use instead PageContext.set(Object, railo.runtime.type.Collection.Key, Object) 
railo.runtime.type.Objects.set(PageContext, String, Object)
          use instead Objects.set(PageContext, railo.runtime.type.Collection.Key, Object) 
railo.runtime.type.Collection.set(String, Object)
          use instead Collection.set(railo.runtime.type.Collection.Key, Object) 
railo.commons.io.res.Resource.setArchive(boolean)
          use instead Resource.setAttribute(short, boolean) 
railo.runtime.type.Query.setAt(String, int, Object)
          use instead Query.setAtEL(railo.runtime.type.Collection.Key, int, Object) 
railo.runtime.type.Query.setAtEL(String, int, Object)
          use instead Query.setAtEL(railo.runtime.type.Collection.Key, int, Object) 
railo.runtime.tag.StoredProc.setBlockfactor(int)
          replaced with setBlockfactor(double) 
railo.runtime.type.scope.Undefined.setCollectionStack(QueryStack)
          use instead Undefined.setQueryStack(QueryStack) 
railo.runtime.tag.Content.setContent(byte[])
          replaced with #setVariable(String) 
railo.runtime.type.scope.Cookie.setCookie(String, Object, int, boolean, String, String)
          replaced with setCookie(Collection.Key name, Object value, int expires, boolean secure, String path, String domain) 
railo.runtime.type.scope.Cookie.setCookie(String, Object, Object, boolean, String, String)
          replaced with setCookie(Collection.Key name, Object value, Object expires, boolean secure, String path, String domain) 
railo.runtime.type.scope.Cookie.setCookieEL(String, Object, int, boolean, String, String)
          replaced with setCookieEL(Collection.Key name, Object value, int expires, boolean secure, String path, String domain 
railo.runtime.type.Objects.setEL(PageContext, String, Object)
          use instead Objects.setEL(PageContext, railo.runtime.type.Collection.Key, Object) 
railo.runtime.type.Collection.setEL(String, Object)
          use instead Collection.setEL(railo.runtime.type.Collection.Key, Object) 
railo.runtime.tag.Setting.setEnablecfoutputonly(boolean)
          this method is replaced by the method setEnablecfoutputonly(Object enablecfoutputonly) 
railo.runtime.tag.Cookie.setExpires(String)
          replaced with setExpires(Object expires):void 
railo.commons.io.res.Resource.setHidden(boolean)
          use instead Resource.setAttribute(short, boolean) 
railo.transformer.bytecode.statement.StatementBase.setLine(int)
          replaced with "setStartLine" 
railo.runtime.PageContext.setLocale(String)
          use instead PageContext.setLocale(Locale) 
railo.runtime.tag.Throw.setMessage(String)
          this method should no longer be used. 
railo.commons.io.res.Resource.setReadOnly()
          use instead Resource.setWritable(boolean) 
railo.commons.io.res.Resource.setSystem(boolean)
          use instead Resource.setAttribute(short, boolean) 
railo.runtime.tag.Cache.setTimeout(Object)
          this attribute is deprecated and will ignored in this tag 
railo.runtime.type.Query.sort(String)
          use instead Query.sort(railo.runtime.type.Collection.Key) 
railo.runtime.type.Query.sort(String, int)
          use instead Query.sort(railo.runtime.type.Collection.Key, int) 
railo.runtime.text.xml.XMLCaster.toNode(Object)
          replaced with toRawNode 
railo.runtime.PageContext.touch(Object, String)
          use instead PageContext.touch(Object, railo.runtime.type.Collection.Key) 
 

Deprecated Constructors
railo.runtime.type.FunctionArgumentImpl(Collection.Key, String, boolean, int, boolean, String, String, StructImpl)
          use other constructor 
railo.runtime.type.FunctionArgumentImpl(String, String, boolean)
          use other constructor 
railo.runtime.type.FunctionArgumentImpl(String, String, boolean, double, boolean, String, String, StructImpl)
          use other constructor 
railo.runtime.type.FunctionArgumentImpl(String, String, boolean, double, String, String, StructImpl)
          use other constructor 
railo.runtime.type.FunctionArgumentImpl(String, String, boolean, int, boolean, String, String, StructImpl)
          use other constructor 
railo.runtime.type.FunctionArgumentImpl(String, String, boolean, int, String, String, StructImpl)
          use other constructor 
railo.runtime.type.FunctionArgumentImpl(String, String, boolean, String, String)
          use other constructor 
railo.runtime.type.FunctionArgumentImpl(String, String, boolean, String, String, StructImpl)
          use other constructor 
railo.runtime.type.FunctionArgumentImpl(String, String, short, boolean, int, boolean, String, String, StructImpl)
          use other constructor 
railo.runtime.type.UDFImpl(Page, FunctionArgument[], int, String, short, String, boolean, boolean, String, String, String, String, Boolean, Boolean, StructImpl)
          use instead UDFImpl(UDFProperties properties) 
railo.runtime.type.UDFImpl(Page, FunctionArgument[], int, String, String, String, boolean, boolean, String, String, String, String, Boolean, Boolean, StructImpl)
          use instead UDFImpl(UDFProperties properties) 
 



Copyright © 2012 Railo