Class AbstractAuditFormCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractFormCommand
org.deltava.commands.AbstractAuditFormCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AccomplishmentCommand
,AircraftCommand
,AirlineCommand
,AirlineInformationCommand
,AirportCommand
,CertificationCommand
,ChannelCommand
,CheckRideScriptCommand
,EliteLevelCommand
,EliteLifetimeLevelCommand
,EquipmentCommand
,ExamProfileCommand
,IMAPMailboxCommand
,IssueCommand
,IssueCommand
,LibraryEditCommand
,LiveryCommand
,MessageTemplateCommand
,PartnerInfoCommand
,QuestionProfileCommand
,ResourceCommand
,RideScriptCommand
,TourCommand
A class to support form operations on auditable objects.
- Since:
- 7.4
- Version:
- 10.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 static void
readAuditLog
(CommandContext ctx, Auditable a) Loads the audit log for an object.protected static void
writeAuditLog
(CommandContext ctx, AuditLog ae) Writes an audit log entry for an object.Methods inherited from class org.deltava.commands.AbstractFormCommand
execEdit, execRead, execSave, execute
Methods inherited from class org.deltava.commands.AbstractCommand
forgottenException, getID, getName, getRoles, init, notFoundException, parseDateTime, parseDateTime, securityException, setRoles
-
Constructor Details
-
AbstractAuditFormCommand
public AbstractAuditFormCommand()
-
-
Method Details
-
readAuditLog
Loads the audit log for an object.- Parameters:
ctx
- the CommandContexta
- the Auditable object- Throws:
DAOException
- if a JDBC error occurs
-
writeAuditLog
Writes an audit log entry for an object.- Parameters:
ctx
- the CommandContextae
- the AuditLog entry- Throws:
DAOException
- if a JDBC error occurs
-