Index

A B C D E F G H I M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages

A

addBudgets(Budget) - Method in class com.omarigrant.budget.model.User
Attach budget to user
addCorsMappings(CorsRegistry) - Method in class com.omarigrant.budget.security.aws_cognito.CorsConfig
 
all() - Method in class com.omarigrant.budget.dao.BudgetDao
 
all() - Method in interface com.omarigrant.budget.dao.contract.Dao
Return all items from database
all() - Method in class com.omarigrant.budget.dao.UserDao
 
Amounts - Class in com.omarigrant.budget.model.budget
An entity that holds the results of a Budget model.
Amounts() - Constructor for class com.omarigrant.budget.model.budget.Amounts
 
AmountsRepository - Interface in com.omarigrant.budget.repositories
Handles all database operations for Amounts Model.

B

bigDecimalDivide(BigDecimal, BigDecimal) - Method in class com.omarigrant.budget.model.budget.calculate.Calculate
Function to divide Big Decimal
bigDecimalMultiply(BigDecimal, BigDecimal) - Method in class com.omarigrant.budget.model.budget.calculate.Calculate
Function to multiply Big Decimal
Budget - Class in com.omarigrant.budget.model
The entity of a budget item that is stored in the database
Budget() - Constructor for class com.omarigrant.budget.model.Budget
 
BudgetApplication - Class in com.omarigrant.budget
 
BudgetApplication() - Constructor for class com.omarigrant.budget.BudgetApplication
 
BudgetController - Class in com.omarigrant.budget.controller.api
Rest Controller for handling the api for Budgets
BudgetController() - Constructor for class com.omarigrant.budget.controller.api.BudgetController
 
BudgetDao - Class in com.omarigrant.budget.dao
A DAO for the Budget entity
BudgetDao() - Constructor for class com.omarigrant.budget.dao.BudgetDao
 
BudgetDTO - Class in com.omarigrant.budget.model
The output view of the Budget model
BudgetDTO() - Constructor for class com.omarigrant.budget.model.BudgetDTO
 
BudgetInputDTO - Class in com.omarigrant.budget.model
A Model that is presented to the user to collect information needed to perform calculations.
BudgetInputDTO() - Constructor for class com.omarigrant.budget.model.BudgetInputDTO
 
BudgetMapper - Class in com.omarigrant.budget.mappers
Converts Budget to BudgetDTO and BudgetDTO to Budget
BudgetMapper() - Constructor for class com.omarigrant.budget.mappers.BudgetMapper
 
BudgetMapperContract - Interface in com.omarigrant.budget.mappers.contracts
Contract for Budget Mapper
BudgetRepository - Interface in com.omarigrant.budget.repositories
Handles all database operations for the Budget Model.
BudgetService - Class in com.omarigrant.budget.services
 
BudgetService() - Constructor for class com.omarigrant.budget.services.BudgetService
 
BudgetServiceInterface - Interface in com.omarigrant.budget.services.contracts
A Service that handles all business logic for Budget Models
BudgetType - Enum Class in com.omarigrant.budget.model.enums
Type of Budget Item
BudgetTypeController - Class in com.omarigrant.budget.controller.api
 
BudgetTypeController() - Constructor for class com.omarigrant.budget.controller.api.BudgetTypeController
 

C

Calculate - Class in com.omarigrant.budget.model.budget.calculate
Abstract class so Calculators can extend this class to ensure all calculations are done for each function.
Calculate(LocalDate) - Constructor for class com.omarigrant.budget.model.budget.calculate.Calculate
Constructor used for calculations.
CalculateAmountsFromDaily - Class in com.omarigrant.budget.model.budget.calculate.amounts
Makes calculations from the daily frequency
CalculateAmountsFromDaily(LocalDate) - Constructor for class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromDaily
 
CalculateAmountsFromFortnightly - Class in com.omarigrant.budget.model.budget.calculate.amounts
Makes calculations from the fortnightly frequency
CalculateAmountsFromFortnightly(LocalDate) - Constructor for class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFortnightly
 
