WebObjects 5.2.3

Deprecated API

Deprecated Classes
com.webobjects.eoaccess.EOSQLQualifier
          The class EOSQLQualifier is deprecated. Use EOAdaptorChannel.evaluateExpression() or EOFetchSpecification.setHints() instead. 
com.webobjects.foundation.NSTimestamp.IntRef
          in the Java Foundation framework. NSTimestamp.IntRef objects act as a containers to hold the values returned by NSTimestamp's gregorianUnitsSinceTimestamp method and consist solely of an instance variable, value. 
com.webobjects.eodistribution.WOJavaClientApplet
          So far, Applets have been used for starting and downloading a JavaClient application from a web browser. With Sun's new WebStart technology (which is supported by MacOS X version 10.1.2 upwards), in addition to the advantages of applets, the runtime environment of applications will be independent of the web browser, and automatic download/caching/update capabilities provide a major improvement. WebStart is supported by WOJavaClientComponent and related classes. 
com.webobjects.appserver.WOStopWatch
            
com.webobjects.woextensions.WOTableString
          WOTableString is no longer supported 
 

Deprecated Fields
com.webobjects.foundation.NSValidation.ValidationException.AdditionalExceptionsKey
          Use NSValidation.ValidationException.additionalExceptions() 
com.webobjects.foundation.NSTimeZone.SystemTimeZoneDidChangeNotification
            
com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException.TargetObjectUserInfoKey
          this user info dictionary entry should be accessed using the object method. 
com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException.UnknownUserInfoKey
          this user info dictionary entry should be accessed using the key method. 
com.webobjects.foundation.NSValidation.ValidationException.ValidatedKeyUserInfoKey
          Use NSValidation.ValidationException.key() 
com.webobjects.foundation.NSValidation.ValidationException.ValidatedObjectUserInfoKey
          User NSValidation.ValidationException.object() 
 

Deprecated Methods
com.webobjects.eoaccess.EOModelGroup.addModelWithPath(String)
          use addModelWithPathURL instead 
com.webobjects.foundation.NSBundle.allBundles()
          The only non-framework bundle that an application can access without using deprecated APIs is the main bundle. Use mainBundle instead. 
com.webobjects.foundation.NSBundle.allFrameworks()
          Use frameworkBundles instead 
com.webobjects.foundation.NSLog.allowedDebugLevel()
          Use NSLog.debug.allowedDebugLevel instead. 
com.webobjects.foundation.NSProperties.arrayForKey(String)
          Instead, find the system property using System.getProperty and convert the property to a string using NSPropertyListSerialization.arrayForString. 
com.webobjects.eointerface.cocoa.EOCocoaTableViewPlugin.associationForColumnAtIndex(int)
          in the Java EOInterface Cocoa Framework. Don't use this method. 
com.webobjects.foundation.NSNumberFormatter.attributedStringForNil()
          Use NSNumberFormatter.stringForNull(). 
com.webobjects.foundation.NSNumberFormatter.attributedStringForNotANumber()
          Use NSNumberFormatter.stringForNotANumber(). 
com.webobjects.foundation.NSNumberFormatter.attributedStringForZero()
          Use NSNumberFormatter.stringForZero(). 
com.webobjects.directtoweb.D2WMasterDetailPage.backAction()
            
com.webobjects.foundation.NSProperties.booleanForKey(String)
          Instead, find the system property using System.getProperty and convert it to a boolean using NSPropertyListSerialization.booleanForString. 
com.webobjects.foundation.NSBundle.bundlePath()
          You should not need to know the file system path to the bundle directory. 
com.webobjects.foundation.NSBundle.bundleWithPath(String)
          To access a bundle that was loaded when the application started, use bundleForName or bundleForClass instead 
com.webobjects.jdbcadaptor.JDBCPlugIn.canDescribeStoredProcedure(String)
            
com.webobjects.eoaccess.EOAdaptorContext.canNestTransactions()
          Nested transactions are not supported. 
com.webobjects.directtoweb.D2WModel.clientConfigurationFilesInBundles()
          use clientConfigurationFilesPathURLsInBundles instead 
com.webobjects.appserver.WOHTTPConnection.connectTimeout()
          There will be a connection only after a sendRequest has been executed. Thus, it would make more sense to control the send timeout using setSendTimeout. 
com.webobjects.appserver.WOContext.contextWithRequest(WORequest)
          use WOContext(WORequest aRequest) instead 
com.webobjects.appserver.WOCookie.cookieWithName(String, String)
          Use WOCookie(String aName, String aValue) instead 
com.webobjects.appserver.WOCookie.cookieWithName(String, String, String, String, int, boolean)
          Use WOCookie(String aName, String aValue, String aPath, String aDomain, int timeout, boolean isSecure) instead 
com.webobjects.appserver.WOCookie.cookieWithName(String, String, String, String, NSTimestamp, boolean)
          Use WOCookie(String aName, String aValue, String aPath, String aDomain, NSTimestamp aDate, boolean isSecure) instead 
com.webobjects.jdbcadaptor.JDBCPlugIn.createAttributeForRow(NSDictionary)
            
com.webobjects.foundation.NSTimestamp.currentTimeIntervalSinceReferenceDate()
          Use (System.currentTimeMillis() / 1000) instead 
com.webobjects.jdbcadaptor.JDBCPlugIn.databaseInformation()
            
com.webobjects.foundation.NSProperties.dataForKey(String)
          Instead, find the system property using System.getProperty, convert the property to a property list using NSPropertyListSerialization.propertyListFromString, and convert the property list to an NSData object using NSPropertyListSerialization.dataFromPropertyList. 
com.webobjects.foundation.NSPropertyListSerialization.dataFromPropertyList(Object)
          Use dataFromPropertyList(Object object, String encoding) instead. 
com.webobjects.foundation.NSData.dataWithContentsOfFile(File)
            
com.webobjects.foundation.NSData.dataWithContentsOfFile(String)
            
com.webobjects.foundation.NSData.dataWithContentsOfMappedFile(File)
            
com.webobjects.foundation.NSTimestamp.dayOfCommonEra()
          Use GregorianCalendar instead. 
com.webobjects.foundation.NSTimestamp.dayOfMonth()
          Use GregorianCalendar instead. 
com.webobjects.foundation.NSTimestamp.dayOfWeek()
          Use GregorianCalendar instead. 
com.webobjects.foundation.NSTimestamp.dayOfYear()
          Use GregorianCalendar instead. 
com.webobjects.appserver.WOSession.debugString(String)
          use com.webobjects.foundation.NSLog instead 
com.webobjects.appserver.WOComponent.debugString(String)
          debugString is no longer supported 
com.webobjects.appserver.WOApplication.debugString(String)
          use NSLog instead. 
com.webobjects.appserver.WOAction.debugString(String)
          use NSLog instead. 
com.webobjects.eointerface.EODisplayGroup.delete()
          Deprecated. Use deleteSelection instead. 
com.webobjects.foundation.NSProperties.dictionaryForKey(String)
          Instead, find the system property using System.getProperty and convert the property to an NSDictionary using NSPropertyListSerialization.dictionaryForString 
com.webobjects.appserver.WODisplayGroup.Delegate.displayGroupShouldDisplayAlert(WODisplayGroup, String, String)
          No longer important for WebObjects applications. No user code should depend upon this, and any references to this method may be eliminated freely. 
com.webobjects.foundation.NSTimestamp.distantFuture()
          Use NSTimestamp.DistantFuture instead 
com.webobjects.foundation.NSTimestamp.distantPast()
          Use NSTimestamp.DistantPast 
com.webobjects.appserver.WOAdaptor.doesBusyRunOnce()
          This method will never be called and should not be used or overridden. 
com.webobjects.foundation.NSProperties.doubleForKey(String)
          Instead, find the system property using System.getProperty and convert the property to a double. 
com.webobjects.foundation.NSTimestamp.earlierTimestamp(NSTimestamp)
          Use before instead 
com.webobjects.appserver.WODisplayGroup.editingContextPresentErrorMessage(EOEditingContext, String)
          Use NSLog instead. No user code should implement or depend upon this. 
com.webobjects.eocontrol.EOEditingContext.encodeWithKeyValueArchiver(EOKeyValueArchiver)
          Use Java Serialization instead. 
