|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandProcessorInterface
Method Summary | |
---|---|
boolean |
addStoredCommand(CommandProcessorViewInterface viewer,
CommandProcessorCommandInterface cmd)
Deprecated. Adds a stored command to the list. |
void |
addViewer(CommandProcessorViewInterface vi)
Deprecated. Adds a viewer to the list of views sending commands to the commandProcessor. |
void |
executeCommand(CommandProcessorCommandInterface cmd,
java.lang.Object obj)
Deprecated. Executes the command passed and writes the appropriate component to the output stream. |
boolean |
executedCommandExists(java.lang.String cmdName)
Deprecated. Checks to see if a command with the given name has been previously executed. |
CommandProcessorCommandInterface |
findStoredCommand(java.lang.String commandName)
Deprecated. |
CommandDefinition[] |
getCommandDefinitions()
Deprecated. Returns all registered command definitions. |
CommandProcessorCommandInterface[] |
getExecutedCommands()
Deprecated. Returns all previously executedCommands |
CommandProcessorCommandInterface |
getLastExecutedCommand()
Deprecated. Returns the most recently executed command. |
java.util.Locale |
getLocale()
Deprecated. Get the locale |
CommandProcessorCommandInterface |
getStoredCommand(java.lang.String cmdName)
Deprecated. Returns a stored command with a given name. |
CommandProcessorViewInterface[] |
getViewers()
Deprecated. Returns views for which the CommandProcessor is processing commands. |
CommandProcessorCommandInterface |
processCommand(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. |
void |
registerCommand(CommandDefinition def)
Deprecated. Registers a command. |
void |
removeAllStoredCommands()
Deprecated. Remove all stored commands from the list. |
void |
removeAllStoredCommands(CommandProcessorViewInterface viewer)
Deprecated. Remove the stored commands for a particular viewer. |
void |
removeStoredCommand(java.lang.String cmdName)
Deprecated. Removes the first command with the given name. |
boolean |
removeViewer(CommandProcessorViewInterface vi)
Deprecated. Removes a viewer from the list of views sending commands to the commandProcessor |
void |
setLocale(java.util.Locale loc)
Deprecated. Set the locale |
boolean |
storedCommandExists(java.lang.String cmdName)
Deprecated. Checks for the existance of a storedCommand |
void |
unregisterCommand(CommandDefinition def)
Deprecated. Unregisters a command |
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 commandCommandProcessorCommandInterface processCommand(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException
CommandProcessorCommandInterface 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.IOException
CommandProcessorCommandInterface 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)
CommandDefinition
void 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 |