Class AcceptedList

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

public class AcceptedList extends StatusList
Represents the "accepted" status for an event. Handles users who have accepted invite for the event.
  • Constructor Details

    • AcceptedList

      public AcceptedList(Event event, int capacity)
      Constructs a new AcceptedList for a specific event.
      Parameters:
      event - Event object this accepted list belongs to.
      capacity - The maximum number of entrants allowed on this accepted 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 "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.