Package com.example.breeze_seas
Class PendingList
java.lang.Object
com.example.breeze_seas.StatusList
com.example.breeze_seas.PendingList
Represents the "pending" status for an event.
Handles users who have been selected for the event.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.example.breeze_seas.StatusList
StatusList.ListUpdateListener -
Field Summary
Fields inherited from class com.example.breeze_seas.StatusList
capacity, event, tempLocation, userList -
Constructor Summary
ConstructorsConstructorDescriptionPendingList(Event event, int capacity) Constructs a new PendingList for a specific event. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringDefines the unique status identifier for this list type in Firestore.Methods inherited from class com.example.breeze_seas.StatusList
addUser, determineLocation, getCapacity, getEvent, getSize, getUserList, popUser, removeUserFromDB, setCapacity, startListening, stopListening, userIsInList
-
Constructor Details
-
PendingList
Constructs a new PendingList for a specific event.- Parameters:
event-Eventobject this pending list belongs to.capacity- The maximum number of entrants allowed on this pending list.
-
-
Method Details
-
getStatusName
Defines the unique status identifier for this list type in Firestore.- Specified by:
getStatusNamein classStatusList- Returns:
- A string literal "pending" used to filter participant documents.
-