Class AcmeAccountViewResource


  • @Transactional
    @RestController
    @RequestMapping("/api")
    public class AcmeAccountViewResource
    extends Object
    REST controller for managing AcmeAccount.
    • Method Detail

      • getAllAcmeAccountViews

        @GetMapping("/acmeAccountViews")
        public List<AcmeAccountView> getAllAcmeAccountViews()
        GET /acmeAccountViews : get all ACME accounts.
        Returns:
        the ResponseEntity with status 200 (OK) and the list of ACME accounts in body.
      • getAcmeAccount

        @GetMapping("/acmeAccountViews/{id}")
        public org.springframework.http.ResponseEntity<AcmeAccountView> getAcmeAccount​(@PathVariable
                                                                                       Long id)
        GET /acmeAccountViews/:id : get the "id" ACME account.
        Parameters:
        id - the id of the ACME account to retrieve.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the ACME account, or with status 404 (Not Found).
      • getAcmeAccountByAccountId

        @GetMapping("/acmeAccountViews/acmeAccoundId/{acmeAccoundId}")
        public org.springframework.http.ResponseEntity<AcmeAccountView> getAcmeAccountByAccountId​(@PathVariable
                                                                                                  Long acmeAccoundId)
        GET /acmeAccountViews/:id : get the "id" ACME account.
        Parameters:
        acmeAccoundId - the id of the ACME account to retrieve.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the ACME account, or with status 404 (Not Found).