Uses of Class
com.nnamo.models.UserModel
Packages that use UserModel
-
Uses of UserModel in com.nnamo.controllers
Methods in com.nnamo.controllers with parameters of type UserModelModifier and TypeMethodDescriptionstatic void
UIController.handleStopSelection
(StopModel stop, UserModel user, org.jxmapviewer.viewer.GeoPosition position, RealtimeGtfsService realtimeService, MainFrame mainFrame, DatabaseService db) It defines the behaviour of when the user clicks on a stopvoid
It setups up all the different behaviours and defines the user interacting with the UIvoid
MapController.setSessionUser
(UserModel sessionUser) void
void
-
Uses of UserModel in com.nnamo.models
Methods in com.nnamo.models that return UserModelModifier and TypeMethodDescriptionFavoriteRouteModel.getUser()
Gets the user who marked the route as favorite.FavoriteStopModel.getUser()
Gets the user who marked the stop as favorite.Constructors in com.nnamo.models with parameters of type UserModelModifierConstructorDescriptionFavoriteRouteModel
(UserModel user, RouteModel route) Constructs a FavoriteRouteModel with the specified user and route.FavoriteStopModel
(UserModel user, StopModel stop) Constructs a FavoriteStopModel with the specified user and stop. -
Uses of UserModel in com.nnamo.services
Methods in com.nnamo.services that return UserModelModifier and TypeMethodDescriptionDatabaseService.getUserById
(int id) Get user by IDDatabaseService.getUserByName
(String username) Get user by the usernameMethods in com.nnamo.services with parameters of type UserModelModifier and TypeMethodDescriptionvoid
DatabaseService.addFavStop
(UserModel user, StopModel stop) Add favorite stop to a user's favorite stops listvoid
Creates user from modelDatabaseService.getFavoriteStops
(UserModel user) Get user's favorite stops