Uses of Class
io.github.navjotsrakhra.eventmanager.exception.DateValidationFailedException
Packages that use DateValidationFailedException
Package
Description
-
Uses of DateValidationFailedException in io.github.navjotsrakhra.eventmanager.controller
Methods in io.github.navjotsrakhra.eventmanager.controller with parameters of type DateValidationFailedExceptionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String> UserEventPostController.handleDateValidationException(DateValidationFailedException e) Handles exceptions related to method date validation.org.springframework.http.ResponseEntity<?> AdminPostManagementController.handleDateValidationFailedException(DateValidationFailedException e) Handles exceptions thrown by theEventPostEditServiceclass.Methods in io.github.navjotsrakhra.eventmanager.controller that throw DateValidationFailedExceptionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> UserEventPostController.addEvent(EventPostDTO newEvent, Principal principal) Handles POST requests for the "/events/post" URL to add a new event post if the user is the owner of the post.org.springframework.http.ResponseEntity<?> UserEventPostController.editEvent(Long ID, EventPostDTO editedEvent, Principal principal) Handles POST requests for the "/events/edit/{ID}" URL to edit a post if the user is the owner of the post.org.springframework.http.ResponseEntity<?> AdminPostManagementController.editEventPost(Long id, EventPostDTO eventPostDTO) Handles POST requests for the "/admin/events/edit/{id}" URL to edit an event post. -
Uses of DateValidationFailedException in io.github.navjotsrakhra.eventmanager.dataModel
Methods in io.github.navjotsrakhra.eventmanager.dataModel that throw DateValidationFailedExceptionModifier and TypeMethodDescriptionvoidSet the ending date of the event, performing date validation.voidEventPost.setEndTime(LocalTime endTime) Set the ending time of the event, performing time validation.voidEventPost.setStartDay(LocalDate startDay) Set the starting date of the event, performing date validation.voidEventPost.setStartTime(LocalTime startTime) Set the starting time of the event, performing time validation.Constructors in io.github.navjotsrakhra.eventmanager.dataModel that throw DateValidationFailedException -
Uses of DateValidationFailedException in io.github.navjotsrakhra.eventmanager.dataModel.dto
Methods in io.github.navjotsrakhra.eventmanager.dataModel.dto that throw DateValidationFailedExceptionModifier and TypeMethodDescriptionEventPostDTO.toEventPost()Converts this EventPostRecord to an EventPost object.