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
 java.util.Locale getLocale()
          Deprecated. Get the locale
 java.lang.String getName()
          Deprecated. Returns the name of the command.
 javax.servlet.http.HttpServletRequest getRequest()
          Deprecated. Gets the current request object.
 javax.servlet.http.HttpServletResponse getResponse()
          Deprecated. Gets the current response object.
 java.lang.Object getTarget()
          Deprecated. Returns the target object for this command.
 void performAction(java.lang.Object o)
          Deprecated. Executes the command and offers the opportunity to catch exceptions.
 void setLocale(java.util.Locale loc)
          Deprecated. Set the locale
 void setName(java.lang.String name)
          Deprecated. Sets the name of the command.
 void setRequest(javax.servlet.http.HttpServletRequest request)
          Deprecated. Sets the request object.
 void setResponse(javax.servlet.http.HttpServletResponse response)
          Deprecated. Sets the response object.
 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
 

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.