[an error occurred while processing this directive]
PATH
Documentation > WebObjects 4.5 >
WebObjects Reference
Deprecated
API
This file enumerates those WebObjects Framework classes and
methods that have been deprecated and should no longer be used.
Wherever possible, notes have been included to indicate what API
should be used in place of the deprecated class or method.
WOApplication
public WOContext context()
Deprecated in WebObjects 4.0. Use WOComponent's
context method instead.
public WOSession createSession()
Deprecated in WebObjects 4.0 Use
createSessionForRequest instead.
public WOResponse handleException(Throwable anException)
Deprecated in WebObjects 4.0. Use
handleException instead.
public WOResponse handlePageRestorationError()
Deprecated in WebObjects 4.0. Use
handlePageRestorationErrorInContext instead.
public WOResponse handleRequest(WORequest aRequest)
Deprecated in WebObjects 4.0. Use
dispatchRequest instead.
public WOResponse handleSessionCreationError()
Deprecated in WebObjects 4.0. Use
handleSessionCreationErrorInContext instead.
public WOResponse handleSessionRestorationError()
Deprecated in WebObjects 4.0. Use
handleSessionRestorationErrorInContext instead.
public static void logToMonitorString(String aFormat)
Deprecated in WebObjects 4.5. New features in
the Monitor application allow logging of information. The deprecated
API does nothing.
public WOComponent pageWithName(String aName)
Deprecated in WebObjects 4.0. Use
pageWithName instead.
public String pathForResourceNamed(
String aName,
String anExtension)
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
pathForResourceNamed instead.
public boolean requiresWOF35RequestHandling()
Deprecated in WebObjects 4.5. Apps should be
rewritten so that they don't require WebObjects 3.5 behavior.
public boolean requiresWOF35TemplateParser()
Deprecated in WebObjects 4.5. Apps should be
rewritten so that they don't require WebObjects 3.5 behavior.
public WOComponent restorePageForContextID(String contextID)
Deprecated in WebObjects 4.0. Use WOSession's
restorePageForContextID instead.
public WOSession restoreSession()
Deprecated in WebObjects 4.0. Use
restoreSessionWithID instead.
public void savePage(WOComponent aPage)
Deprecated in WebObjects 4.0. Use WOSession's
implementation of
savePage instead.
public void saveSession(WOSession aSession)
Deprecated in WebObjects 4.0. Use
saveSessionForContext instead.
public WOSession session()
Deprecated in WebObjects 4.0 Use WOComponent's
session method instead.
public String stringForKeyInTable(
String aKey,
String aTableName,
String aDefaultValue)
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
stringForKey instead.
public String urlForResourceNamed(
String aName,
String anExtension)
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
urlForResourceNamed instead.
WOAssociation
public void setValue(Object aValue)
Deprecated in WebObjects 4.0. Use
setValue instead.
public Object value()
Deprecated in WebObjects 4.0. Use
valueInComponent instead.
WOComponent
public String pathForResourceNamed(
String aName,
String anExtension)
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
pathForResourceNamed instead.
public String stringForKeyInTable(
String aKey,
String aTableName,
String aDefaultValue)
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
stringForKey instead.
public String urlForResourceNamed(
String aResourceName,
String anExtension)
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
urlForResourceNamed instead.
WOContext
public WOApplication application()
Deprecated in WebObjects 4.0. Use WOApplication's
application method instead.
public boolean isDistributionEnabled()
Deprecated in WebObjects 4.0. Use WOSession's
implementation of
isDistributionEnabled instead.
public void setDistributionEnabled(boolean flag)
Deprecated in WebObjects 4.0. Use WOSession's
implementation of
setDistributionEnabled instead.
public String url()
Deprecated in WebObjects 4.0. Use
componentActionURL instead.
public String urlSessionPrefix()
Deprecated in WebObjects 4.0. There is no alternative
since the URL session prefix doesn't mean anything in the current
URL format.
WODisplayGroup
public void setSortOrdering(NSArray keySortOrderArray)
Deprecated in WebObjects 4.0. Renamed to
setSortOrderings.
public NSArray sortOrdering()
Deprecated in WebObjects 4.0. Renamed to
sortOrderings.
WORequest
public String applicationHost()
Deprecated in WebObjects 4.0. See java.net.InetAddress.
public String contextID()
Deprecated in WebObjects 4.0. Use WOContext's
implementation of
contextID instead.
public String pageName()
Deprecated in WebObjects 4.0. Use WOComponent's
name method instead.
public String senderID()
Deprecated in WebObjects 4.0. Use WOContext's
implementation of
senderID instead.
WOResourceManager
public String pathForResourceNamedInFramework(
String aResourceName,
String aFrameworkName)
Deprecated in WebObjects 4.0. Use
pathForResourceNamed instead.
public String urlForResourceNamedInFramework(
String aResourceName,
String aFrameworkName)
Deprecated in WebObjects 4.0. Use
urlForResourceNamed instead.
WOSession
public WOApplication application()
Deprecated in WebObjects 4.0. Use WOApplication's
application method instead.
WOSessionStore
public WOSession restoreSession()
Deprecated in WebObjects 4.0. Use
restoreSessionWithID instead.
public void saveSession(WOSession aSession)
Deprecated in WebObjects 4.0. Use
saveSessionForContext instead.
WOStatisticsStore
public boolean validateLogin(String aString)
Deprecated in WebObjects 4.0. Use
validateLogin instead.