org.deltava.commands.acars
Class ACARSLogViewCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractViewCommand
org.deltava.commands.acars.ACARSLogViewCommand
- All Implemented Interfaces:
- Command
- Direct Known Subclasses:
- ConnectionLogCommand, EmptyLogEntriesCommand, FlightLogCommand, MessageLogCommand
public abstract class ACARSLogViewCommand
- extends AbstractViewCommand
A helper class for viewing ACARS logs.
- Since:
- 1.0
- Version:
- 2.6
- Author:
- Luke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACARSLogViewCommand
public ACARSLogViewCommand()
getSearchCriteria
protected LogSearchCriteria getSearchCriteria(CommandContext ctx,
Connection con)
throws DAOException
- Calculates the search type from the request, and updates request attributes.
- Parameters:
ctx - the Command context
- Returns:
- a search type constant
- Throws:
DAOException
getPilotIDs
protected Set<Integer> getPilotIDs(Collection<?> viewEntries)
- Returns a Set of Pilot IDs from the view results.
- Parameters:
viewEntries - the view result entries
- Returns:
- a Set of Pilot IDs
Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.