Class OnlineEventFunctions
java.lang.Object
org.deltava.taglib.functions.OnlineEventFunctions
A JSP Function Library to store Online Event-related functions.
- Since:
- 1.0
- Version:
- 5.0
- Author:
- Luke
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAssigned
(Event e, int pilotID) Returns whether a Pilot has a Flight Assignment for an Online Event.static boolean
Returns whether an Online Event is in progress.static boolean
isSignedUp
(Event e, int pilotID) Returns whether a Pilot is signed up for an Online Event.static Collection
<Signup> routeSignups
(Event e, int routeID) Returns all Signups for a particular Online Event route.
-
Method Details
-
isOpen
Returns whether an Online Event is in progress.- Parameters:
e
- the Event bean- Returns:
- TRUE if the Event is active, otherwise FALSE
-
isSignedUp
Returns whether a Pilot is signed up for an Online Event. The Signups for the Online Event must be populated prior to this being called.- Parameters:
e
- the Event beanpilotID
- the Pilot's database ID- Returns:
- TRUE if the Pilot is signed up, otherwise FALSE
- See Also:
-
isAssigned
Returns whether a Pilot has a Flight Assignment for an Online Event. The Flight Assignments for the Online Event must be populated prior to this being called.- Parameters:
e
- the Event beanpilotID
- the Pilot's database ID- Returns:
- TRUE if the Pilot has a Flight Assignment, otherwise FALSE
-
routeSignups
Returns all Signups for a particular Online Event route. The Signups for the Online Event must be populated prior to this being called.- Parameters:
e
- the Event beanrouteID
- the route database ID- Returns:
- a Collection of Signup beans
-