Class ACARSLogViewCommand

All Implemented Interfaces:
Command
Direct Known Subclasses:
ConnectionLogCommand, FlightLogCommand, MessageLogCommand

public abstract class ACARSLogViewCommand extends AbstractViewCommand
A helper class for viewing ACARS logs.
Since:
1.0
Version:
7.2
Author:
Luke
  • Constructor Details

    • ACARSLogViewCommand

      public ACARSLogViewCommand()
  • Method Details

    • getSearchCriteria

      protected static LogSearchCriteria getSearchCriteria(CommandContext ctx, Connection con) throws DAOException
      Calculates the search type from the request, and updates request attributes.
      Parameters:
      ctx - the Command context
      con - the JDBC connection to use
      Returns:
      a search type constant
      Throws:
      DAOException - if a JDBC error occurs
    • getPilotIDs

      protected static Collection<Integer> getPilotIDs(Collection<? extends AuthoredBean> viewEntries)
      Returns a Collection of Pilot IDs from the view results.
      Parameters:
      viewEntries - the view result entries
      Returns:
      a Collection of Pilot IDs