CalculateAmountsFromFourWeekly - Class in com.omarigrant.budget.model.budget.calculate.amounts
Makes calculations from the four-weekly frequency
CalculateAmountsFromFourWeekly(LocalDate) - Constructor for class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFourWeekly
 
CalculateAmountsFromMonthly - Class in com.omarigrant.budget.model.budget.calculate.amounts
Makes calculations from the monthly frequency
CalculateAmountsFromMonthly(LocalDate) - Constructor for class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromMonthly
 
CalculateAmountsFromQuarterly - Class in com.omarigrant.budget.model.budget.calculate.amounts
Makes calculations from the quarterly frequency
CalculateAmountsFromQuarterly(LocalDate) - Constructor for class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromQuarterly
 
CalculateAmountsFromSemiAnnually - Class in com.omarigrant.budget.model.budget.calculate.amounts
Makes calculations from the semi-annually frequency
CalculateAmountsFromSemiAnnually(LocalDate) - Constructor for class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromSemiAnnually
 
CalculateAmountsFromWeekly - Class in com.omarigrant.budget.model.budget.calculate.amounts
Makes calculations from the weekly frequency
CalculateAmountsFromWeekly(LocalDate) - Constructor for class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromWeekly
 
CalculateAmountsFromYearly - Class in com.omarigrant.budget.model.budget.calculate.amounts
Makes calculations from the yearly frequency
CalculateAmountsFromYearly(LocalDate) - Constructor for class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromYearly
 
