Uses of Class
edu.ucsb.cs156.happiercows.entities.Commons
-
Uses of Commons in edu.ucsb.cs156.happiercows.controllers
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Commons>
CommonsController.deleteUserFromCommon
(Long commonsId, Long userId) -
Uses of Commons in edu.ucsb.cs156.happiercows.jobs
Modifier and TypeMethodDescriptionstatic double
MilkTheCowsJob.calculateMilkingProfit
(Commons commons, UserCommons userCommons) Calculate the profit for a user from milking their cows.void
MilkTheCowsJob.milkCows
(JobContext ctx, Commons commons, UserCommons userCommons) This method performs the function of milking the cows for a single userCommons.