Class ProfitsController
java.lang.Object
edu.ucsb.cs156.happiercows.controllers.ApiController
edu.ucsb.cs156.happiercows.controllers.ProfitsController
@RequestMapping("/api/profits")
@RestController
public class ProfitsController
extends ApiController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallProfitsByCommonsId
(Long commonsId) org.springframework.data.domain.Page<Profit>
pagedProfitsByCommonsId
(Long commonsId, int page, int size) Methods inherited from class edu.ucsb.cs156.happiercows.controllers.ApiController
genericMessage, getCurrentUser, handleBadRequest, handleGenericException
-
Constructor Details
-
ProfitsController
public ProfitsController()
-
-
Method Details
-
allProfitsByCommonsId
-
pagedProfitsByCommonsId
-