Uses of Class
com.example.breeze_seas.User
-
Uses of User in com.example.breeze_seas
Fields in com.example.breeze_seas with type parameters of type UserMethods in com.example.breeze_seas that return types with arguments of type UserModifier and TypeMethodDescriptionLottery.getLastRoundLosers()Returns a copy of the losers from the last executed lottery.Lottery.getLastRoundWinners()Returns a copy of the winners from the last executed lottery.androidx.lifecycle.MutableLiveData<User> SessionViewModel.getUser()Return the curernt user objectStatusList.getUserList()AdminViewModel.getUsers()Returns the live user list.Methods in com.example.breeze_seas with parameters of type UserModifier 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.voidStatusList.addUser(User user, StatusList.ListUpdateListener listener) Adds or updates a user in the event's participant sub-collection.voidAttaches 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.static voidUiImageBinder.bindUserAvatar(android.widget.ImageView imageView, User user, UiImageBinder.PlaceholderRenderer placeholderRenderer) Binds one user's avatar image into the supplied image view.com.google.android.gms.tasks.Task<Void> UserDB.createUser(User user) Creates a new user record in the database.voidStatusList.determineLocation(android.content.Context context, User user, StatusList.ListUpdateListener listener) Determines the user's current GPS location if the event requires it.static voidEventDB.getAllEventsOrganizedByCoOrganizer(User user, EventDB.LoadEventsCallback callback) Fetch all events that the user is co-organizing.static com.google.firebase.firestore.QueryEventDB.getAllEventsOrganizedByCoOrganizerQuery(User user) Method to obtain query for all events that the user is a co-organizer for.static voidEventDB.getAllEventsOrganizedByOrganizer(User user, EventDB.LoadEventsCallback callback) Fetch all events that the user is organizing (the original organizer)static com.google.firebase.firestore.QueryEventDB.getAllEventsOrganizedByOrganizerQuery(User user) Method to obtain query for all events that the user is the original organizer for.static voidEventDB.getAllEventsOrganizedByUser(User user, EventDB.LoadEventsCallback callback) Fetch all events that the user is organizing (any kind of organizer)static com.google.firebase.firestore.QueryEventDB.getAllEventsOrganizedByUserQuery(User user) Method to obtain all events that the user is any kind of organizer for.static voidEventDB.getAllJoinableEvents(User user, EventDB.LoadEventsCallback callback) Fetch all events that the current user is able to join.static com.google.firebase.firestore.QueryEventDB.getAllJoinableEventsQuery(User user) Method to obtain query for all joinable public events for given user.static com.google.firebase.firestore.QueryEventDB.getExploreEventsQuery(User user) Method to obtain query for all joinable public events for given user.voidAdminBrowseProfilesAdapter.OnProfileDeleteListener.onProfileDelete(User user, int position) voidUserDB.UsersChangedCallback.onUserAdded(User user) voidUserDB.OnUserLoadedListener.onUserLoaded(User user) voidUserDB.UsersChangedCallback.onUserModified(User user) voidUserDB.UsersChangedCallback.onUserRemoved(User user) voidAdminBrowseProfilesAdapter.removeUser(User user) Removes a user from both lists and refreshes the view.voidSet the current user objectbooleanEvent.userIsAnOrganizer(User user) Method to check if a user is any kind of organizer of the eventbooleanEvent.userIsCoOrganizer(User user) Method to check if a user is a co-organizer of the eventbooleanStatusList.userIsInList(User user) Checks if a user is already present in the local list.booleanEvent.userIsOrganizer(User user) Method to check if a user is the ORIGINAL organizer of the eventMethod parameters in com.example.breeze_seas with type arguments of type UserModifier and TypeMethodDescriptionvoidAdminBrowseProfilesAdapter.updateList(List<User> newUsers) Replaces the full user list from the LiveData source, then refilters.Constructors in com.example.breeze_seas with parameters of type UserModifierConstructorDescriptionListDialogFragment(User user, StatusList currentList) Constructor for ListDialogFragment.Constructor parameters in com.example.breeze_seas with type arguments of type UserModifierConstructorDescriptionAdminBrowseProfilesAdapter(List<User> userList, AdminBrowseProfilesAdapter.OnProfileDeleteListener deleteListener) Constructs a new AdminBrowseProfilesAdapter.OrganizerListAdapter(android.content.Context context, int resource, ArrayList<User> entrants, String statusLabel, boolean highlightedStatus) Creates a reusable organizer-side user list adapter.