Uses of Class
de.gustavblass.fsu.fmi.roombooking.exceptions.AlreadyExistsException
Packages that use AlreadyExistsException
Package
Description
-
Uses of AlreadyExistsException in de.gustavblass.fsu.fmi.roombooking.controller
Methods in de.gustavblass.fsu.fmi.roombooking.controller that throw AlreadyExistsExceptionModifier and TypeMethodDescription@NonNull org.springframework.http.ResponseEntity<Void> ActorRestController.registerViaLdap(@NonNull @Valid LdapRegistrationActorDTO actorDTO) HandlesPOSTrequests to/api/v1/register/ldapand creates a newActorbased on the givenLdapRegistrationActorDTO. -
Uses of AlreadyExistsException in de.gustavblass.fsu.fmi.roombooking.controller.admin
Methods in de.gustavblass.fsu.fmi.roombooking.controller.admin that throw AlreadyExistsExceptionModifier and TypeMethodDescription@NonNull org.springframework.http.ResponseEntity<Void> ActorAdminRestController.createActor(@Valid LocalActorCreatedByAdminDTO dto) HandlesPOSTrequests to/api/v1/admin/usersand saves a newActorbased on the form input (represented as anActorCreatedByAdminDTO) to the database.@NonNull org.springframework.http.ResponseEntity<Void> EquipmentAdminRestController.createEquipment(@Valid @NonNull EquipmentTypeDTO dto) HandlesPOSTrequests to/api/v1/admin/equipmentand adds the givenEquipmentTypeDTOas a newEquipmentTypeto the database.@NonNull org.springframework.http.ResponseEntity<Void> RoomAdminRestController.createRoom(@Valid @NonNull NewRoomDTO dto) HandlesPOSTrequests to/api/v1/admin/roomsand adds the givenNewRoomDTOas a newRoomto the database. -
Uses of AlreadyExistsException in de.gustavblass.fsu.fmi.roombooking.service
Methods in de.gustavblass.fsu.fmi.roombooking.service that throw AlreadyExistsExceptionModifier 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.changeUserName(@NonNull String newUserName) Updates theActor.userNameof the current user.@NonNull ActorActorService.createActor(@NonNull LocalActorCreatedByAdminDTO dto) Saves a newActorto the database.voidRoomService.createRoom(@NonNull Room room) Adds the givenRoomto the database.voidEquipmentService.createType(@NonNull EquipmentType equipmentType) Adds the givenEquipmentTypeto the database if no type with the sameEquipmentType.nameexists already.voidActorService.register(@NonNull LdapRegistrationActorDTO ldapRegistrationActorDTO) Creates a newActorin the database, according to the givenLdapRegistrationActorDTO.voidActorService.register(@NonNull LocalRegistrationActorDTO localRegistrationActorDTO) Creates a newActorin the database, according to the givenLocalRegistrationActorDTO.