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:
- 12.0
- 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 voidexecEdit(CommandContext ctx) Callback method called when editing the PIREP.protected voidexecRead(CommandContext ctx) Callback method called when reading the PIREP.protected voidexecSave(CommandContext ctx) Callback method called when saving the PIREP.voidInitialize the command.Methods inherited from class org.deltava.commands.AbstractFormCommand
executeMethods 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:
execSavein classAbstractFormCommand- Parameters:
ctx- the Command context- Throws:
CommandException- if an error occurs
-
execEdit
Callback method called when editing the PIREP.- Specified by:
execEditin classAbstractFormCommand- Parameters:
ctx- the Command context- Throws:
CommandException- if an error occurs
-
execRead
Callback method called when reading the PIREP.- Specified by:
execReadin classAbstractFormCommand- Parameters:
ctx- the Command context- Throws:
CommandException- if an error occurs
-