PATH  Documentation > WebObjects 4.5 > WebObjects Reference

Table of Contents

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


context

public WOContext context()

Deprecated in WebObjects 4.0. Use WOComponent's context method instead.

createSession

public WOSession createSession()

Deprecated in WebObjects 4.0 Use createSessionForRequest instead.

handleException

public WOResponse handleException(Throwable anException)

Deprecated in WebObjects 4.0. Use handleException instead.

handlePageRestorationError

public WOResponse handlePageRestorationError()

Deprecated in WebObjects 4.0. Use handlePageRestorationErrorInContext instead.

handleRequest

public WOResponse handleRequest(WORequest aRequest)

Deprecated in WebObjects 4.0. Use dispatchRequest instead.

handleSessionCreationError

public WOResponse handleSessionCreationError()

Deprecated in WebObjects 4.0. Use handleSessionCreationErrorInContext instead.

handleSessionRestorationError

public WOResponse handleSessionRestorationError()

Deprecated in WebObjects 4.0. Use handleSessionRestorationErrorInContext instead.

logToMonitorString

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.

pageWithName

public WOComponent pageWithName(String aName)

Deprecated in WebObjects 4.0. Use pageWithName instead.

pathForResourceNamed

public String pathForResourceNamed( String aName, String anExtension)

Deprecated in WebObjects 4.0. Use WOResourceManager's implementation of pathForResourceNamed instead.

requiresWOF35RequestHandling

public boolean requiresWOF35RequestHandling()

Deprecated in WebObjects 4.5. Apps should be rewritten so that they don't require WebObjects 3.5 behavior.

requiresWOF35TemplateParser

public boolean requiresWOF35TemplateParser()

Deprecated in WebObjects 4.5. Apps should be rewritten so that they don't require WebObjects 3.5 behavior.

restorePageForContextID

public WOComponent restorePageForContextID(String contextID)

Deprecated in WebObjects 4.0. Use WOSession's restorePageForContextID instead.

restoreSession

public WOSession restoreSession()

Deprecated in WebObjects 4.0. Use restoreSessionWithID instead.

savePage

public void savePage(WOComponent aPage)

Deprecated in WebObjects 4.0. Use WOSession's implementation of savePage instead.

saveSession

public void saveSession(WOSession aSession)

Deprecated in WebObjects 4.0. Use saveSessionForContext instead.

session

public WOSession session()

Deprecated in WebObjects 4.0 Use WOComponent's session method instead.

stringForKeyInTable

public String stringForKeyInTable( String aKey, String aTableName, String aDefaultValue)

Deprecated in WebObjects 4.0. Use WOResourceManager's implementation of stringForKey instead.

urlForResourceNamed

public String urlForResourceNamed( String aName, String anExtension)

Deprecated in WebObjects 4.0. Use WOResourceManager's implementation of urlForResourceNamed instead.

WOAssociation


setValue

public void setValue(Object aValue)

Deprecated in WebObjects 4.0. Use setValue instead.

value

public Object value()

Deprecated in WebObjects 4.0. Use valueInComponent instead.

WOComponent


pathForResourceNamed

public String pathForResourceNamed( String aName, String anExtension)

Deprecated in WebObjects 4.0. Use WOResourceManager's implementation of pathForResourceNamed instead.

stringForKeyInTable

public String stringForKeyInTable( String aKey, String aTableName, String aDefaultValue)

Deprecated in WebObjects 4.0. Use WOResourceManager's implementation of stringForKey instead.

urlForResourceNamed

public String urlForResourceNamed( String aResourceName, String anExtension)

Deprecated in WebObjects 4.0. Use WOResourceManager's implementation of urlForResourceNamed instead.

WOContext


application

public WOApplication application()

Deprecated in WebObjects 4.0. Use WOApplication's application method instead.

isDistributionEnabled

public boolean isDistributionEnabled()

Deprecated in WebObjects 4.0. Use WOSession's implementation of isDistributionEnabled instead.

setDistributionEnabled

public void setDistributionEnabled(boolean flag)

Deprecated in WebObjects 4.0. Use WOSession's implementation of setDistributionEnabled instead.

url

public String url()

Deprecated in WebObjects 4.0. Use componentActionURL instead.

urlSessionPrefix

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


setSortOrdering

public void setSortOrdering(NSArray keySortOrderArray)

Deprecated in WebObjects 4.0. Renamed to setSortOrderings.

sortOrdering

public NSArray sortOrdering()

Deprecated in WebObjects 4.0. Renamed to sortOrderings.

WORequest


applicationHost

public String applicationHost()

Deprecated in WebObjects 4.0. See java.net.InetAddress.

contextID

public String contextID()

Deprecated in WebObjects 4.0. Use WOContext's implementation of contextID instead.

pageName

public String pageName()

Deprecated in WebObjects 4.0. Use WOComponent's name method instead.

senderID

public String senderID()

Deprecated in WebObjects 4.0. Use WOContext's implementation of senderID instead.

WOResourceManager


pathForResourceNamedInFramework

public String pathForResourceNamedInFramework( String aResourceName, String aFrameworkName)

Deprecated in WebObjects 4.0. Use pathForResourceNamed instead.

urlForResourceNamedInFramework

public String urlForResourceNamedInFramework( String aResourceName, String aFrameworkName)

Deprecated in WebObjects 4.0. Use urlForResourceNamed instead.

WOSession


application

public WOApplication application()

Deprecated in WebObjects 4.0. Use WOApplication's application method instead.

WOSessionStore


restoreSession

public WOSession restoreSession()

Deprecated in WebObjects 4.0. Use restoreSessionWithID instead.

saveSession

public void saveSession(WOSession aSession)

Deprecated in WebObjects 4.0. Use saveSessionForContext instead.

WOStatisticsStore


validateLogin

public boolean validateLogin(String aString)

Deprecated in WebObjects 4.0. Use validateLogin instead.

Table of Contents