Package de.trustable.ca3s.core.web.rest
Class AcmeAccountViewResource
- java.lang.Object
-
- de.trustable.ca3s.core.web.rest.AcmeAccountViewResource
-
@Transactional @RestController @RequestMapping("/api") public class AcmeAccountViewResource extends ObjectREST controller for managingAcmeAccount.
-
-
Constructor Summary
Constructors Constructor Description AcmeAccountViewResource(AcmeAccountService acmeAccountService, AcmeAccountUtil acmeAccountUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<AcmeAccountView>getAcmeAccount(Long id)GET /acmeAccountViews/:id: get the "id" ACME account.org.springframework.http.ResponseEntity<AcmeAccountView>getAcmeAccountByAccountId(Long acmeAccoundId)GET /acmeAccountViews/:id: get the "id" ACME account.List<AcmeAccountView>getAllAcmeAccountViews()GET /acmeAccountViews: get all ACME accounts.
-
-
-
Constructor Detail
-
AcmeAccountViewResource
public AcmeAccountViewResource(AcmeAccountService acmeAccountService, AcmeAccountUtil acmeAccountUtil)
-
-
Method Detail
-
getAllAcmeAccountViews
@GetMapping("/acmeAccountViews") public List<AcmeAccountView> getAllAcmeAccountViews()GET /acmeAccountViews: get all ACME accounts.- Returns:
- the
ResponseEntitywith status200 (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
ResponseEntitywith status200 (OK)and with body the ACME account, or with status404 (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
ResponseEntitywith status200 (OK)and with body the ACME account, or with status404 (Not Found).
-
-