Package com.example.breeze_seas
Class AcceptedList
java.lang.Object
com.example.breeze_seas.StatusList
com.example.breeze_seas.AcceptedList
Represents the "accepted" status for an event.
Handles users who have accepted invite 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
ConstructorsConstructorDescriptionAcceptedList(Event event, int capacity) Constructs a new AcceptedList for a specific event. -
Method Summary
Methods inherited from class com.example.breeze_seas.StatusList
addUser, determineLocation, getCapacity, getEvent, getSize, getUserList, popUser, removeUserFromDB, setCapacity, startListening, stopListening, userIsInList
-
Constructor Details
-
AcceptedList
Constructs a new AcceptedList for a specific event.- Parameters:
event-Eventobject this accepted list belongs to.capacity- The maximum number of entrants allowed on this accepted list.
-
-
Method Details
-
getStatusName
Defines the unique status identifier for this list type in Firestore.- Specified by:
getStatusNamein classStatusList- Returns:
- A string literal "accepted" used to filter participant documents.
-
exportCsv
public void exportCsv(android.content.Context context, android.net.Uri uri) Export CSV files with accepted user's details.- Parameters:
context- The application or activity context required to access the ContentResolver.uri- The destination URI where the CSV data will be written.
-