org.deltava.commands
Class AbstractFormCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractFormCommand
- All Implemented Interfaces:
- Command
- Direct Known Subclasses:
- AircraftCommand, AirlineCommand, AirportCommand, ApplicantCommand, BlogEntryCommand, CertificationCommand, CertificationRequirementsCommand, ChannelCommand, ChannelCommand, ChartCommand, CheckRideScriptCommand, EquipmentCommand, EventRoutesCommand, ExamPoolsCommand, ExamProfileCommand, HelpEntryCommand, IMAPMailboxCommand, InstructionFlightCommand, InstructionSessionCommand, IssueCommand, IssueCommand, LibraryEditCommand, LiveryCommand, MessageTemplateCommand, PIREPCommand, ProfileCommand, QuestionProfileCommand, RegistrationBlockCommand, ResourceCommand, ScheduleEntryCommand, ServerCommand, ServiceEntryCommand, TimeZoneCommand, UserFileCommand, VideoCommand
public abstract class AbstractFormCommand
- extends AbstractCommand
A class to support form editing/saving web site commands.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Luke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
READ
public static final int READ
- See Also:
- Constant Field Values
EDIT
public static final int EDIT
- See Also:
- Constant Field Values
SAVE
public static final int SAVE
- See Also:
- Constant Field Values
OPS
public static final String[] OPS
AbstractFormCommand
public AbstractFormCommand()
execute
public final void execute(CommandContext ctx)
throws CommandException
- 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
protected abstract void execSave(CommandContext ctx)
throws CommandException
- Method called when saving the form.
- Parameters:
ctx - the Command Context
- Throws:
CommandException - if an unhandled error occurs
execEdit
protected abstract void execEdit(CommandContext ctx)
throws CommandException
- Method called when editing the form.
- Parameters:
ctx - the Command Context
- Throws:
CommandException - if an unhandled error occurs
execRead
protected abstract void execRead(CommandContext ctx)
throws CommandException
- Method called when reading the form.
- Parameters:
ctx - the Command Context
- Throws:
CommandException - if an unhandled error occurs
Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.