Class WaitingList

java.lang.Object
com.example.breeze_seas.StatusList
com.example.breeze_seas.WaitingList

public class WaitingList extends StatusList
Represents the "waiting" status for an event. Handles users who have registered but have not yet been selected or left.
  • Constructor Details

    • WaitingList

      public WaitingList(Event event, int capacity)
      Constructs a new WaitingList for a specific event.
      Parameters:
      event - Event object this waiting list belongs to.
      capacity - The maximum number of entrants allowed on this waiting list.
  • Method Details

    • getStatusName

      protected String getStatusName()
      Defines the unique status identifier for this list type in Firestore.
      Specified by:
      getStatusName in class StatusList
      Returns:
      A string literal "waiting" used to filter participant documents.