Uses of Record Class
io.github.navjotsrakhra.eventmanager.dataModel.dto.EventPostDTO
Packages that use EventPostDTO
Package
Description
-
Uses of EventPostDTO in io.github.navjotsrakhra.eventmanager.controller
Methods in io.github.navjotsrakhra.eventmanager.controller that return types with arguments of type EventPostDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<org.springframework.data.domain.Page<EventPostDTO>> EventPostController.getAllEvents(org.springframework.data.domain.Pageable pagination) Handles GET requests for the "/events" URL and retrieves a list of all event posts.org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<EventPostDTO>> UserEventPostController.getAllEvents(org.springframework.data.domain.Pageable pagination, Principal principal) Handles GET requests for the "/events" URL and retrieves a list of all events posted by the current user.Methods in io.github.navjotsrakhra.eventmanager.controller with parameters of type EventPostDTOModifier 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 EventPostDTO in io.github.navjotsrakhra.eventmanager.service
Methods in io.github.navjotsrakhra.eventmanager.service that return types with arguments of type EventPostDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<EventPostDTO>> EventPostGetService.getAllPosts()Deprecated.org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<EventPostDTO>> EventPostGetService.getPostsWithPagination(org.springframework.data.domain.Pageable pageable) Get a list of all event posts with pagination.org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<EventPostDTO>> EventPostGetService.getPostsWithPaginationOfUser(org.springframework.data.domain.Pageable pageable, Principal principal) Get a list of all event posts with pagination posted by the specified user.
EventPostGetService.getPostsWithPagination(Pageable)instead.