Class 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

public abstract class AbstractAuditFormCommand extends AbstractFormCommand
A class to support form operations on auditable objects.
Since:
7.4
Version:
10.0
Author:
Luke
  • Constructor Details

    • AbstractAuditFormCommand

      public AbstractAuditFormCommand()
  • Method Details

    • readAuditLog

      protected static void readAuditLog(CommandContext ctx, Auditable a) throws DAOException
      Loads the audit log for an object.
      Parameters:
      ctx - the CommandContext
      a - the Auditable object
      Throws:
      DAOException - if a JDBC error occurs
    • writeAuditLog

      protected static void writeAuditLog(CommandContext ctx, AuditLog ae) throws DAOException
      Writes an audit log entry for an object.
      Parameters:
      ctx - the CommandContext
      ae - the AuditLog entry
      Throws:
      DAOException - if a JDBC error occurs