Index

A C D E F G H I J L M N P R S T U 
All Classes and Interfaces|All Packages|Serialized Form

A

accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.InstructorReportJob
 
accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJob
 
accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.TestJob
 
accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJob
 
accept(JobContext) - Method in interface edu.ucsb.cs156.happiercows.services.jobs.JobContextConsumer
 
allJobs() - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
 
allProfitsByCommonsId(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.ProfitsController
 
api() - Method in class edu.ucsb.cs156.happiercows.config.SpringFoxConfig
 
ApiController - Class in edu.ucsb.cs156.happiercows.controllers
 
ApiController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.ApiController
 

C

calculateMilkingProfit(Commons, UserCommons) - Static method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJob
Calculate the profit for a user from milking their cows.
calculateNewCowHealth(double, int, int, int, double) - Static method in class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJob
 
Commons - Class in edu.ucsb.cs156.happiercows.entities
 
Commons() - Constructor for class edu.ucsb.cs156.happiercows.entities.Commons
 
CommonsController - Class in edu.ucsb.cs156.happiercows.controllers
 
CommonsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.CommonsController
 
CommonsPlus - Class in edu.ucsb.cs156.happiercows.entities
 
CommonsPlus() - Constructor for class edu.ucsb.cs156.happiercows.entities.CommonsPlus
 
CommonsRepository - Interface in edu.ucsb.cs156.happiercows.repositories
 
configure(HttpSecurity) - Method in class edu.ucsb.cs156.happiercows.config.SecurityConfig
 
configure(WebSecurity) - Method in class edu.ucsb.cs156.happiercows.config.SecurityConfig
 
CowDeath - Class in edu.ucsb.cs156.happiercows.entities
 
CowDeath() - Constructor for class edu.ucsb.cs156.happiercows.entities.CowDeath
 
CowDeathRepository - Interface in edu.ucsb.cs156.happiercows.repositories
 
create() - Method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJobFactory
 
create() - Method in class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJobFactory
 
createCommons(CreateCommonsParams) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
 
CreateCommonsParams - Class in edu.ucsb.cs156.happiercows.models
 
CreateCommonsParams() - Constructor for class edu.ucsb.cs156.happiercows.models.CreateCommonsParams
 
CreateUserCommonsParams - Class in edu.ucsb.cs156.happiercows.models
 
CreateUserCommonsParams() - Constructor for class edu.ucsb.cs156.happiercows.models.CreateUserCommonsParams
 
csrf() - Method in class edu.ucsb.cs156.happiercows.controllers.FrontendController
 
csrf(CsrfToken) - Method in class edu.ucsb.cs156.happiercows.controllers.CSRFController
 
CSRFController - Class in edu.ucsb.cs156.happiercows.controllers
 
CSRFController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.CSRFController
 
CurrentUser - Class in edu.ucsb.cs156.happiercows.models
 
CurrentUser() - Constructor for class edu.ucsb.cs156.happiercows.models.CurrentUser
 
CurrentUserService - Class in edu.ucsb.cs156.happiercows.services
 
CurrentUserService() - Constructor for class edu.ucsb.cs156.happiercows.services.CurrentUserService
 
CurrentUserServiceImpl - Class in edu.ucsb.cs156.happiercows.services
 
CurrentUserServiceImpl() - Constructor for class edu.ucsb.cs156.happiercows.services.CurrentUserServiceImpl
 

D

deleteAllByCommonsId(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.UserCommonsRepository
 
deleteCommons(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
 
deleteUserFromCommon(Long, Long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
 

E

edu.ucsb.cs156.happiercows - package edu.ucsb.cs156.happiercows
 
edu.ucsb.cs156.happiercows.advice - package edu.ucsb.cs156.happiercows.advice
 
edu.ucsb.cs156.happiercows.config - package edu.ucsb.cs156.happiercows.config
 
edu.ucsb.cs156.happiercows.controllers - package edu.ucsb.cs156.happiercows.controllers
 
edu.ucsb.cs156.happiercows.entities - package edu.ucsb.cs156.happiercows.entities
 
edu.ucsb.cs156.happiercows.entities.jobs - package edu.ucsb.cs156.happiercows.entities.jobs
 
edu.ucsb.cs156.happiercows.errors - package edu.ucsb.cs156.happiercows.errors
 
edu.ucsb.cs156.happiercows.jobs - package edu.ucsb.cs156.happiercows.jobs
 
edu.ucsb.cs156.happiercows.models - package edu.ucsb.cs156.happiercows.models
 
edu.ucsb.cs156.happiercows.repositories - package edu.ucsb.cs156.happiercows.repositories
 
edu.ucsb.cs156.happiercows.repositories.jobs - package edu.ucsb.cs156.happiercows.repositories.jobs
 
edu.ucsb.cs156.happiercows.services - package edu.ucsb.cs156.happiercows.services
 
edu.ucsb.cs156.happiercows.services.jobs - package edu.ucsb.cs156.happiercows.services.jobs
 
EntityNotFoundException - Exception in edu.ucsb.cs156.happiercows.errors
 
EntityNotFoundException(Class<?>, Object) - Constructor for exception edu.ucsb.cs156.happiercows.errors.EntityNotFoundException
 
EntityNotFoundException(Class<?>, String, Object, String, Object) - Constructor for exception edu.ucsb.cs156.happiercows.errors.EntityNotFoundException
 

F

findAllByUserCommonsId(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.ProfitRepository
 
findByCommonsId(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.UserCommonsRepository
 
findByCommonsIdAndUserId(Long, Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.UserCommonsRepository
 
findByEmail(String) - Method in interface edu.ucsb.cs156.happiercows.repositories.UserRepository
 
formatDollars(double) - Method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJob
 
FrontendController - Class in edu.ucsb.cs156.happiercows.controllers
 
FrontendController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.FrontendController
 
FrontendProxyController - Class in edu.ucsb.cs156.happiercows.controllers
 
FrontendProxyController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.FrontendProxyController
 

G

genericMessage(String) - Method in class edu.ucsb.cs156.happiercows.controllers.ApiController
 
getCommons() - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
 
getCommonsById(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
 
getCommonsPlus() - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
 
getCurrentUser() - Method in class edu.ucsb.cs156.happiercows.controllers.ApiController
 
getCurrentUser() - Method in class edu.ucsb.cs156.happiercows.controllers.UserInfoController
 
getCurrentUser() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserService
 
getCurrentUser() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserServiceImpl
 
getGrantedAuthorities() - Method in class edu.ucsb.cs156.happiercows.services.GrantedAuthoritiesService
 
getNumCows(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.CommonsRepository
 
getNumUsers(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.CommonsRepository
 
getOAuth2AuthenticatedUser(SecurityContext, Authentication) - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserServiceImpl
 
getRoles() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserService
 
getRoles() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserServiceImpl
 
getSystemInfo() - Method in class edu.ucsb.cs156.happiercows.controllers.SystemInfoController
 
getSystemInfo() - Method in class edu.ucsb.cs156.happiercows.services.SystemInfoService
 
getSystemInfo() - Method in class edu.ucsb.cs156.happiercows.services.SystemInfoServiceImpl
 
getUser() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserService
 
getUser() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserServiceImpl
 
getUserCommonsById(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
 
getUserCommonsById(Long, Long) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
 
getUsersCommonsByCommonsId(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
 
GrantedAuthoritiesService - Class in edu.ucsb.cs156.happiercows.services
 
GrantedAuthoritiesService() - Constructor for class edu.ucsb.cs156.happiercows.services.GrantedAuthoritiesService
 

H

handleBadRequest(Throwable) - Method in class edu.ucsb.cs156.happiercows.controllers.ApiController
 
handleGenericException(Throwable) - Method in class edu.ucsb.cs156.happiercows.controllers.ApiController
 
handleIllegalArgumentException() - Method in class edu.ucsb.cs156.happiercows.advice.HappierCowsControllerAdvice
 
HappierCowsApplication - Class in edu.ucsb.cs156.happiercows
 
HappierCowsApplication() - Constructor for class edu.ucsb.cs156.happiercows.HappierCowsApplication
 
HappierCowsControllerAdvice - Class in edu.ucsb.cs156.happiercows.advice
This class handles exceptions thrown by the controllers.
HappierCowsControllerAdvice() - Constructor for class edu.ucsb.cs156.happiercows.advice.HappierCowsControllerAdvice
 

I

index() - Method in class edu.ucsb.cs156.happiercows.controllers.FrontendController
 
instructorReport() - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
 
InstructorReportJob - Class in edu.ucsb.cs156.happiercows.jobs
 
InstructorReportJob() - Constructor for class edu.ucsb.cs156.happiercows.jobs.InstructorReportJob
 
isAdmin(String) - Method in class edu.ucsb.cs156.happiercows.config.SecurityConfig
 
isLoggedIn() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserService
 

J

Job - Class in edu.ucsb.cs156.happiercows.entities.jobs
 
Job() - Constructor for class edu.ucsb.cs156.happiercows.entities.jobs.Job
 
JobContext - Class in edu.ucsb.cs156.happiercows.services.jobs
 
JobContext() - Constructor for class edu.ucsb.cs156.happiercows.services.jobs.JobContext
 
JobContextConsumer - Interface in edu.ucsb.cs156.happiercows.services.jobs
 
JobsController - Class in edu.ucsb.cs156.happiercows.controllers
 
JobsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.JobsController
 
JobService - Class in edu.ucsb.cs156.happiercows.services.jobs
 
JobService() - Constructor for class edu.ucsb.cs156.happiercows.services.jobs.JobService
 
JobsRepository - Interface in edu.ucsb.cs156.happiercows.repositories.jobs
 
joinCommon(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
 

L

launchTestJob() - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
 
launchTestJob(Boolean, Integer) - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
 
log(String) - Method in class edu.ucsb.cs156.happiercows.services.jobs.JobContext
 

M

main(String[]) - Static method in class edu.ucsb.cs156.happiercows.HappierCowsApplication
 
milkCows(JobContext, Commons, UserCommons) - Method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJob
This method performs the function of milking the cows for a single userCommons.
MilkTheCowsJob - Class in edu.ucsb.cs156.happiercows.jobs
 
MilkTheCowsJob() - Constructor for class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJob
 
MilkTheCowsJobFactory - Class in edu.ucsb.cs156.happiercows.jobs
 
MilkTheCowsJobFactory() - Constructor for class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJobFactory
 

N

NoCowsException - Exception in edu.ucsb.cs156.happiercows.errors
 
NoCowsException(String) - Constructor for exception edu.ucsb.cs156.happiercows.errors.NoCowsException
 
NotEnoughMoneyException - Exception in edu.ucsb.cs156.happiercows.errors
 
NotEnoughMoneyException(String) - Constructor for exception edu.ucsb.cs156.happiercows.errors.NotEnoughMoneyException
 

P

Profit - Class in edu.ucsb.cs156.happiercows.entities
 
Profit() - Constructor for class edu.ucsb.cs156.happiercows.entities.Profit
 
ProfitRepository - Interface in edu.ucsb.cs156.happiercows.repositories
 
ProfitsController - Class in edu.ucsb.cs156.happiercows.controllers
 
ProfitsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.ProfitsController
 
proxy(ProxyExchange<String>) - Method in class edu.ucsb.cs156.happiercows.controllers.FrontendProxyController
 
putUserCommonsByIdBuy(Long, int) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
 
putUserCommonsByIdSell(Long, int) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
 

R

runAsJob(JobContextConsumer) - Method in class edu.ucsb.cs156.happiercows.services.jobs.JobService
 
runJobAsync(Job, JobContextConsumer) - Method in class edu.ucsb.cs156.happiercows.services.jobs.JobService
 
runMilkTheCowsJobBasedOnCron() - Method in class edu.ucsb.cs156.happiercows.jobs.ScheduledJobs
 
runUpdateCowHealthJobBasedOnCron() - Method in class edu.ucsb.cs156.happiercows.jobs.ScheduledJobs
 

S

ScheduledJobs - Class in edu.ucsb.cs156.happiercows.jobs
This class contains methods that are scheduled to run at certain times to launch particular jobs.
ScheduledJobs() - Constructor for class edu.ucsb.cs156.happiercows.jobs.ScheduledJobs
 
security() - Method in class edu.ucsb.cs156.happiercows.config.SpringFoxConfig
 
SecurityConfig - Class in edu.ucsb.cs156.happiercows.config
This class is used to configure Spring Security.
SecurityConfig() - Constructor for class edu.ucsb.cs156.happiercows.config.SecurityConfig
 
SpringFoxConfig - Class in edu.ucsb.cs156.happiercows.config
Configuration for Swagger, a package that provides documentation for REST API endpoints.
SpringFoxConfig() - Constructor for class edu.ucsb.cs156.happiercows.config.SpringFoxConfig
 
SystemInfo - Class in edu.ucsb.cs156.happiercows.models
 
SystemInfo() - Constructor for class edu.ucsb.cs156.happiercows.models.SystemInfo
 
SystemInfoController - Class in edu.ucsb.cs156.happiercows.controllers
 
SystemInfoController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.SystemInfoController
 
SystemInfoService - Class in edu.ucsb.cs156.happiercows.services
 
SystemInfoService() - Constructor for class edu.ucsb.cs156.happiercows.services.SystemInfoService
 
SystemInfoServiceImpl - Class in edu.ucsb.cs156.happiercows.services
 
SystemInfoServiceImpl() - Constructor for class edu.ucsb.cs156.happiercows.services.SystemInfoServiceImpl
 

T

taskExecutor(ThreadPoolTaskExecutor) - Method in class edu.ucsb.cs156.happiercows.HappierCowsApplication
 
TestJob - Class in edu.ucsb.cs156.happiercows.jobs
 
TestJob() - Constructor for class edu.ucsb.cs156.happiercows.jobs.TestJob
 
threadPoolTaskExecutor() - Method in class edu.ucsb.cs156.happiercows.HappierCowsApplication
 
toCommonsPlus(Commons) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
 
toString() - Method in class edu.ucsb.cs156.happiercows.entities.User
 

U

updateCommons(long, CreateCommonsParams) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
 
updateCowHealth() - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
 
UpdateCowHealthJob - Class in edu.ucsb.cs156.happiercows.jobs
 
UpdateCowHealthJob() - Constructor for class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJob
 
UpdateCowHealthJobFactory - Class in edu.ucsb.cs156.happiercows.jobs
 
UpdateCowHealthJobFactory() - Constructor for class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJobFactory
 
updateUserCommons(Long, Long, CreateUserCommonsParams) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
 
User - Class in edu.ucsb.cs156.happiercows.entities
 
User() - Constructor for class edu.ucsb.cs156.happiercows.entities.User
 
UserCommons - Class in edu.ucsb.cs156.happiercows.entities
 
UserCommons() - Constructor for class edu.ucsb.cs156.happiercows.entities.UserCommons
 
UserCommonsController - Class in edu.ucsb.cs156.happiercows.controllers
 
UserCommonsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
 
UserCommonsRepository - Interface in edu.ucsb.cs156.happiercows.repositories
 
UserInfoController - Class in edu.ucsb.cs156.happiercows.controllers
 
UserInfoController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.UserInfoController
 
UserRepository - Interface in edu.ucsb.cs156.happiercows.repositories
 
users() - Method in class edu.ucsb.cs156.happiercows.controllers.UsersController
 
UsersController - Class in edu.ucsb.cs156.happiercows.controllers
 
UsersController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.UsersController
 
utcDateTimeProvider() - Method in class edu.ucsb.cs156.happiercows.HappierCowsApplication
 
A C D E F G H I J L M N P R S T U 
All Classes and Interfaces|All Packages|Serialized Form