Uses of Class
edu.ucsb.cs156.happiercows.entities.UserCommons
Package
Description
-
Uses of UserCommons in edu.ucsb.cs156.happiercows.controllers
Modifier and TypeMethodDescriptionUserCommonsController.getUserCommonsById
(Long commonsId) UserCommonsController.getUserCommonsById
(Long userId, Long commonsId) -
Uses of UserCommons 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. -
Uses of UserCommons in edu.ucsb.cs156.happiercows.repositories
Modifier and TypeMethodDescriptionUserCommonsRepository.findByCommonsId
(Long commonsId) UserCommonsRepository.findByCommonsIdAndUserId
(Long commonsId, Long userId)