com.webobjects.appserver.WODisplayGroup.endEditing()
          No longer important for WebObjects applications. No user code should depend upon this, and any references to this method may be eliminated freely. 
com.webobjects.foundation.NSValidation.ValidationException.exceptionAddingEntriesToUserInfo(Object, String)
          Use NSValidation.ValidationException.exceptionWithObjectAndKey(java.lang.Object, java.lang.String) 
com.webobjects.appserver.WOHTTPConnection.expectContentLengthHeader(boolean, int)
          If you are using HTTP/1.1, there is no need to tell the receiver whether to expect content length since it follows RFC 2616 (HTTP/1.1). 
com.webobjects.appserver.WOSession.expirationDateForIDCookies()
          this method is deprecated should not be used 
com.webobjects.foundation.NSPathUtilities.fileExistsAtPath(String)
          Use (new File(aString)).exists() or fileExistsAtPathURL() 
com.webobjects.foundation.NSProperties.floatForKey(String)
          Instead, find the system property using System.getProperty and and convert the property to a float. 
com.webobjects.foundation.NSNumberFormatter.format()
          Use NSNumberFormatter.pattern(). 
com.webobjects.foundation.NSArray.getObjects(Object[])
          use public Object[] objects() instead 
com.webobjects.foundation.NSArray.getObjects(Object[], NSRange)
          use public Object[] objects() in NSRange instead 
com.webobjects.foundation.NSTimestamp.gregorianUnitsSinceTimestamp(NSTimestamp.IntRef, NSTimestamp.IntRef, NSTimestamp.IntRef, NSTimestamp.IntRef, NSTimestamp.IntRef, NSTimestamp.IntRef, NSTimestamp)
            
com.webobjects.foundation.NSTimestamp.hourOfDay()
          Use GregorianCalendar instead. 
com.webobjects.foundation.NSBundle.infoDictionary()
          Do not use this method. 
com.webobjects.appserver.WODisplayGroup.inQueryMode()
          No longer important for WebObjects applications. No user code should implement or depend upon this, and any implementations or references to this method may be eliminated freely. 
com.webobjects.foundation.NSProperties.integerForKey(String)
          Instead, find the system property using System.getProperty and convert it to an integer using NSPropertyListSerialization.intForString. 
com.webobjects.appserver.WOHTTPConnection.isConnected()
          This is meaningless since there will not be a connection before sendRequest is executed. 
com.webobjects.foundation.NSTimeZone.isEqualToTimeZone(NSTimeZone)
          Use equals. 
com.webobjects.appserver.WORequest.isFromClientComponent()
          isFromClientComponent() is deprecated as the Client Side Components Feature are not supported anymore 
com.webobjects.directtoweb.D2WComponent.isLiveAssistantEnabled()
            
com.webobjects.directtoweb.D2W.isLiveAssistantEnabled()
            
com.webobjects.foundation.NSTimestamp.laterTimestamp(NSTimestamp)
          Use after instead 
com.webobjects.foundation.NSBundle.load()
          Don't use this method since "Dynamic loading" is no longer supported. The default ClassLoader does not allow true dynamic class loading, it loads only those classes in the classpath at launch time. 
com.webobjects.directtoweb.D2WStatelessComponent.localContext()
            
com.webobjects.directtoweb.D2WComponent.localContext()
            
com.webobjects.foundation.NSNumberFormatter.localizesFormat()
          Use NSNumberFormatter.localizesPattern(). 
com.webobjects.foundation.NSTimeZone.localTimeZone()
            
com.webobjects.foundation.NSRange.locationInRange(int)
          Use NSRange.containsLocation(int) 
com.webobjects.appserver.WOApplication.lock()
          synchronized(WOApplication.application()) should be used instead. 
com.webobjects.foundation.NSRecursiveLock.lockBeforeDate(NSTimestamp)
          Use NSRecursiveLock.tryLock(NSTimestamp) 
com.webobjects.foundation.NSLock.lockBeforeDate(NSTimestamp)
            
com.webobjects.appserver.WOStatisticsStore.logFileRotationFrequencyInDays()
          Use logFileRotationFrequency() instead. 
com.webobjects.appserver.WOSession.logString(String)
          use com.webobjects.foundation.NSLog instead 
com.webobjects.appserver.WOComponent.logString(String)
          logString is no longer supported. 
com.webobjects.appserver.WOApplication.logString(String)
          Use NSLog instead 
com.webobjects.appserver.WOAction.logString(String)
          Use NSLog instead 
com.webobjects.foundation.NSProperties.longForKey(String)
          Instead, find the system property using System.getProperty and and convert the property to a long. 
com.webobjects.directtoweb.D2WModel.mergeFile(File)
          use mergePathURL instead 
com.webobjects.foundation.NSTimestamp.microsecondOfSecond()
          Do not use this method. Java typically uses milliseconds, not microseconds. 
com.webobjects.foundation.NSTimestamp.millisecondsToTimeInterval(long)
          Use (milliseconds / 1000) instead 
com.webobjects.foundation.NSTimestamp.minuteOfHour()
          Use GregorianCalendar instead. 
com.webobjects.directtoweb.D2WModel.modelFilesInBundles()
          use modelFilesPathURLsInBundles instead 
com.webobjects.eoaccess.EOModelGroup.modelWithPath(String)
          use modelWithPathURL instead 
com.webobjects.appserver.WOApplication.monitorEnabled()
          monitorEnabled no longer supported 
com.webobjects.appserver.WOApplication.monitorHost()
          monitorHost no longer supported 
com.webobjects.appserver.WOApplication.monitoringEnabled()
          monitoringEnabled is no longer supported 
com.webobjects.foundation.NSTimestamp.monthOfYear()
          Use GregorianCalendar instead. 
com.webobjects.foundation.NSTimeZone.name()
          Use getID. 
com.webobjects.foundation.NSNumberFormatter.negativeFormat()
          Use NSNumberFormatter.negativePattern(). 
com.webobjects.eoaccess.EOAttribute.newValueForBytesString(byte[], int)
            
com.webobjects.eoaccess.EOModel.path()
          use pathURL instead. 
com.webobjects.appserver.WOComponent.path()
          use pathURL instead. 
com.webobjects.foundation.NSBundle.pathForResource(String, String)
          Use resourcePathForLocalizedResourceNamed instead. 
com.webobjects.foundation.NSBundle.pathForResource(String, String, String)
          Don't use this method. Use resourcePathForLocalizedResourceNamed instead. 
com.webobjects.appserver.WOResourceManager.pathForResourceNamed(String, String, NSArray)
          don't use this method. Use inputStreamForResourceNamed, pathURLForResourceNamed or bytesForResourceNamed instead. 
com.webobjects.foundation.NSPathUtilities.pathIsAbsolute(String)
          Use (new File(aString)).isAbsolute(). 
com.webobjects.foundation.NSPathUtilities.pathIsEqualToString(String, String)
          This method should not be used. 
com.webobjects.foundation.NSBundle.pathsForResources(String, String)
          Don't use this method. Use resourcePathsForResources instead. 
com.webobjects.foundation.NSSocketUtilities.pollingInterval()
          This method always returns 0. 
com.webobjects.foundation.NSNumberFormatter.positiveFormat()
          Use NSNumberFormatter.positivePattern(). 
com.webobjects.eoaccess.EOAdaptorChannel.primaryKeyForNewRowWithEntity(EOEntity)
          Use the plural version, primaryKeysForNewRowsWithEntity instead. 
com.webobjects.appserver.WOApplication.primeApplication(String, String)
          use primeApplication(String, URL, String) instead. 
com.webobjects.appserver.WOApplication.printsHTMLParserDiagnostics()
          See com.webobjects.foundation.NSLog 
com.webobjects.foundation.NSPropertyListSerialization.propertyListFromData(NSData)
          Use propertyListFromData(NSData data, String encoding) 
com.webobjects.eoaccess.EOUtilities.rawRowsForSQL(EOEditingContext, String, String)
          Use rawRowsForSQL(EOEditingContext ec, String modelName, String sqlString, NSArray keys) instead. 
com.webobjects.foundation.xml.NSXMLInputStream.readLine()
          This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives. 