calculateDaily(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromDaily
 
calculateDaily(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFortnightly
 
calculateDaily(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFourWeekly
 
calculateDaily(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromMonthly
 
calculateDaily(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromQuarterly
 
calculateDaily(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromSemiAnnually
 
calculateDaily(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromWeekly
 
calculateDaily(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromYearly
 
calculateDaily(BigDecimal, DateUtilityDTO) - Method in interface com.omarigrant.budget.model.budget.calculate.contracts.CalculateDailyInterface
Function to calculate items daily
CalculateDailyInterface - Interface in com.omarigrant.budget.model.budget.calculate.contracts
Contract for calculating items to a daily amount
CalculateFactory - Class in com.omarigrant.budget.model.budget.calculate.factory
A Factory design pattern to select a calculator, depending on the frequency
CalculateFactory(Frequencies, LocalDate) - Constructor for class com.omarigrant.budget.model.budget.calculate.factory.CalculateFactory
Constructor to set the selectedCalculator
calculateFortnightly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromDaily
 
calculateFortnightly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFortnightly
 
calculateFortnightly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFourWeekly
 
calculateFortnightly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromMonthly
 
calculateFortnightly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromQuarterly
 
calculateFortnightly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromSemiAnnually
 
calculateFortnightly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromWeekly
 
calculateFortnightly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromYearly
 
calculateFortnightly(BigDecimal, DateUtilityDTO) - Method in interface com.omarigrant.budget.model.budget.calculate.contracts.CalculateFortnightlyInterface
Function to calculate items fortnightly
CalculateFortnightlyInterface - Interface in com.omarigrant.budget.model.budget.calculate.contracts
Contract for calculating items to a fortnightly amount
calculateFourWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromDaily
 
calculateFourWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFortnightly
 
calculateFourWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFourWeekly
 
calculateFourWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromMonthly
 
calculateFourWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromQuarterly
 
calculateFourWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromSemiAnnually
 
calculateFourWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromWeekly
 
calculateFourWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromYearly
 
calculateFourWeekly(BigDecimal, DateUtilityDTO) - Method in interface com.omarigrant.budget.model.budget.calculate.contracts.CalculateFourWeeklyInterface
Function to calculate items four-weekly
CalculateFourWeeklyInterface - Interface in com.omarigrant.budget.model.budget.calculate.contracts
Contract for calculating items to a four-weekly amount
calculateMonthly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromDaily
 
calculateMonthly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFortnightly
 
calculateMonthly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFourWeekly
 
calculateMonthly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromMonthly
 
calculateMonthly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromQuarterly
 
calculateMonthly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromSemiAnnually
 
calculateMonthly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromWeekly
 
calculateMonthly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromYearly
 
calculateMonthly(BigDecimal, DateUtilityDTO) - Method in interface com.omarigrant.budget.model.budget.calculate.contracts.CalculateMonthlyInterface
Function to calculate items monthly
CalculateMonthlyInterface - Interface in com.omarigrant.budget.model.budget.calculate.contracts
Contract for calculating items to a monthly amount
calculateQuarterly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromDaily
 
calculateQuarterly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFortnightly
 
calculateQuarterly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFourWeekly
 
calculateQuarterly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromMonthly
 
calculateQuarterly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromQuarterly
 
calculateQuarterly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromSemiAnnually
 
calculateQuarterly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromWeekly
 
calculateQuarterly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromYearly
 
calculateQuarterly(BigDecimal, DateUtilityDTO) - Method in interface com.omarigrant.budget.model.budget.calculate.contracts.CalculateQuarterlyInterface
Function to calculate items quarterly
CalculateQuarterlyInterface - Interface in com.omarigrant.budget.model.budget.calculate.contracts
Contract for calculating items to a quarterly amount
calculateResults(Budget, LocalDate) - Method in class com.omarigrant.budget.services.BudgetService
 
calculateResults(Budget, LocalDate) - Method in interface com.omarigrant.budget.services.contracts.BudgetServiceInterface
Function to calculate the results from a budget and attach the results to the budget.
calculateSemiAnnually(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromDaily
 
calculateSemiAnnually(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFortnightly
 
calculateSemiAnnually(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFourWeekly
 
calculateSemiAnnually(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromMonthly
 
calculateSemiAnnually(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromQuarterly
 
calculateSemiAnnually(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromSemiAnnually
 
calculateSemiAnnually(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromWeekly
 
calculateSemiAnnually(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromYearly
 
calculateSemiAnnually(BigDecimal, DateUtilityDTO) - Method in interface com.omarigrant.budget.model.budget.calculate.contracts.CalculateSemiAnnuallyInterface
Function to calculate items bi-annually
CalculateSemiAnnuallyInterface - Interface in com.omarigrant.budget.model.budget.calculate.contracts
Contract for calculating items to a bi-annually amount
calculateTotalDaysInPrecedingMonths(int, LocalDate) - Method in class com.omarigrant.budget.model.budget.calculate.Calculate
Calculate how many days are in the months before.
calculateTotalWeeksInFollowingMonths(int, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.Calculate
Calculate the total weeks in future, given an amount of months
calculateWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromDaily
 
calculateWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFortnightly
 
calculateWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFourWeekly
 
calculateWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromMonthly
 
calculateWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromQuarterly
 
calculateWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromSemiAnnually
 
calculateWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromWeekly
 
calculateWeekly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromYearly
 
calculateWeekly(BigDecimal, DateUtilityDTO) - Method in interface com.omarigrant.budget.model.budget.calculate.contracts.CalculateWeeklyInterface
Function to calculate items weekly
CalculateWeeklyInterface - Interface in com.omarigrant.budget.model.budget.calculate.contracts
Contract for calculating items to a weekly amount
calculateYearly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromDaily
 
calculateYearly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFortnightly
 
calculateYearly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromFourWeekly
 
calculateYearly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromMonthly
 
calculateYearly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromQuarterly
 
calculateYearly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromSemiAnnually
 
calculateYearly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromWeekly
 
calculateYearly(BigDecimal, DateUtilityDTO) - Method in class com.omarigrant.budget.model.budget.calculate.amounts.CalculateAmountsFromYearly
 
calculateYearly(BigDecimal, DateUtilityDTO) - Method in interface com.omarigrant.budget.model.budget.calculate.contracts.CalculateYearyInterface
Function to calculate items yearly
CalculateYearyInterface - Interface in com.omarigrant.budget.model.budget.calculate.contracts
Contract for calculating items to a yearly amount
check(Jwt) - Method in class com.omarigrant.budget.security.aws_cognito.ValidateLoginController
 
com.omarigrant.budget - package com.omarigrant.budget
 
com.omarigrant.budget.controller.api - package com.omarigrant.budget.controller.api
 
com.omarigrant.budget.dao - package com.omarigrant.budget.dao
 
com.omarigrant.budget.dao.contract - package com.omarigrant.budget.dao.contract
 
com.omarigrant.budget.mappers - package com.omarigrant.budget.mappers
 
com.omarigrant.budget.mappers.contracts - package com.omarigrant.budget.mappers.contracts
 
com.omarigrant.budget.model - package com.omarigrant.budget.model
 
com.omarigrant.budget.model.budget - package com.omarigrant.budget.model.budget
 
com.omarigrant.budget.model.budget.calculate - package com.omarigrant.budget.model.budget.calculate
 
com.omarigrant.budget.model.budget.calculate.amounts - package com.omarigrant.budget.model.budget.calculate.amounts
 
com.omarigrant.budget.model.budget.calculate.contracts - package com.omarigrant.budget.model.budget.calculate.contracts
 
com.omarigrant.budget.model.budget.calculate.factory - package com.omarigrant.budget.model.budget.calculate.factory
 
com.omarigrant.budget.model.enums - package com.omarigrant.budget.model.enums
 
com.omarigrant.budget.repositories - package com.omarigrant.budget.repositories
 
com.omarigrant.budget.security.aws_cognito - package com.omarigrant.budget.security.aws_cognito
 
com.omarigrant.budget.services - package com.omarigrant.budget.services
 
com.omarigrant.budget.services.contracts - package com.omarigrant.budget.services.contracts
 
com.omarigrant.budget.utilities.date - package com.omarigrant.budget.utilities.date
 
CorsConfig - Class in com.omarigrant.budget.security.aws_cognito
 
CorsConfig() - Constructor for class com.omarigrant.budget.security.aws_cognito.CorsConfig
 
countDateOccurencesUntilEndDate(DateUtilityDTO) - Method in class com.omarigrant.budget.utilities.date.DateUtility
This function counts how many dates there are until the end date.

D

DAILY - Enum constant in enum class com.omarigrant.budget.model.enums.Frequencies
 
Dao<T> - Interface in com.omarigrant.budget.dao.contract
 
DateUtility - Class in com.omarigrant.budget.utilities.date
This is a class that assists in date functions in the application, such as getting all future dates that occur in a given frequency.
DateUtility(LocalDate) - Constructor for class com.omarigrant.budget.utilities.date.DateUtility
 
DateUtilityController - Class in com.omarigrant.budget.controller.api
An api controller for handling dates
DateUtilityController() - Constructor for class com.omarigrant.budget.controller.api.DateUtilityController
 
DateUtilityDTO - Class in com.omarigrant.budget.model
A model to hold the dates and frequencies relating to other models.
DateUtilityDTO() - Constructor for class com.omarigrant.budget.model.DateUtilityDTO
 
delete(long) - Method in class com.omarigrant.budget.dao.BudgetDao
 
delete(long) - Method in interface com.omarigrant.budget.dao.contract.Dao
Delete item from database
delete(long) - Method in class com.omarigrant.budget.dao.UserDao
 
delete(Long) - Method in class com.omarigrant.budget.services.BudgetService
 
delete(Long) - Method in interface com.omarigrant.budget.services.contracts.BudgetServiceInterface
Delete a budget from the database
doesBudgetBelongToUser(User, Long) - Method in class com.omarigrant.budget.services.BudgetService
 
doesBudgetBelongToUser(User, Long) - Method in interface com.omarigrant.budget.services.contracts.BudgetServiceInterface
Checks that the budget belongs to the user to prevent users affecting items that are not theirs.

E

equals(Object) - Method in class com.omarigrant.budget.model.User
 

F

findAll() - Method in class com.omarigrant.budget.services.BudgetService
 
findAll() - Method in interface com.omarigrant.budget.services.contracts.BudgetServiceInterface
Return all BudgetDTO to the user
findById(Long) - Method in class com.omarigrant.budget.services.BudgetService
 
findById(Long) - Method in interface com.omarigrant.budget.services.contracts.BudgetServiceInterface
Get Budget output model by id
findUserBySub(String) - Method in class com.omarigrant.budget.dao.UserDao
Find user by jwt sub
findUserFromJwtToken(Jwt) - Method in class com.omarigrant.budget.services.UserService
Return user from database using JWT token.
FORTNIGHTLY - Enum constant in enum class com.omarigrant.budget.model.enums.Frequencies
 
FOUR_WEEKLY - Enum constant in enum class com.omarigrant.budget.model.enums.Frequencies
 
Frequencies - Enum Class in com.omarigrant.budget.model.enums
A set of Frequencies handled by the application
FrequencyController - Class in com.omarigrant.budget.controller.api
A rest api controller for Frequencies
FrequencyController() - Constructor for class com.omarigrant.budget.controller.api.FrequencyController
 

G

get(long) - Method in class com.omarigrant.budget.dao.BudgetDao
 
get(long) - Method in interface com.omarigrant.budget.dao.contract.Dao
Return one item from database
get(long) - Method in class com.omarigrant.budget.dao.UserDao
 
getAllBudgets(User) - Method in class com.omarigrant.budget.services.UserService
Get all budgets associated with the user.
getAllBudgets(Jwt) - Method in class com.omarigrant.budget.controller.api.BudgetController
Get a list of Budgets for a authenicated user
getAllDateOccurences(DateUtilityDTO) - Method in class com.omarigrant.budget.utilities.date.DateUtility
All dates that occur after the current date, given a frequency and start date.
getAllFrequencies() - Method in class com.omarigrant.budget.controller.api.FrequencyController
Show all frequencies handled by application
getBudget(Long, Jwt) - Method in class com.omarigrant.budget.controller.api.BudgetController
Get a single budget
getBudgetTypes() - Method in class com.omarigrant.budget.controller.api.BudgetTypeController
List of budget types
getDatesBetweenStartAndEndOccuringInGivenFrequencyAfterTodaysDate(DateUtilityDTO) - Method in class com.omarigrant.budget.controller.api.DateUtilityController
Returns the dates that occur between start and end date, from todays date onwards
getMathContext() - Method in class com.omarigrant.budget.model.budget.calculate.Calculate
Return a Math Context to format Big Decimals
getNextDateOccurence(DateUtilityDTO) - Method in class com.omarigrant.budget.utilities.date.DateUtility
This function will return the next date to occur after the currentLocalDate and from the start date occur every frequency given and before the end date.

H

handleControllerInputAndSave(BudgetInputDTO, LocalDate, User) - Method in class com.omarigrant.budget.services.BudgetService
 
handleControllerInputAndSave(BudgetInputDTO, LocalDate, User) - Method in interface com.omarigrant.budget.services.contracts.BudgetServiceInterface
This functions primary use is for functions, so an input model is given, processed and saved before returning an output model to the user.
hashCode() - Method in class com.omarigrant.budget.model.User
Overrided hashcode and equals to prevent stack overflow error due to Budgets model referencing this model and causing infinite recursion.

I

INCOME - Enum constant in enum class com.omarigrant.budget.model.enums.BudgetType
 

M

main(String[]) - Static method in class com.omarigrant.budget.BudgetApplication
 
MONTHLY - Enum constant in enum class com.omarigrant.budget.model.enums.Frequencies
 

N

NOT_SET - Enum constant in enum class com.omarigrant.budget.model.enums.BudgetType
 

O

OUTGOINGS - Enum constant in enum class com.omarigrant.budget.model.enums.BudgetType
 

P

postCalculateBudget(BudgetInputDTO) - Method in class com.omarigrant.budget.controller.api.BudgetController
Show the results of a calculation from a given input, without authentication or saving.
postDeleteBudget(Long, Jwt) - Method in class com.omarigrant.budget.controller.api.BudgetController
Delete budget
postSaveBudget(BudgetInputDTO, Jwt) - Method in class com.omarigrant.budget.controller.api.BudgetController
Show the results of a calculation from a given input and save it
postUpdateBudget(Long, BudgetInputDTO, Jwt) - Method in class com.omarigrant.budget.controller.api.BudgetController
Update the budget from a given input and save it

Q

QUARTERLY - Enum constant in enum class com.omarigrant.budget.model.enums.Frequencies
 

R

recalculateAll() - Method in class com.omarigrant.budget.services.BudgetService
 
recalculateAll() - Method in interface com.omarigrant.budget.services.contracts.BudgetServiceInterface
Recalculate all budgets
removeBudget(Budget) - Method in class com.omarigrant.budget.model.User
Remove budget from user

S

save(Budget) - Method in class com.omarigrant.budget.dao.BudgetDao
 
save(Budget, LocalDate) - Method in class com.omarigrant.budget.services.BudgetService
 
save(Budget, LocalDate) - Method in interface com.omarigrant.budget.services.contracts.BudgetServiceInterface
Save Budget model to database.
save(User) - Method in class com.omarigrant.budget.dao.UserDao
 
save(T) - Method in interface com.omarigrant.budget.dao.contract.Dao
Save item to database
SecurityConfig - Class in com.omarigrant.budget.security.aws_cognito
Security configuration for application
SecurityConfig() - Constructor for class com.omarigrant.budget.security.aws_cognito.SecurityConfig
 
securityFilterChain(HttpSecurity) - Method in class com.omarigrant.budget.security.aws_cognito.SecurityConfig
 
SEMI_ANNUALLY - Enum constant in enum class com.omarigrant.budget.model.enums.Frequencies
 

T

toBudget(BudgetInputDTO, User) - Method in class com.omarigrant.budget.mappers.BudgetMapper
 
toBudget(BudgetInputDTO, User) - Method in interface com.omarigrant.budget.mappers.contracts.BudgetMapperContract
Convert BudgetInputDTO to Budget
toDto(Budget) - Method in class com.omarigrant.budget.mappers.BudgetMapper
 
toDto(Budget) - Method in interface com.omarigrant.budget.mappers.contracts.BudgetMapperContract
Convert Budget to BudgetDTO

U

update(Long, BudgetInputDTO, LocalDate) - Method in class com.omarigrant.budget.services.BudgetService
 
update(Long, BudgetInputDTO, LocalDate) - Method in interface com.omarigrant.budget.services.contracts.BudgetServiceInterface
Update a Budget and return the output model.
User - Class in com.omarigrant.budget.model
A representation of an oauth2 user
User() - Constructor for class com.omarigrant.budget.model.User
 
UserDao - Class in com.omarigrant.budget.dao
 
UserDao() - Constructor for class com.omarigrant.budget.dao.UserDao
 
UserRepository - Interface in com.omarigrant.budget.repositories
Handles all database operations for the OAuthUser Model.
UserService - Class in com.omarigrant.budget.services
A service for handling Users
UserService() - Constructor for class com.omarigrant.budget.services.UserService
 

V

ValidateLoginController - Class in com.omarigrant.budget.security.aws_cognito
 
ValidateLoginController() - Constructor for class com.omarigrant.budget.security.aws_cognito.ValidateLoginController
 
valueOf(String) - Static method in enum class com.omarigrant.budget.model.enums.BudgetType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.omarigrant.budget.model.enums.Frequencies
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.omarigrant.budget.model.enums.BudgetType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.omarigrant.budget.model.enums.Frequencies
Returns an array containing the constants of this enum class, in the order they are declared.
viewCalculationOnly(BudgetInputDTO, LocalDate) - Method in class com.omarigrant.budget.services.BudgetService
 
viewCalculationOnly(BudgetInputDTO, LocalDate) - Method in interface com.omarigrant.budget.services.contracts.BudgetServiceInterface
This functions primary use is for functions, so an input model is given, processed and an output model is returned to the user.

W

WEEKLY - Enum constant in enum class com.omarigrant.budget.model.enums.Frequencies
 

Y

YEARLY - Enum constant in enum class com.omarigrant.budget.model.enums.Frequencies
 
A B C D E F G H I M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages