Class LinkImageCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.cooler.LinkImageCommand
- All Implemented Interfaces:
Command
A Web Site Command to link an Image to a Water Cooler discussion thread.
- Since:
- 1.0
- Version:
- 11.6
- Author:
- Luke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.deltava.commands.Command
Command.Scope
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(CommandContext ctx) Executes the command.void
Initializes this command.Methods inherited from class org.deltava.commands.AbstractCommand
forgottenException, getID, getName, getRoles, notFoundException, parseDateTime, parseDateTime, securityException, setRoles
-
Constructor Details
-
LinkImageCommand
public LinkImageCommand()
-
-
Method Details
-
init
Initializes this command.- Specified by:
init
in interfaceCommand
- Overrides:
init
in classAbstractCommand
- Parameters:
id
- the command IDcmdName
- the name of the command- Throws:
IllegalStateException
- if the command has already been initialized
-
execute
Executes the command.- Parameters:
ctx
- the Command context- Throws:
CommandException
- if an unhandled error occurs
-