Uses of Class
de.gustavblass.fsu.fmi.roombooking.exceptions.NotLoggedInException
Packages that use NotLoggedInException
Package
Description
-
Uses of NotLoggedInException in de.gustavblass.fsu.fmi.roombooking.controller
Methods in de.gustavblass.fsu.fmi.roombooking.controller that throw NotLoggedInExceptionModifier and TypeMethodDescription@NonNull StringActorController.changeEMailAddress(@NonNull org.springframework.ui.Model model, @NonNull @Valid ChangeEMailAddressDTO changeEMailAddressDTO, @NonNull org.springframework.validation.BindingResult bindingResult, @NonNull jakarta.servlet.http.HttpServletResponse response, @Nullable ChangeUserNameDTO ignoredChangeUserNameDTO, @Nullable ChangeNameDTO ignoredChangeNameDTO, @NonNull org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) HandlesPOSTrequests to/user/change-emailand allows the currently logged-inActorto request a change of theirActor.eMailAddress.@NonNull StringActorController.changeName(@NonNull org.springframework.ui.Model model, @NonNull @Valid ChangeNameDTO changeNameDTO, @NonNull org.springframework.validation.BindingResult bindingResult, @NonNull jakarta.servlet.http.HttpServletResponse response, @Nullable ChangeUserNameDTO ignoredChangeUserNameDTO, @Nullable ChangeEMailAddressDTO ignoredChangeEMailAddressDTO) HandlesPOSTrequests to/user/change-nameand updates theActor.nameof the authenticatedActorto the givenChangeNameDTO.newName.@NonNull StringActorController.changePassword(@NonNull @Valid ChangePasswordDTO changePasswordDTO, @NonNull org.springframework.validation.BindingResult bindingResult, @NonNull jakarta.servlet.http.HttpServletResponse response) @NonNull StringActorController.changeUserName(@NonNull org.springframework.ui.Model model, @NonNull @Valid ChangeUserNameDTO changeUserNameDTO, @NonNull org.springframework.validation.BindingResult bindingResult, @NonNull jakarta.servlet.http.HttpServletResponse response, @Nullable ChangeNameDTO ignoredChangeNameDTO, @Nullable ChangeEMailAddressDTO ignoredChangeEMailAddressDTO) HandlesPOSTrequests to/user/change-usernameand updates theActor.userNameof the authenticatedActorto the givenChangeUserNameDTO.newUserName.@NonNull StringActorController.getChangePasswordPage(@NonNull org.springframework.ui.Model model) HandlesGETrequests to/change-passwordand returns theActorController.Template.CHANGE_PASSWORDform.@NonNull StringActorController.getEMailConfirmationPage(@NonNull String token, @NonNull org.springframework.ui.Model model, @NonNull jakarta.servlet.http.HttpServletResponse response) HandlesGETrequests to/users/change-email/confirm/{token}and updates theActor.eMailAddressof theActorassociated with the givenEMailVerificationTokento the valueEMailVerificationToken.eMailAddress.org.springframework.hateoas.PagedModel<org.springframework.hateoas.EntityModel<ReservationSummaryDTO>> ReservationRestController.getReservations(int page, @Max(20L) int size, @NonNull String sortBy, boolean ascending) HandlesGETrequests to/api/v1/reservationsand retrieves a paginated subset of all Reservations by the requestingActoraccording to the URL parameters given. -
Uses of NotLoggedInException in de.gustavblass.fsu.fmi.roombooking.service
Methods in de.gustavblass.fsu.fmi.roombooking.service that throw NotLoggedInExceptionModifier and TypeMethodDescriptionvoidActorService.changeEMailAddress(@NonNull String newEMailAddress) Stores a newEMailVerificationTokenwith the givenEMailVerificationToken.eMailAddressin the database, in order to allow anActorto change theirActor.eMailAddressby opening a confirmation link that will be sent by e-mail.voidActorService.changeName(@NonNull String newName) Updates theActor.nameof the current user.voidActorService.changePassword(@NonNull ChangePasswordDTO changePasswordDTO) Sets theActor.password()of theCurrentAuthorityService.getActor()(who must be aLocalActor) to hash of the givenChangePasswordDTO.newPassword.voidActorService.changeUserName(@NonNull String newUserName) Updates theActor.userNameof the current user.@NonNull ActorActorService.confirmNewEMail(@NonNull String verificationToken) Changes theActor.eMailAddressof theVerificationToken.actorto the newEMailVerificationToken.eMailAddress.