com.webobjects.appserver.WODisplayGroup.redisplay()
          Invoke willChange directly. 
com.webobjects.eocontrol.EOEditingContext.refaultObjects()
          Use refaultAllObjects instead. 
com.webobjects.eocontrol.EOEditingContext.refetch()
          Use refaultAllObjects instead. 
com.webobjects.foundation.NSMutableArray.replaceObjectAtIndex(int, Object)
          This method was provided for backward compatibility only. 
com.webobjects.foundation.NSTimeZone.resetSystemTimeZone()
            
com.webobjects.foundation.NSBundle.resourcePath()
          Don't use this method. Resources are now accessed using the bytesForResourcePath and inputStreamForResourcePath methods. 
com.webobjects.appserver.WOAdaptor.runOnce()
          This method will never be called and should not be used or overridden. 
com.webobjects.eocontrol.EOEditingContext.saveChanges(Object)
          Use EOEditingContext.saveChanges() instead. 
com.webobjects.foundation.NSTimestamp.secondOfMinute()
          Use GregorianCalendar instead. 
com.webobjects.appserver.WOApplication.setAdaptor(String)
          Use the system property WOAdaptor instead 
com.webobjects.appserver.WOApplication.setAdditionalAdaptors(NSArray)
          Use the system property WOAdditionalAdaptors instead 
com.webobjects.foundation.NSLog.setAllowedDebugLevel(int)
          Use NSLog.debug.setAllowedDebugLevel instead. 
com.webobjects.foundation.NSNumberFormatter.setAttributedStringForNil(String)
          Use NSNumberFormatter.setStringForNull(java.lang.String). 
com.webobjects.foundation.NSNumberFormatter.setAttributedStringForNotANumber(String)
          Use NSNumberFormatter.setStringForNotANumber(java.lang.String). 
com.webobjects.foundation.NSNumberFormatter.setAttributedStringForZero(String)
          Use NSNumberFormatter.setStringForZero(java.lang.String). 
com.webobjects.appserver.WOApplication.setComponentRequestHandlerKey(String)
          Use the system property _ComponentRequestHandlerKey instead 
com.webobjects.appserver.WOHTTPConnection.setConnectTimeout(int)
          There will be a connection only after a sendRequest has been executed. Thus, it would make more sense to control the send timeout using setSendTimeout. 
com.webobjects.foundation.NSTimestamp.setDate(int)
          NSTimestamp objects are immutable. 
com.webobjects.appserver.WOApplication.setDirectActionRequestHandlerKey(String)
          Use the system property _DirectActionRequestHandlerKey instead 
com.webobjects.appserver.WOApplication.setDirectConnectEnabled(boolean)
          Use the system property WODirectConnectEnabled instead 
com.webobjects.foundation.NSNumberFormatter.setFormat(String)
          Use NSNumberFormatter.setPattern(java.lang.String). 
com.webobjects.foundation.NSTimestamp.setHours(int)
          NSTimestamp objects are immutable. 
com.webobjects.appserver.WODisplayGroup.setInQueryMode(boolean)
          No longer important for WebObjects applications. No user code should implement or depend upon this, and any implementations or references to this method may be eliminated freely. 
com.webobjects.appserver.WOApplication.setListenQueueSize(Number)
          Use the system property WOListenQueueSize instead 
com.webobjects.directtoweb.D2W.setLiveAssistantEnabled(boolean)
            
com.webobjects.appserver.WOApplication.setLoadFrameworks(NSArray)
          Use the system property WOLoadFrameworks instead 
com.webobjects.foundation.NSNumberFormatter.setLocalizesFormat(boolean)
          Use NSNumberFormatter.setLocalizesPattern(boolean). 
com.webobjects.appserver.WOStatisticsStore.setLogFile(String, double)
          Use setLogFile(String path, long milliseconds) instead 
com.webobjects.appserver.WOApplication.setMaxSocketIdleTime(Number)
          Use the system property WOMaxSocketIdleTime instead 
com.webobjects.foundation.NSTimestamp.setMinutes(int)
          NSTimestamp objects are immutable. 
com.webobjects.appserver.WOApplication.setMonitorHost(String)
          setMonitorHost no longer supported 
