Class PIREPCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractFormCommand
org.deltava.commands.pirep.PIREPCommand
- All Implemented Interfaces:
Command
A Web Site Command to handle editing/saving Flight Reports.
- 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 TypeMethodDescriptionprotected void
execEdit
(CommandContext ctx) Callback method called when editing the PIREP.protected void
execRead
(CommandContext ctx) Callback method called when reading the PIREP.protected void
execSave
(CommandContext ctx) Callback method called when saving the PIREP.void
Initialize the command.Methods inherited from class org.deltava.commands.AbstractFormCommand
execute
Methods inherited from class org.deltava.commands.AbstractCommand
forgottenException, getID, getName, getRoles, notFoundException, parseDateTime, parseDateTime, securityException, setRoles
-
Constructor Details
-
PIREPCommand
public PIREPCommand()
-
-
Method Details
-
init
-
execSave
Callback method called when saving the PIREP.- Specified by:
execSave
in classAbstractFormCommand
- Parameters:
ctx
- the Command context- Throws:
CommandException
- if an error occurs
-
execEdit
Callback method called when editing the PIREP.- Specified by:
execEdit
in classAbstractFormCommand
- Parameters:
ctx
- the Command context- Throws:
CommandException
- if an error occurs
-
execRead
Callback method called when reading the PIREP.- Specified by:
execRead
in classAbstractFormCommand
- Parameters:
ctx
- the Command context- Throws:
CommandException
- if an error occurs
-