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) allProfitsByCommonsId
(Long userId, Long commonsId) org.springframework.data.domain.Page<Profit>
allProfitsByCommonsIdWithPagination
(Long commonsId, int pageNumber, int pageSize) Methods inherited from class edu.ucsb.cs156.happiercows.controllers.ApiController
genericMessage, getCurrentUser, handleBadRequest, handleGenericException
-
Constructor Details
-
ProfitsController
public ProfitsController()
-
-
Method Details
-
allProfitsByCommonsId
-
allProfitsByCommonsId
-
allProfitsByCommonsIdWithPagination
-