Class LogSearchCriteria

java.lang.Object
org.deltava.beans.acars.LogSearchCriteria
All Implemented Interfaces:
Serializable

public class LogSearchCriteria extends Object implements Serializable
A bean to store ACARS log search criteria.
Since:
1.0
Version:
11.0
Author:
Luke
See Also:
  • Constructor Details

    • LogSearchCriteria

      public LogSearchCriteria(Instant sd, Instant ed)
      Creates a new search criteria bean.
      Parameters:
      sd - the start date/time
      ed - the end date/time
    • LogSearchCriteria

      public LogSearchCriteria(int pilotID)
      Creates a new search criteria bean to load all connections for a user.
      Parameters:
      pilotID - the user's database ID
  • Method Details

    • getPilotID

      public int getPilotID()
      Returns the Pilot's database ID.
      Returns:
      the database ID
      See Also:
    • getStartDate

      public Instant getStartDate()
      Returns the start date.
      Returns:
      the start date/time
    • getEndDate

      public Instant getEndDate()
      Returns the end date.
      Returns:
      the end date/time
    • setPilotID

      public void setPilotID(int id)
      Updates the Pilot ID to search for.
      Parameters:
      id - the Pilot's database ID, or zero
      Throws:
      IllegalArgumentException - if id is negative
      See Also: