Uses of Enum Class
com.mapmyjourney.backend.model.enums.TripMemberRole
Packages that use TripMemberRole
Package
Description
-
Uses of TripMemberRole in com.mapmyjourney.backend.model
Methods in com.mapmyjourney.backend.model with parameters of type TripMemberRoleModifier and TypeMethodDescriptionbooleanTripMember.hasPermission(TripMemberRole required) Verifica si este miembro tiene el permiso requerido. -
Uses of TripMemberRole in com.mapmyjourney.backend.model.enums
Methods in com.mapmyjourney.backend.model.enums that return TripMemberRoleModifier and TypeMethodDescriptionstatic TripMemberRoleReturns the enum constant of this class with the specified name.static TripMemberRole[]TripMemberRole.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.mapmyjourney.backend.model.enums with parameters of type TripMemberRoleModifier and TypeMethodDescriptionbooleanTripMemberRole.hasPermission(TripMemberRole required) Verifica si este rol tiene un permiso especĂfico. -
Uses of TripMemberRole in com.mapmyjourney.backend.service
Methods in com.mapmyjourney.backend.service with parameters of type TripMemberRoleModifier and TypeMethodDescriptionTripMemberService.addMemberToTrip(Long tripId, Long userId, TripMemberRole role) Agrega un nuevo miembro a un viaje.TripMemberService.changeMemberRole(Long tripId, Long userId, TripMemberRole newRole) Cambia el rol de un miembro en un viaje.booleanTripMemberService.hasRole(Long tripId, Long userId, TripMemberRole role) Verifica si un usuario tiene un rol especĂfico en un viaje.