Package com.example.breeze_seas
Class DeclinedList
java.lang.Object
com.example.breeze_seas.StatusList
com.example.breeze_seas.DeclinedList
Represents the "declined" status for an event.
Handles users who have declined invitation 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
ConstructorsConstructorDescriptionDeclinedList(Event event, int capacity) Constructs a new DeclinedList 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
-
DeclinedList
Constructs a new DeclinedList for a specific event.- Parameters:
event-Eventobject this declined list belongs to.capacity- Capacity is set to -1 for a declined list object
-
-
Method Details
-
getStatusName
Defines the unique status identifier for this list type in Firestore.- Specified by:
getStatusNamein classStatusList- Returns:
- A string literal "declined" used to filter participant documents.
-