Deprecated API


Contents
Deprecated Classes
ariba.util.io.ARProcess
          Use ariba.util.io.Exec 
ariba.ui.widgets.FileUploadStatusBar
            
 

Deprecated Fields
ariba.util.fieldvalue.CompiledAccessorFactory.AccessThresholdCurrent
          use setAccessThresholdToCompile(int) 
ariba.util.fieldvalue.CompiledAccessorFactory.AccessThresholdToCompile
          use setAccessThresholdToCompile(int) 
ariba.util.core.ListUtil.ImmutableEmptyList
          use Collections.emptyList() instead 
ariba.util.core.DynamicArray.inUse
          see inUse() 
ariba.ui.aribaweb.core.AWBindingNames.namePrefix
          Use semanticKeyBindingName() 
ariba.util.io.SerializeUtil.ResetObjectTable
            
 

Deprecated Methods
ariba.util.log.Log.addConsole()
          There's no need to use addConsole anymore 
ariba.util.core.Vector.addElement(Object)
          use add () 
ariba.util.core.DynamicArray.addElement(Object)
          use add instead 
ariba.util.core.Vector.addElementIfAbsent(Object)
          use ListUtil.addElementIfAbsent. Since performance of this method is linear with the size of the list, consider using a different datastructure such as java.util.HashSet 
ariba.util.core.Vector.addElements(Vector)
          use addAll instead 
ariba.util.core.Vector.addElementsIfAbsent(Vector)
          use ListUtil.addElementsIfAbsent. Since performance of this method is linear with the size of the list, consider using a different datastructure such as java.util.HashSet 
ariba.util.core.Fmt.B(FormatBuffer, String, Object, Object, Object, Object, Object, Object, Object[])
          use B(FormatBuffer, control, Object[]) 
ariba.util.core.Vector.capacity()
          code should not be concerned with such internal details 
ariba.util.core.PerformanceState.clear()
          Use ThreadDebugState.clear() 
ariba.ui.widgets.AribaPageContent.clearMessage(AWSession)
          Use MessageBanner.clearMessage instead 
ariba.ui.widgets.AribaPageContent.clearMessage(boolean, AWSession)
          Use MessageBanner.clearMessage instead 
ariba.ui.aribaweb.util.AWEncodedString.computeString()
          use string() 
ariba.util.core.Vector.containsIdentical(Object)
          use ListUtil.containsIdentical instead 
ariba.util.core.IOUtil.copyFile(File, File, char[])
          use copyFile(File, File, byte[]) 
ariba.util.core.Vector.copyInto(Object[])
          use toArray(Object[]) 
ariba.util.core.Vector.copyInto(Object[], int)
          use ariba.util.core.ListUtil.copyInto() 
ariba.util.core.Vector.count()
          use size() 
ariba.util.core.Hashtable.count()
          replaced by size 
ariba.ui.aribaweb.core.AWRequestContext.dict()
          use put(key,value) and get(key) API's directly 
ariba.util.core.Vector.elementArray()
          use toArray 
ariba.util.core.Vector.elementArrayNoCopy()
          this is not supported with java's collection classes and should not be used by Ariba code. Callers should take the performance hit of using the supported methods toArray clear and addElements(ListUtil.arrayToList(Object[])) 
ariba.util.core.Vector.elementAt(int)
          use get 
ariba.util.core.Vector.elements()
          use iterator () 
ariba.util.core.Hashtable.elements()
          use values.iterator() instead 
ariba.util.core.Vector.elements(int)
          use listIterator(int) 
ariba.util.core.Hashtable.elementsArray()
          use MapUtil.elementsArray 
ariba.util.core.Hashtable.elementsVector()
          use MapUtil.elementsList 
ariba.util.core.Vector.ensureCapacity(int)
          callers do not need to be aware of internal storage details 
ariba.util.core.Fmt.F(PrintWriter, String, Object, Object, Object, Object, Object, Object, Object[])
          use F(PrintWriter, String, Object[]) 
ariba.util.core.Vector.firstElement()
          see ariba.util.core.ListUtil.firstElement 
ariba.util.core.ClassExtensionRegistry.getClassExtension(Class)
          use get(Object) 