com.webobjects.foundation.NSTimestamp.setMonth(int)
          NSTimestamp objects are immutable. 
com.webobjects.foundation.NSTimestamp.setNanos(int)
          NSTimestamp objects are immutable. 
com.webobjects.foundation.NSNumberFormatter.setNegativeFormat(String)
          Use NSNumberFormatter.setNegativePattern(java.lang.String) 
com.webobjects.foundation.NSSocketUtilities.setPollingInterval(int)
          This method no longer does anything, and should not be used. 
com.webobjects.appserver.WOApplication.setPort(Number)
          Use the system property WOPort instead 
com.webobjects.foundation.NSNumberFormatter.setPositiveFormat(String)
          Use NSNumberFormatter.setPositivePattern(java.lang.String). 
com.webobjects.appserver.WOApplication.setPrintsHTMLParserDiagnostics(boolean)
          See com.webobjects.foundation.NSLog 
com.webobjects.appserver.WOApplication.setResourceManager(WOResourceManager)
          use createResourceManager instead. 
com.webobjects.appserver.WOApplication.setResourceRequestHandlerKey(String)
          Use the system property _ResourceRequestHandlerKey instead 
com.webobjects.foundation.NSTimestamp.setSeconds(int)
          NSTimestamp objects are immutable. 
com.webobjects.appserver.WOApplication.setSocketCacheSize(Number)
          setSocketCacheSize no longer supported 
com.webobjects.appserver.WOApplication.setSocketMonitorSleepTime(Number)
          setSocketMonitorSleepTime no longer supported 
com.webobjects.foundation.NSTimestamp.setTime(long)
          NSTimestamp objects are immutable. 
com.webobjects.appserver.WORedirect.setURL(String)
          : setURL is a deprecated method use instead setUrl. 
com.webobjects.eoaccess.EOSQLExpression.setUseQuotedExternalNames(boolean)
          This static method is inappropriate in Java. Subclasses should implement their own policy on quoting identifiers. 
com.webobjects.eoaccess.EOAttribute.setValueClassName(String)
          use setClassName instead 
com.webobjects.appserver.WOApplication.setWebServiceRequestHandlerKey(String)
          Use the system property _WebServiceRequestHandlerKey instead 
com.webobjects.appserver.WOApplication.setWorkerThreadCount(Number)
          setWorkerThreadCount no longer supported 
com.webobjects.foundation.NSTimestamp.setYear(int)
          NSTimestamp objects are immutable. 
com.webobjects.appserver.WOApplication.sharedEditingContext()
          EOSharedEditingContext.defaultSharedEditingContext should be directly used instead. 
com.webobjects.appserver.WOApplication.socketCacheSize()
          socketCacheSize no longer supported 
com.webobjects.appserver.WOApplication.socketMonitorSleepTime()
          socketMonitorSleepTime no longer supported 
com.webobjects.foundation.NSArray.sortedArrayUsingSelector(NSSelector)
          use sortedArrayUsingComparator instead 
com.webobjects.jdbcadaptor.JDBCPlugIn.sqlStatementForGettingProcedureNames()
            
com.webobjects.jdbcadaptor.JDBCPlugIn.sqlStatementForGettingTableNames()
            
com.webobjects.jdbcadaptor.JDBCPlugIn.sqlStatementForTableNamed(String)
            
com.webobjects.jdbcadaptor.JDBCPlugIn.storedProcedureNamed(String, JDBCChannel, NSDictionary)
            
com.webobjects.foundation.NSPathUtilities.stringByStandardizingPath(String)
          This method should not be used. 
com.webobjects.foundation.NSProperties.stringForKey(String)
          Use System.getProperty(java.lang.String). 
com.webobjects.appserver.WOComponent.templateWithName(String)
          Use template instead. 
com.webobjects.appserver.WOApplication.terminateAfterTimeInterval(double)
          This method is deprecated, and currently just calls setTimeOut. 
com.webobjects.foundation.NSTimestamp.timeIntervalSinceNow()
          Use getTime and calculate the delta from System.currentTimeMillis instead 
com.webobjects.foundation.NSTimestamp.timeIntervalSinceReferenceDate()
          Use (getTime() / 1000) instead. 
