|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface CommandProcessorInterface
| Method Summary | |
|---|---|
abstract boolean |
addStoredCommand(CommandProcessorViewInterface viewer,
CommandProcessorCommandInterface cmd)
Deprecated. Adds a stored command to the list. |
abstract void |
addViewer(CommandProcessorViewInterface vi)
Deprecated. Adds a viewer to the list of views sending commands to the commandProcessor. |
abstract void |
executeCommand(CommandProcessorCommandInterface cmd,
java.lang.Object obj)
Deprecated. Executes the command passed and writes the appropriate component to the output stream. |
abstract boolean |
executedCommandExists(java.lang.String cmdName)
Deprecated. Checks to see if a command with the given name has been previously executed. |
abstract CommandProcessorCommandInterface |
findStoredCommand(java.lang.String commandName)
Deprecated. |
abstract CommandDefinition[] |
getCommandDefinitions()
Deprecated. Returns all registered command definitions. |
abstract CommandProcessorCommandInterface[] |
getExecutedCommands()
Deprecated. Returns all previously executedCommands |
abstract CommandProcessorCommandInterface |
getLastExecutedCommand()
Deprecated. Returns the most recently executed command. |
abstract java.util.Locale |
getLocale()
Deprecated. Get the locale |
abstract CommandProcessorCommandInterface |
getStoredCommand(java.lang.String cmdName)
Deprecated. Returns a stored command with a given name. |
abstract CommandProcessorViewInterface[] |
getViewers()
Deprecated. Returns views for which the CommandProcessor is processing commands. |
abstract CommandProcessorCommandInterface |
processCommand(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. |
abstract void |
registerCommand(CommandDefinition def)
Deprecated. Registers a command. |
abstract void |
removeAllStoredCommands()
Deprecated. Remove all stored commands from the list. |
abstract void |
removeAllStoredCommands(CommandProcessorViewInterface viewer)
Deprecated. Remove the stored commands for a particular viewer. |
abstract void |
removeStoredCommand(java.lang.String cmdName)
Deprecated. Removes the first command with the given name. |
abstract boolean |
removeViewer(CommandProcessorViewInterface vi)
Deprecated. Removes a viewer from the list of views sending commands to the commandProcessor |
abstract void |
setLocale(java.util.Locale loc)
Deprecated. Set the locale |
abstract boolean |
storedCommandExists(java.lang.String cmdName)
Deprecated. Checks for the existance of a storedCommand |
abstract void |
unregisterCommand(CommandDefinition def)
Deprecated. Unregisters a command |
abstract void |
unregisterCommand(java.lang.String commandPrefix)
Deprecated. Unregisters a command, using the command's prefix to identify the commandDefinition. |
| Method Detail |
|---|
boolean addStoredCommand(CommandProcessorViewInterface viewer,
CommandProcessorCommandInterface cmd)
viewer - viewer associated with this command.cmd - command objectCommandProcessorCommandInterface getStoredCommand(java.lang.String cmdName)
cmdName - name of the desired command.void removeStoredCommand(java.lang.String cmdName)
cmdName - command name to remove.boolean storedCommandExists(java.lang.String cmdName)
cmdName - name of stored commandvoid removeAllStoredCommands()
void removeAllStoredCommands(CommandProcessorViewInterface viewer)
boolean executedCommandExists(java.lang.String cmdName)
cmdName - name of stored command
CommandProcessorCommandInterface processCommand(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
java.io.IOExceptionCommandProcessorCommandInterface findStoredCommand(java.lang.String commandName)
void executeCommand(CommandProcessorCommandInterface cmd,
java.lang.Object obj)
throws java.io.IOException
cmd - command to be executedout - output stream to write table/graph etc to.
java.io.IOExceptionCommandProcessorCommandInterface getLastExecutedCommand()
void addViewer(CommandProcessorViewInterface vi)
object - implementing the CommandProcessorViewIterface.boolean removeViewer(CommandProcessorViewInterface vi)
vi - the view to remove.
CommandProcessorViewInterface[] getViewers()
void setLocale(java.util.Locale loc)
locale - java.util.Locale getLocale()
void registerCommand(CommandDefinition def)
CommandDefinitionvoid unregisterCommand(CommandDefinition def)
void unregisterCommand(java.lang.String commandPrefix)
CommandDefinition[] getCommandDefinitions()
CommandProcessorCommandInterface[] getExecutedCommands()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||