ariba.util.core.Date.getDate()
          replaced by static getDayOfMonth 
ariba.util.core.Date.getDay()
          replaced by static getDayOfWeek 
ariba.util.core.Parameters.getHashtableParameter(String)
          use getMapParameter(String) 
ariba.util.core.Date.getHours()
          replaced by static getHours 
ariba.util.core.Date.getMinutes()
          replaced by static getMinutes 
ariba.util.core.Date.getMonth()
          replaced by static getMonth 
ariba.util.core.Date.getSeconds()
          replaced by static getSeconds 
ariba.util.formatter.SystemBooleanFormatter.getStringValue(Boolean, Locale)
          use getStringValue(Boolean) instead. 
ariba.util.core.Constants.getTempDirectory()
          use SystemUtil.getLocalTempDirectory 
ariba.util.core.Date.getTimezoneOffset()
          replaced by timezoneOffset 
ariba.util.core.Parameters.getVectorParameter(String)
          use getListParameter(String) 
ariba.util.core.Date.getYear()
          replaced by static getYear 
ariba.ui.aribaweb.core.AWComponent.hasSubTemplateNamed(String)
          Use hasContentNamed() 
ariba.util.core.Vector.indexOf(Object, int)
          use subList() and indexOf(Object) instead 
ariba.util.core.Vector.indexOfIdentical(Object)
          use ListUtil.indexOfIdentical instead 
ariba.util.core.Vector.indexOfIdentical(Object, int)
          use subList and ListUtil.indexOfIdentical instead 
ariba.util.core.IOUtil.inputStreamToOutputStream(InputStream, OutputStream, byte[], boolean, int)
          Use IOUtil.spool(java.io.InputStream, java.io.OutputStream, byte[], boolean, long) instead. 
ariba.util.core.Vector.insertElementAfter(Object, Object)
          use ListUtil 
ariba.util.core.Vector.insertElementAt(Object, int)
          use add(int, Object) instead 
ariba.util.core.Vector.insertElementBefore(Object, Object)
          use ListUtil 
ariba.util.core.Vector.isModifiable()
          not supported with Collections.unmodifiableList 
ariba.util.core.Hashtable.keys()
          use keySet.iterator() instead 
ariba.util.core.Hashtable.keysArray()
          use MapUtil.keysArray 
ariba.util.core.Hashtable.keysVector()
          use MapUtil.keysList 
ariba.util.core.Fmt.O(OutputStream, String, Object, Object, Object, Object, Object, Object, Object[])
          use O(OutputStream, String, Object[]) 
ariba.ui.aribaweb.util.AWSingleLocaleResourceManager.pathForResourceNamed(String)
          use resource().inputStream() to get contents of file 
ariba.ui.aribaweb.util.AWResourceManager.pathForResourceNamed(String)
          use resource().inputStream() to get contents of file 
ariba.ui.aribaweb.util.AWMultiLocaleResourceManager.pathForResourceNamed(String)
          use resource().inputStream() to get contents of file 
ariba.ui.aribaweb.util.AWMultiLocaleResourceManager.pathForResourceNamed(String, Locale)
          use resource().inputStream() to get contents of file 
ariba.ui.aribaweb.core.AWComponent.postTakeValueActions()
            
ariba.ui.aribaweb.util.AWMultiLocaleResourceManager.registerHttpResourceDirectory(String)
            
ariba.util.core.Vector.removeAllElements()
          use clear 
ariba.util.core.Vector.removeElement(Object)
          use remove(java.lang.Object) 
ariba.util.core.Hashtable.removeElement(Object)
          use MapUtil.removeElement 
ariba.util.core.Vector.removeElementAt(int)
          use remove(int) 
ariba.util.core.Vector.replaceElement(Object, Object)
          use ListUtil.replace 
ariba.util.core.Vector.replaceElementAt(int, Object)
          use set 
ariba.util.core.Fmt.S(String, Object, Object, Object, Object, Object, Object, Object[])
          use S(String, Object[]) 
ariba.ui.aribaweb.core.AWRequest.senderId()
            
