Class PostingController


  • @RestController
    public class PostingController
    extends Object
    • Constructor Detail

      • PostingController

        public PostingController​(PostingService postingService)
    • Method Detail

      • newPosting

        @PostMapping(path="/postings")
        public org.springframework.http.ResponseEntity<PostingBO> newPosting​(PostingBO posting)
        Parameters:
        posting - posting to create
        Returns:
        persisted posting
      • findPostingsByOperationId

        @GetMapping(path="postings",
                    params="oprId")
        public org.springframework.http.ResponseEntity<List<PostingBO>> findPostingsByOperationId​(@RequestParam(name="oprId")
                                                                                                  String oprId)
        Parameters:
        oprId - operation identifier
        Returns:
        a list of postings