com.webobjects.foundation.NSTimestamp.timeIntervalSinceTimestamp(NSTimestamp)
          Use getTime and calculate the delta instead 
com.webobjects.foundation.NSTimestamp.timeIntervalToMilliseconds(long)
          Use (timeInterval * 1000) instead 
com.webobjects.appserver.WOSession.timeOutForIDCookies()
          this method is deprecated should not be used 
com.webobjects.foundation.NSTimestamp.timestampByAddingTimeInterval(long)
          Use (new NSTimestamp((interval * 1000) + oldTs.getTime(), oldTs.getNanos())) instead. 
com.webobjects.foundation.NSTimestamp.timeZone()
          Deprecated in the Java Foundation framework. Do not use this method. All NSTimestamps are in UTC. 
com.webobjects.directtoweb.D2W.traceRuleFiringEnabled()
            
com.webobjects.directtoweb.D2W.traceRuleModificationsEnabled()
            
com.webobjects.eoaccess.EOAdaptorContext.transactionNestingLevel()
          Use hasOpenTransaction instead. 
com.webobjects.eocontrol.EOEditingContext.tryToSaveChanges()
          Use EOEditingContext.saveChanges() instead. 
com.webobjects.appserver.WOApplication.unlock()
          synchronized(WOApplication.application()) should be used instead. 
com.webobjects.foundation.NSPathUtilities.URLWithPath(String)
          Use new URL("file", "", path). 
com.webobjects.eoaccess.EOSQLExpression.useQuotedExternalNames()
          This static method is inappropriate in Java. Subclasses should implement their own policy on quoting identifiers. 
com.webobjects.directtoweb.D2WModel.userClientConfigurationFile()
          use userClientConfigurationFilePathURL instead 
com.webobjects.foundation.NSValidation.ValidationException.userInfo()
          Access the individual entries using the NSValidation.ValidationException.key() and NSValidation.ValidationException.object() methods. 
com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException.userInfo()
          The object and key methods should be used instead 
com.webobjects.directtoweb.D2WModel.userModelFile()
          use userModelFilePathURL instead. 
com.webobjects.directtoweb.Assignment.value(D2WContext)
            
com.webobjects.eoaccess.EOAttribute.valueClassName()
          use className instead 
com.webobjects.directtoweb.D2W.visibleEntityNames()
            
com.webobjects.appserver.WOApplication.workerThreadCount()
          workerThreadCount no longer supported 
com.webobjects.foundation.NSData.writeToFile(String)
            
com.webobjects.foundation.NSData.writeToURL(URL, boolean)
            
com.webobjects.foundation.NSTimestamp.yearOfCommonEra()
          Use GregorianCalendar instead. 
 

Deprecated Constructors
com.webobjects.eocontrol.EOCustomObject(EOEditingContext, EOClassDescription, EOGlobalID)
          the default or 0 argument constructor should be used instead 
com.webobjects.eocontrol.EOGenericRecord(EOEditingContext, EOClassDescription, EOGlobalID)
          the default or 0 argument constructor should be used instead 
com.webobjects.eoaccess.EOModel(String)
          use EOModel(URL url) instead. 
com.webobjects.foundation.NSData(File)
            
com.webobjects.foundation.NSData(String)
            
com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException(String, NSDictionary)
          Use NSKeyValueCoding.UnknownKeyException.NSKeyValueCoding.UnknownKeyException(java.lang.String, java.lang.Object, java.lang.String) instead. 
com.webobjects.foundation.NSMutableData(File)
            
com.webobjects.foundation.NSMutableData(String)
            
com.webobjects.foundation.NSMutableData(URL)
            
com.webobjects.foundation.NSValidation.ValidationException(String, NSDictionary)
          Use NSValidation.ValidationException.NSValidation.ValidationException(String, Object, String) 
com.webobjects.appserver.WOComponent()
          use WOComponent(WOContext aContext) instead. Using this constructor will slow down your application considerably. 
com.webobjects.appserver.WOHTTPConnection(String, int, int)
          Use setReceiveTimeout, setSendTimeout to control the timeout after creating an instance. 
 


Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.