ariba.ui.aribaweb.core.AWRequestContext.setCurrentElement(AWBaseElement)
          use pushCurrentElement / popCurrentElement instead 
ariba.util.core.Date.setDate(int)
          replaced by static setDayOfMonth(Date, int) 
ariba.util.core.Date.setDay(int)
          replaced by static setDayOfWeek(Date, int) 
ariba.ui.widgets.Util.setHeadersForDownload(AWResponse, String)
          Use setHeadersForDownload with requestContext instead 
ariba.util.core.Date.setHours(int)
          replaced by static setHours(Date, int) 
ariba.ui.widgets.AribaPageContent.setMessage(Object, AWSession)
          Use MessageBanner.setMessage instead 
ariba.ui.widgets.AribaPageContent.setMessage(Object, boolean, AWSession)
          Use MessageBanner.setMessage instead 
ariba.util.core.Date.setMinutes(int)
          replaced by static setMinutes(Date, int) 
ariba.util.core.Date.setMonth(int)
          replaced by static setMonth(Date, int) 
ariba.util.core.Date.setSeconds(int)
          replaced by static setSeconds(Date, int) 
ariba.ui.aribaweb.core.AWDirectActionUrl.setSessionRendevous(boolean)
            
ariba.util.core.Vector.setUnmodifiable()
          use Collections.unmodifiableList 
ariba.ui.table.AWTDataTable.setVisibleColumn(Map, String)
            
ariba.util.core.Date.setYear(int)
          replaced by static setYear(Date, int) 
ariba.util.core.Fmt.Si(String, Object, Object, Object, Object, Object, Object, Object[])
          use Si(String, Object[]) 
ariba.util.core.Fmt.Sil(Locale, String, String, Object, Object, Object, Object, Object, Object, Object[])
          use Sil(Locale, String, String, Object[]) 
ariba.util.core.Fmt.Sil(String, String)
          use ariba.util.core.ResourceService.getString(String, String) 
ariba.util.core.Fmt.Sil(String, String, Object, Object, Object, Object, Object, Object, Object[])
          use Sil(String, String, Object[]) 
ariba.util.core.Vector.sort(boolean)
          use ListUtil.sortStrings(List, boolean) 
ariba.util.core.Vector.sortStrings(boolean, boolean)
          use ListUtil.sortStrings(List, boolean, boolean) 
ariba.util.core.ResourceService.string(String, String)
          Replaced by getString(String, String) 
ariba.util.core.ResourceService.string(String, String, Locale)
          Replaced by getString(String, String, Locale) 
ariba.util.i18n.I18NUtil.stringLengthBytes(String, String)
          see LocaleSupport.widthInBytes(String, Locale) 
ariba.util.i18n.I18NUtil.stringWidthWhenPrinted(String, String)
          see LocaleSupport.widthInBytes(String, Locale) 
ariba.ui.widgets.Widgets.styleSheets()
          Use styleSheetsAW5 instead. 
ariba.util.core.Date.toGMTString()
          replaced by toGMT 
ariba.util.core.Vector.trimToSize()
          callers should not worry about internal storage details. 
ariba.util.core.Fmt.W(Writer, String, Object, Object, Object, Object, Object, Object, Object[])
          use W(Writer, String, Object[]) 
ariba.util.fieldvalue.FieldValueException.wrapException(Exception)
          Use throwException(...) Converts an exception into a RuntimeException. If the exception is already a RuntimeException, it is simply returned. Otherwise, it is wrapped in a FieldValueException. 
 

Deprecated Constructors
ariba.util.core.Hashtable()
          use MapUtil.map 
ariba.util.core.Hashtable(Hashtable)
          use MapUtil.map 
ariba.util.core.Hashtable(int)
          use MapUtil.map 
ariba.util.core.Vector()
          use ListUtil.list 
ariba.util.core.Vector(Collection)
          use ListUtil.list() 
ariba.util.core.Vector(int)
          use ListUtil.list 
ariba.util.core.Vector(Object[])
          use ListUtil.list 
ariba.util.core.Vector(Object[], boolean)
          use ListUtil.arrayToList 
ariba.util.core.Vector(Vector)
          use ListUtil.list 
 



AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.