Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- generate(UserProfile) - Method in class api.mpba.rastvdmy.service.generator.GenerateAccessToken
-
Generates an access token for the given user profile.
- GenerateAccessToken - Class in api.mpba.rastvdmy.service.generator
-
A service class for generating access tokens for user profiles.
- GenerateAccessToken(JwtService, AccessTokenRepository) - Constructor for class api.mpba.rastvdmy.service.generator.GenerateAccessToken
-
Constructs a GenerateAccessToken instance with the specified JwtService and AccessTokenRepository.
- GenerateAccessToken.TokenDetails - Record Class in api.mpba.rastvdmy.service.generator
-
A record representing the details of the generated token.
- generateAccountData(Random, Currency, BankIdentity) - Method in class api.mpba.rastvdmy.service.impl.BankAccountServiceImpl
-
Generates and saves a new bank account with random data for the specified bank identity.
- generateAccountNumber() - Method in class api.mpba.rastvdmy.service.generator.FinancialDataGenerator
-
Generates a random 10-digit account number.
- generateBankNumber() - Method in class api.mpba.rastvdmy.service.generator.FinancialDataGenerator
-
Generates a random 4-digit bank number.
- generateCard(String, String, String, BankAccount) - Method in class api.mpba.rastvdmy.service.impl.CardServiceImpl
-
Generates and encrypts a new card with the provided details.
- generateCardNumber() - Method in class api.mpba.rastvdmy.service.generator.FinancialDataGenerator
-
Generates a random 16-digit card number.
- generateCvv() - Method in class api.mpba.rastvdmy.service.generator.FinancialDataGenerator
-
Generates a random 3-digit CVV.
- generateIban() - Method in class api.mpba.rastvdmy.service.generator.FinancialDataGenerator
-
Generates a random IBAN, which consists of a country code, a check digit, a bank identifier, and a random account number.
- generateIv() - Static method in class api.mpba.rastvdmy.config.utils.EncryptionUtil
-
Generates a random Initialization Vector (IV) of 16 bytes for AES encryption.
- generateKey() - Static method in class api.mpba.rastvdmy.config.utils.EncryptionUtil
-
Generates a new AES secret key with a key size of 256 bits.
- generatePin() - Method in class api.mpba.rastvdmy.service.generator.FinancialDataGenerator
-
Generates a random 4-digit PIN.
- generateSwift() - Method in class api.mpba.rastvdmy.service.generator.FinancialDataGenerator
-
Generates a random SWIFT code consisting of eight uppercase letters.
- generateToken(UserProfile) - Method in class api.mpba.rastvdmy.service.impl.UserProfileServiceImpl
-
Generates an access token for the user profile.
- generateToken(UserProfile) - Method in interface api.mpba.rastvdmy.service.UserProfileService
-
Generates an authentication token for the specified user profile.
- generateToken(UserDetails) - Method in class api.mpba.rastvdmy.service.impl.JwtServiceImpl
-
Generates a JWT token for the given user details.
- generateToken(UserDetails) - Method in interface api.mpba.rastvdmy.service.JwtService
-
Generates a new JWT token for the specified user details.
- getAccountById(HttpServletRequest, String, UUID, String) - Method in class api.mpba.rastvdmy.controller.BankAccountController
-
Retrieves a specific bank account by its ID.
- getAccountById(HttpServletRequest, String, UUID, String) - Method in interface api.mpba.rastvdmy.service.BankAccountService
-
Retrieves a specific bank account by its ID.
- getAccountById(HttpServletRequest, String, UUID, String) - Method in class api.mpba.rastvdmy.service.impl.BankAccountServiceImpl
-
Retrieves a specific bank account by its ID for the user identified by the request and bank name.
- getAccountCardById(String, UUID, UUID, HttpServletRequest, String) - Method in interface api.mpba.rastvdmy.service.CardService
-
Retrieves a specific card associated with a bank account by its unique identifier.
- getAccountCardById(String, UUID, UUID, HttpServletRequest, String) - Method in class api.mpba.rastvdmy.service.impl.CardServiceImpl
-
Retrieves a specific card associated with a bank account by card ID.
- getAccountCardById(String, UUID, UUID, String, HttpServletRequest) - Method in class api.mpba.rastvdmy.controller.CardController
-
Retrieves a specific card by its ID.
- getAccountCards(String, UUID, HttpServletRequest) - Method in class api.mpba.rastvdmy.controller.CardController
-
Retrieves all cards associated with a specific bank account.
- getAccountCards(String, UUID, HttpServletRequest) - Method in interface api.mpba.rastvdmy.service.CardService
-
Retrieves a list of cards associated with a specific bank account.
- getAccountCards(String, UUID, HttpServletRequest) - Method in class api.mpba.rastvdmy.service.impl.CardServiceImpl
-
Retrieves all cards associated with a specific bank account.
- getAllPayments(HttpServletRequest, String, UUID) - Method in class api.mpba.rastvdmy.service.impl.PaymentServiceImpl
-
Retrieves all payments associated with a given bank account or card.
- getAllPayments(HttpServletRequest, String, UUID) - Method in interface api.mpba.rastvdmy.service.PaymentService
-
Retrieves all payments associated with a specific bank account.
- getAllPayments(HttpServletRequest, UUID, String) - Method in class api.mpba.rastvdmy.controller.PaymentController
-
Retrieves all payments associated with the specified account.
- getAuthorities() - Method in class api.mpba.rastvdmy.entity.UserProfile
-
Returns the authorities granted to the user.
- getBankByName(HttpServletRequest, String) - Method in class api.mpba.rastvdmy.controller.BankIdentityController
-
Retrieves a specific bank identity by its name.
- getBankByName(HttpServletRequest, String) - Method in interface api.mpba.rastvdmy.service.BankIdentityService
-
Retrieves a bank identity by its name.
- getBankByName(HttpServletRequest, String) - Method in class api.mpba.rastvdmy.service.impl.BankIdentityServiceImpl
-
Retrieves a specific bank identity by name for the user identified by the request.
- getBanks(HttpServletRequest) - Method in class api.mpba.rastvdmy.controller.BankIdentityController
-
Retrieves all bank identities.
- getBanks(HttpServletRequest) - Method in interface api.mpba.rastvdmy.service.BankIdentityService
-
Retrieves a list of bank identities associated with the user.
- getBanks(HttpServletRequest) - Method in class api.mpba.rastvdmy.service.impl.BankIdentityServiceImpl
-
Retrieves a list of bank identities associated with the user identified by the request.
- getExpirationTime() - Method in class api.mpba.rastvdmy.service.impl.JwtServiceImpl
-
Retrieves the expiration time for the JWT token.
- getExpirationTime() - Method in interface api.mpba.rastvdmy.service.JwtService
-
Retrieves the expiration time for the JWT token in milliseconds.
- getMessage() - Method in exception class api.mpba.rastvdmy.exception.ApplicationException
-
Returns the message of the exception.
- getMessages() - Method in class api.mpba.rastvdmy.controller.MessageController
-
Retrieves a list of messages.
- getMessages() - Method in class api.mpba.rastvdmy.service.impl.MessageServiceImpl
-
Retrieves all messages, decrypting their content before returning.
- getMessages() - Method in interface api.mpba.rastvdmy.service.MessageService
-
Retrieves all messages.
- getPassword() - Method in class api.mpba.rastvdmy.entity.UserProfile
-
Returns the password used for authentication.
- getPaymentById(HttpServletRequest, String, UUID, UUID) - Method in class api.mpba.rastvdmy.controller.PaymentController
-
Retrieves a specific payment by its ID.
- getPaymentById(HttpServletRequest, String, UUID, UUID) - Method in class api.mpba.rastvdmy.service.impl.PaymentServiceImpl
-
Retrieves a specific payment by its ID.
- getPaymentById(HttpServletRequest, String, UUID, UUID) - Method in interface api.mpba.rastvdmy.service.PaymentService
-
Retrieves a specific payment by its unique identifier.
- getRandomCardType() - Static method in enum class api.mpba.rastvdmy.entity.enums.CardType
-
Returns a random CardType.
- getRandomCategory() - Static method in enum class api.mpba.rastvdmy.service.impl.PurchaseCategory
-
Returns a random purchase category from the enum.
- getRandomCurrency() - Static method in enum class api.mpba.rastvdmy.entity.enums.Currency
-
Returns a random Currency.
- getRandomExpirationDate(LocalDate) - Static method in class api.mpba.rastvdmy.service.generator.FinancialDataGenerator
-
Generates a random expiration date for a financial product, ensuring that the expiration date is at least 2 years after the given start date and at most 5 years after the start date.
- getRandomStartDate() - Static method in class api.mpba.rastvdmy.service.generator.FinancialDataGenerator
-
Generates a random start date within the last 3 years.
- getRandomStatus() - Static method in enum class api.mpba.rastvdmy.entity.enums.CardStatus
-
Returns a random CardStatus.
- getTotalBalance(HttpServletRequest) - Method in class api.mpba.rastvdmy.controller.BankAccountController
-
Retrieves the total balances for all bank accounts associated with the current user.
- getTotalBalance(HttpServletRequest) - Method in interface api.mpba.rastvdmy.service.BankAccountService
-
Calculates the total balance for all bank accounts associated with the user.
- getTotalBalance(HttpServletRequest) - Method in class api.mpba.rastvdmy.service.impl.BankAccountServiceImpl
-
Retrieves the total balance across all bank accounts associated with the user.
- getUser(HttpServletRequest) - Method in class api.mpba.rastvdmy.controller.UserProfileController
-
Retrieves the profile of the currently authenticated user.
- getUser(HttpServletRequest) - Method in class api.mpba.rastvdmy.service.impl.UserProfileServiceImpl
-
Retrieves a user profile based on the authenticated user.
- getUser(HttpServletRequest) - Method in interface api.mpba.rastvdmy.service.UserProfileService
-
Retrieves the user profile of the currently authenticated user.
- getUserAccounts(HttpServletRequest, String) - Method in class api.mpba.rastvdmy.controller.BankAccountController
-
Retrieves all bank accounts for the current user associated with a specific bank.
- getUserAccounts(HttpServletRequest, String) - Method in interface api.mpba.rastvdmy.service.BankAccountService
-
Retrieves a list of bank accounts associated with the specified bank for the user.
- getUserAccounts(HttpServletRequest, String) - Method in class api.mpba.rastvdmy.service.impl.BankAccountServiceImpl
-
Retrieves a list of bank accounts associated with the specified bank for the user identified by the request.
- getUserById(HttpServletRequest, UUID) - Method in class api.mpba.rastvdmy.controller.UserProfileController
-
Retrieves a user profile by user ID.
- getUserById(HttpServletRequest, UUID) - Method in class api.mpba.rastvdmy.service.impl.UserProfileServiceImpl
-
Retrieves a user profile by its unique ID.
- getUserById(HttpServletRequest, UUID) - Method in interface api.mpba.rastvdmy.service.UserProfileService
-
Retrieves a user profile by its unique identifier.
- getUserData(HttpServletRequest) - Method in class api.mpba.rastvdmy.service.impl.TokenVerifierServiceImpl
-
Retrieves the user data for the user identified by the request.
- getUserData(HttpServletRequest) - Method in interface api.mpba.rastvdmy.service.TokenVerifierService
-
Retrieves the user data for the user identified by the request.
- getUsername() - Method in class api.mpba.rastvdmy.entity.UserProfile
-
Returns the username used for authentication.
- getUsers(HttpServletRequest) - Method in class api.mpba.rastvdmy.controller.UserProfileController
-
Retrieves all user profiles.
- getUsers(HttpServletRequest) - Method in class api.mpba.rastvdmy.service.impl.UserProfileServiceImpl
-
Retrieves all user profiles with decrypted data.
- getUsers(HttpServletRequest) - Method in interface api.mpba.rastvdmy.service.UserProfileService
-
Retrieves a list of all user profiles.
- GROCERIES - Enum constant in enum class api.mpba.rastvdmy.service.impl.PurchaseCategory
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form