Class AbstractFormCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractFormCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AbstractAuditFormCommand
,ApplicantCommand
,CertificationRequirementsCommand
,ChartCommand
,CharterRequestCommand
,EventRoutesCommand
,GalleryImageCommand
,InstallerUploadCommand
,InstructionFlightCommand
,InstructionSessionCommand
,JobPostingCommand
,NominationCommand
,PIREPCommand
,ProfileCommand
,ResponseTemplateCommand
,RunwayMappingCommand
,ScheduleEntryCommand
,ServiceEntryCommand
,TimeZoneCommand
,UserFileCommand
,VideoCommand
A class to support form editing/saving web site commands.
- Since:
- 1.0
- Version:
- 7.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 abstract void
execEdit
(CommandContext ctx) Method called when editing the form.protected abstract void
execRead
(CommandContext ctx) Method called when reading the form.protected abstract void
execSave
(CommandContext ctx) Method called when saving the form.final void
execute
(CommandContext ctx) Executes the command, and based on the operation calls an implementation method for the particular operation.Methods inherited from class org.deltava.commands.AbstractCommand
forgottenException, getID, getName, getRoles, init, notFoundException, parseDateTime, parseDateTime, securityException, setRoles
-
Constructor Details
-
AbstractFormCommand
public AbstractFormCommand()
-
-
Method Details
-
execute
Executes the command, and based on the operation calls an implementation method for the particular operation.- Parameters:
ctx
- the Command Context- Throws:
CommandException
- if an unhandled error occurs
-
execSave
Method called when saving the form.- Parameters:
ctx
- the Command Context- Throws:
CommandException
- if an unhandled error occurs
-
execEdit
Method called when editing the form.- Parameters:
ctx
- the Command Context- Throws:
CommandException
- if an unhandled error occurs
-
execRead
Method called when reading the form.- Parameters:
ctx
- the Command Context- Throws:
CommandException
- if an unhandled error occurs
-