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.changePassword(@NonNull @Valid ChangePasswordDTO changePasswordDTO, @NonNull org.springframework.validation.BindingResult bindingResult, @NonNull jakarta.servlet.http.HttpServletResponse response) @NonNull StringActorController.changeUserName(@NonNull String userName, @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/@{userName}/change-usernameand updates theActor.userNameof the givenActorto 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.changePassword(@NonNull ChangePasswordDTO changePasswordDTO) Sets theActor.password()of theCurrentAuthorityService.getActor()(who must be aLocalActor) to hash of the givenChangePasswordDTO.newPassword.voidActorService.changeUserName(@NonNull Actor targetActor, @NonNull String newUserName) Updates theActor.userNameof the given user.@NonNull ActorActorService.confirmNewEMail(@NonNull String verificationToken) Changes theActor.eMailAddressof theVerificationToken.actorto the newEMailVerificationToken.eMailAddress.