Class LogSearchCriteria
java.lang.Object
org.deltava.beans.acars.LogSearchCriteria
- All Implemented Interfaces:
Serializable
A bean to store ACARS log search criteria.
- Since:
- 1.0
- Version:
- 11.0
- Author:
- Luke
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLogSearchCriteria
(int pilotID) Creates a new search criteria bean to load all connections for a user.LogSearchCriteria
(Instant sd, Instant ed) Creates a new search criteria bean. -
Method Summary
Modifier and TypeMethodDescriptionReturns the end date.int
Returns the Pilot's database ID.Returns the start date.void
setPilotID
(int id) Updates the Pilot ID to search for.
-
Constructor Details
-
LogSearchCriteria
-
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
-
getEndDate
-
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:
-