Uses of Class
com.example.breeze_seas.Event
-
Uses of Event in com.example.breeze_seas
Fields in com.example.breeze_seas declared as EventMethods in com.example.breeze_seas that return EventModifier and TypeMethodDescriptionEventHandler.findEventById(String eventId) Helper method to find and return event object based on eventId.StatusList.getEvent()Methods in com.example.breeze_seas that return types with arguments of type EventModifier and TypeMethodDescriptionAdminViewModel.getEvents()Returns the live event list.EventHandler.getEvents()Returns the list of event to be shown in the adapter.androidx.lifecycle.MutableLiveData<Event> EventHandler.getEventShown()Gets the eventShown.androidx.lifecycle.MutableLiveData<Event> SessionViewModel.getEventShown()Gets the event object that will be presented in the EventDetails FragmentMethods in com.example.breeze_seas with parameters of type EventModifier and TypeMethodDescriptionvoidEventCommentsDB.addComment(Event event, User user, String body, boolean authorOrganizer, EventCommentsDB.CommentMutationCallback callback) Adds one new comment to the given event's comments subcollection.static voidEventDB.addEvent(Event event, EventDB.AddEventCallback callback) Add an event collection to databasevoidAttaches the current event/user context and refreshes the visible comments UI.voidAttaches the current event/user context and explicitly controls organizer moderation mode.voidEventCommentsSectionController.bind(Event event, User user, boolean organizerViewerOverride, boolean canAdminComments) Attaches the current event/user context with admin moderation mode enabled.voidAdminViewModel.deleteEvent(Event event, EventDB.EventMutationCallback callback) Deletes an event and its participants subcollection from Firestore.static voidEventDB.deleteEvent(Event event, EventDB.EventMutationCallback callback) Deletes an event and all of its data from the database.voidEventDB.EventsChangedCallback.onEventAdded(Event event) voidAdminBrowseEventsAdapter.OnEventClickListener.onEventClick(Event event) Called when an event in the list has been clicked.voidAdminBrowseEventsAdapter.OnEventDeleteListener.onEventDelete(Event event) voidEventDB.EventsChangedCallback.onEventModified(Event event) voidEventDB.EventsChangedCallback.onEventRemoved(Event event) voidCalled when an event object was successfully loaded from the database.voidEventHandler.setEventShown(Event e) Sets the eventShown.voidSessionViewModel.setEventShown(Event eventShown) Sets the event object for EventDetailsFragment to displaystatic voidEventDB.updateEvent(Event event, EventDB.EventMutationCallback callback) Modifies an event collection from the database.Method parameters in com.example.breeze_seas with type arguments of type EventModifier and TypeMethodDescriptionvoidCalled when all events are successfully loaded.voidReplaces the full event list from LiveData, sorts newest first, then reapplies the current search filter.voidExploreEventViewAdapter.submitList(List<Event> newEvents) Replaces the current Explore list contents.Constructors in com.example.breeze_seas with parameters of type EventModifierConstructorDescriptionAcceptedList(Event event, int capacity) Constructs a new AcceptedList for a specific event.DeclinedList(Event event, int capacity) Constructs a new DeclinedList for a specific event.Constructor for the Map manager.Lottery constructorPendingList(Event event, int capacity) Constructs a new PendingList for a specific event.StatusList(Event event, int capacity) Constructor for StatusList.TermsAndCondition(TermsAndCondition.TermsListener listener, Event event) Constructs a new TermsAndCondition dialog.WaitingList(Event event, int capacity) Constructs a new WaitingList for a specific event.Constructor parameters in com.example.breeze_seas with type arguments of type EventModifierConstructorDescriptionAdminBrowseEventsAdapter(List<Event> eventList, AdminBrowseEventsAdapter.OnEventClickListener listener, AdminBrowseEventsAdapter.OnEventDeleteListener deleteListener) Constructs a new AdminBrowseEventsAdapter.ExploreEventViewAdapter(android.content.Context context, RecyclerViewClickListener itemListener, List<Event> eventList)