Uses of Class
edu.ucsb.cs156.happiercows.entities.UserCommons
Packages that use UserCommons
Package
Description
- 
Uses of UserCommons in edu.ucsb.cs156.happiercows.controllers
Methods in edu.ucsb.cs156.happiercows.controllers that return UserCommonsModifier and TypeMethodDescriptionUserCommonsController.getUserCommonsById(Long commonsId) UserCommonsController.getUserCommonsById(Long userId, Long commonsId)  - 
Uses of UserCommons in edu.ucsb.cs156.happiercows.jobs
Methods in edu.ucsb.cs156.happiercows.jobs with parameters of type UserCommonsModifier and TypeMethodDescriptionstatic voidUpdateCowHealthJob.calculateCowDeaths(UserCommons userCommons, JobContext ctx) static doubleMilkTheCowsJob.calculateMilkingProfit(Commons commons, UserCommons userCommons) Calculate the profit for a user from milking their cows.static doubleUpdateCowHealthJob.calculateNewCowHealthUsingStrategy(CowHealthUpdateStrategy strategy, Commons commons, UserCommons userCommons, int totalCows, CommonsRepository commonsRepository) voidMilkTheCowsJob.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
Methods in edu.ucsb.cs156.happiercows.repositories that return types with arguments of type UserCommonsModifier and TypeMethodDescriptionUserCommonsRepository.findByCommonsId(Long commonsId) UserCommonsRepository.findByCommonsIdAndUserId(Long commonsId, Long userId) Methods in edu.ucsb.cs156.happiercows.repositories with parameters of type UserCommons - 
Uses of UserCommons in edu.ucsb.cs156.happiercows.services
Methods in edu.ucsb.cs156.happiercows.services with parameters of type UserCommonsModifier and TypeMethodDescriptionReportService.createAndSaveReportLine(Report report, UserCommons userCommons)  - 
Uses of UserCommons in edu.ucsb.cs156.happiercows.strategies
Methods in edu.ucsb.cs156.happiercows.strategies with parameters of type UserCommonsModifier and TypeMethodDescriptiondoubleCowHealthUpdateStrategy.calculateNewCowHealth(Commons commons, UserCommons user, int totalCows, CommonsRepository commonsRepository)