com.sas.servlet.util
Interface CommandProcessorCommandInterface

All Superinterfaces:
java.lang.Cloneable, com.sas.util.Command, com.sas.PublicClonable, com.sas.util.SimpleCommand, com.sas.lang.StringDataInterface
All Known Implementing Classes:
StreamContentCommand

Deprecated. As of Version 3.0 this class has been replaced by com.sas.servlet.util.commandprocessor.CommandProcessorCommandInterface.

public interface CommandProcessorCommandInterface
extends com.sas.util.Command


Method Summary
abstract  java.util.Locale getLocale()
          Deprecated. Get the locale
abstract  java.lang.String getName()
          Deprecated. Returns the name of the command.
abstract  javax.servlet.http.HttpServletRequest getRequest()
          Deprecated. Gets the current request object.
abstract  javax.servlet.http.HttpServletResponse getResponse()
          Deprecated. Gets the current response object.
abstract  java.lang.Object getTarget()
          Deprecated. Returns the target object for this command.
abstract  void performAction(java.lang.Object o)
          Deprecated. Executes the command and offers the opportunity to catch exceptions.
abstract  void setLocale(java.util.Locale loc)
          Deprecated. Set the locale
abstract  void setName(java.lang.String name)
          Deprecated. Sets the name of the command.
abstract  void setRequest(javax.servlet.http.HttpServletRequest request)
          Deprecated. Sets the request object.
abstract  void setResponse(javax.servlet.http.HttpServletResponse response)
          Deprecated. Sets the response object.
abstract  void setTarget(java.lang.Object o)
          Deprecated. Sets the target for the command.
 
Methods inherited from interface com.sas.util.Command
clone, isExecutable, isUndoable, undo
 
Methods inherited from interface com.sas.util.SimpleCommand
execute
 
Methods inherited from interface com.sas.lang.StringDataInterface
getText, setText
 

Method Detail

getName

java.lang.String getName()
Deprecated. 
Returns the name of the command. Each Command must have a unique name.

Returns:
name of the command

setName

void setName(java.lang.String name)
Deprecated. 
Sets the name of the command. Each Command must have a unique name

Parameters:
name - unique name of the command.

performAction

void performAction(java.lang.Object o)
                   throws java.io.IOException
Deprecated. 
Executes the command and offers the opportunity to catch exceptions.

Parameters:
o - parameter to the command.
Throws:
java.io.IOException

getTarget

java.lang.Object getTarget()
Deprecated. 
Returns the target object for this command.

Returns:
command target

setTarget

void setTarget(java.lang.Object o)
Deprecated. 
Sets the target for the command.

Parameters:
o - target object for the command.

setLocale

void setLocale(java.util.Locale loc)
Deprecated. 
Set the locale

Parameters:
locale -

getLocale

java.util.Locale getLocale()
Deprecated. 
Get the locale

Returns:
locale

setRequest

void setRequest(javax.servlet.http.HttpServletRequest request)
Deprecated. 
Sets the request object. The request object is needed for localization. The request object should be set before the performAction method is called.

Parameters:
request - The request object

getRequest

javax.servlet.http.HttpServletRequest getRequest()
Deprecated. 
Gets the current request object.

Returns:
The request object

setResponse

void setResponse(javax.servlet.http.HttpServletResponse response)
Deprecated. 
Sets the response object. The response object is needed for url encodeing. The response object should be set before the performAction method is called.

Parameters:
response - The response object

getResponse

javax.servlet.http.HttpServletResponse getResponse()
Deprecated. 
Gets the current response object.

Returns:
The response object



Copyright © 2009 SAS Institute Inc. All Rights Reserved.