org.deltava.commands.cooler
Class ThreadPostCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.cooler.ThreadPostCommand
- All Implemented Interfaces:
- Command
public class ThreadPostCommand
- extends AbstractCommand
A Web Site Command to handle new Water Cooler message threads.
- Since:
- 1.0
- Version:
- 3.1
- Author:
- Luke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPostCommand
public ThreadPostCommand()
init
public void init(String id,
String cmdName)
throws CommandException
- Initializes this command.
- Specified by:
init in interface Command- Overrides:
init in class AbstractCommand
- Parameters:
cmdName - the name of the command
- Throws:
CommandException - if the command name is null
IllegalStateException - if the command has already been initialized
execute
public void execute(CommandContext ctx)
throws CommandException
- Executes the command.
- Parameters:
ctx - the Command context
- Throws:
CommandException - if an unhandled error occurs
Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.