[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
- (WOContext *)context
Deprecated in WebObjects 4.0. Use WOComponent's
context method instead.
- (WOSession *)createSession
Deprecated in WebObjects 4.0 Use
createSessionForRequest: instead.
- (WODynamicElement *)dynamicElementWithName:(NSString
*)aName
associations:(NSDictionary *)someAssociations
template:(WOElement *)anElement
Deprecated in WebObjects 4.0. Use
dynamicElementWithName:associations:template:languages: instead.
- (WOResponse *)handleException:(NSException
*)anException
Deprecated in WebObjects 4.0. Use
handleException:inContext: instead.
- (WOResponse *)handlePageRestorationError
Deprecated in WebObjects 4.0. Use
handlePageRestorationErrorInContext: instead.
- (WOResponse *)handleRequest:(WORequest
*)aRequest
Deprecated in WebObjects 4.0. Use
dispatchRequest: instead.
- (WOResponse *)handleSessionCreationError
Deprecated in WebObjects 4.0. Use
handleSessionCreationErrorInContext: instead.
- (WOResponse *)handleSessionRestorationError
Deprecated in WebObjects 4.0. Use
handleSessionRestorationErrorInContext: instead.
- (void)logToMonitorWithFormat:(NSString
*)aFormat, ...
Deprecated in WebObjects 4.5. New features in
the Monitor application allow logging of information. The deprecated
API does nothing.
+ (NSString *)monitorHost
Deprecated in WebObjects 4.5. Returned the host
on which Monitor is assumed to be running. This value was used
during initialization if
isMonitorEnabled is YES. This was
a cover for the deprecated user default WOMonitorHost. New Monitor
features eliminate the need for this method.
- (WOComponent *)pageWithName:(NSString
*)aName
Deprecated in WebObjects 4.0. Use
pageWithName:forRequest: instead.
- (NSString *)pathForResourceNamed:(NSString
*)aName
ofType:(NSString *)anExtension
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
pathForResourceNamed:inFramework:languages: instead.
- (BOOL)requiresWOF35RequestHandling
Deprecated in WebObjects 4.5. Apps should be
rewritten so that they don't require WebObjects 3.5 behavior.
- (BOOL)requiresWOF35Scripting
Deprecated in WebObjects 4.5. Apps should be
rewritten so that they don't require WebObjects 3.5 behavior.
- (BOOL)requiresWOF35TemplateParser
Deprecated in WebObjects 4.5. Apps should be
rewritten so that they don't require WebObjects 3.5 behavior.
- (WOComponent *)restorePageForContextID:(NSString
*)contextID
Deprecated in WebObjects 4.0. Use WOSession's
restorePageForContextID: instead.
- (WOSession *)restoreSession
Deprecated in WebObjects 4.0. Use
restoreSessionWithID:inContext: instead.
- (void)savePage:(WOComponent
*)aPage
Deprecated in WebObjects 4.0. Use WOSession's
implementation of
savePage: instead.
- (void)saveSession:(WOSession
*)aSession
Deprecated in WebObjects 4.0. Use
saveSessionForContext: instead.
- (WOSession *)session
Deprecated in WebObjects 4.0 Use WOComponent's
session method instead.
+ (void)setMonitorHost:(NSString
*)aHostName
Deprecated in WebObjects 4.5. This was an accessor
to set the monitorHost. New Monitor features eliminate the need
for this method.
- (NSString *)stringForKey:(NSString
*)aKey
inTableNamed:(NSString *)aTableName
withDefaultValue:(NSString *)aDefaultValue
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
stringForKey:inTableNamed:withDefaultValue:inFramework:languages: instead.
- (NSString *)urlForResourceNamed:(NSString
*)aName
ofType:(NSString *)anExtension
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
urlForResourceNamed:inFramework:languages:request: instead.
WOAssociation
- (void)setValue:(id)aValue
Deprecated in WebObjects 4.0. Use
setValue:inComponent: instead.
- (id)value
Deprecated in WebObjects 4.0. Use
valueInComponent: instead.
WOComponent
- (NSString *)pathForResourceNamed:(NSString
*)aName
ofType:(NSString *)anExtension
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
pathForResourceNamed:inFramework:languages: instead.
- (BOOL)requiresWOF35RequestHandling
Deprecated in WebObjects 4.5. Apps should be
rewritten so that they don't require WebObjects 3.5 behavior.
- (NSString *)stringForKey:(NSString
*)aKey
inTableNamed:(NSString *)aTableName
withDefaultValue:(NSString *)aDefaultValue
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
stringForKey:inTableNamed:withDefaultValue:inFramework:languages: instead.
+ (WOElement *)templateWithHTMLString:(NSString
*)anHTMLString
declarationString:(NSString *)aDeclarationString
Deprecated in WebObjects 4.0. Use templateWithHTMLString:declarationString:languages: instead.
- (NSString *)urlForResourceNamed:(NSString
*)aResourceName
ofType:(NSString *)anExtension
Deprecated in WebObjects 4.0. Use WOResourceManager's
implementation of
urlForResourceNamed:inFramework:languages:request: instead.
WOContext
- (WOApplication *)application
Deprecated in WebObjects 4.0. Use WOApplication's
application method instead.
- (BOOL)isDistributionEnabled
Deprecated in WebObjects 4.0. Use WOSession's
implementation of
isDistributionEnabled instead.
- (void)setDistributionEnabled:(BOOL)flag
Deprecated in WebObjects 4.0. Use WOSession's
implementation of
setDistributionEnabled: instead.
- (NSString *)url
Deprecated in WebObjects 4.0. Use
componentActionURL instead.
- (NSString *)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
- (void)setSortOrdering:(NSArray
*)keySortOrderArray
Deprecated in WebObjects 4.0. Renamed to
setSortOrderings:.
- (NSArray *)sortOrdering
Deprecated in WebObjects 4.0. Renamed to
sortOrderings.
WORequest
- (NSString *)applicationHost
Deprecated in WebObjects 4.0. See NSProcessInfo
or NSHost.
- (NSString *)contextID
Deprecated in WebObjects 4.0. Use WOContext's
implementation of
contextID instead.
- (NSString *)pageName
Deprecated in WebObjects 4.0. Use WOComponent's
name method instead.
- (NSString *)senderID
Deprecated in WebObjects 4.0. Use WOContext's
implementation of
senderID instead.
WOResourceManager
- (NSString *)pathForResourceNamed:(NSString
*)aResourceName
inFramework:(NSString *)aFrameworkName
Deprecated in WebObjects 4.0. Use
pathForResourceNamed:inFramework:languages: instead.
- (NSString *)urlForResourceNamed:(NSString
*)aResourceName
inFramework:(NSString *)aFrameworkName
Deprecated in WebObjects 4.0. Use
urlForResourceNamed:inFramework:languages:request: instead.
WOSession
- (WOApplication*)application
Deprecated in WebObjects 4.0. Use WOApplication's
application method instead.
WOSessionStore
- (WOSession*)restoreSession
Deprecated in WebObjects 4.0. Use
restoreSessionWithID:request: instead.
- (void)saveSession:(WOSession
*)aSession
Deprecated in WebObjects 4.0. Use
saveSessionForContext: instead.
WOStatisticsStore
- (BOOL)validateLogin:(NSString
*)string
Deprecated in WebObjects 4.0. Use
validateLogin:forSession: instead.