Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- authManager(AuthenticationConfiguration) - Method in class com.glowmart.shop_management.security.SecurityConfig
- AuthResponse - Class in com.glowmart.shop_management.security
- AuthResponse() - Constructor for class com.glowmart.shop_management.security.AuthResponse
- AuthResponse(String, String, String, String) - Constructor for class com.glowmart.shop_management.security.AuthResponse
B
- BASE_PATH - Static variable in class com.glowmart.shop_management.api.CategoryAPI
-
The base path for all category-related API endpoints.
- BASE_PATH - Static variable in class com.glowmart.shop_management.api.ProductAPI
-
The base path for all product-related API endpoints.
- BASE_PATH - Static variable in class com.glowmart.shop_management.api.UserAPI
-
The base path for all user-related API endpoints.
C
- calculateDiscountAmount(Double, Double) - Static method in class com.glowmart.shop_management.common.CommonFunction
-
Calculates the discount amount based on the original price and discount percentage.
- Cart - Class in com.glowmart.shop_management.entity
-
Represents a shopping cart entity in the system.
- Cart() - Constructor for class com.glowmart.shop_management.entity.Cart
- CartConverter - Class in com.glowmart.shop_management.converter
- CartConverter() - Constructor for class com.glowmart.shop_management.converter.CartConverter
- CartDto - Class in com.glowmart.shop_management.dto
-
Data Transfer Object (DTO) for the Cart entity.
- CartDto() - Constructor for class com.glowmart.shop_management.dto.CartDto
- CartItem - Class in com.glowmart.shop_management.entity
-
Represents an item in a shopping cart.
- CartItem() - Constructor for class com.glowmart.shop_management.entity.CartItem
- CartItemConverter - Class in com.glowmart.shop_management.converter
-
Utility class for converting between
CartItemandCartItemDto. - CartItemConverter() - Constructor for class com.glowmart.shop_management.converter.CartItemConverter
- CartItemDto - Class in com.glowmart.shop_management.dto
-
Data Transfer Object (DTO) for the CartItem entity.
- CartItemDto() - Constructor for class com.glowmart.shop_management.dto.CartItemDto
- Category - Class in com.glowmart.shop_management.entity
-
Represents a category in the shopping system.
- Category() - Constructor for class com.glowmart.shop_management.entity.Category
- CATEGORY_BY_CREATED_AT - Static variable in class com.glowmart.shop_management.api.CategoryAPI
-
The path for retrieving categories by their creation date.
- CATEGORY_BY_ID - Static variable in class com.glowmart.shop_management.api.CategoryAPI
-
The path for retrieving a category by its unique identifier.
- CATEGORY_BY_NAME - Static variable in class com.glowmart.shop_management.api.CategoryAPI
-
The path for retrieving a category by its name.
- CATEGORY_BY_UPDATED_AT - Static variable in class com.glowmart.shop_management.api.CategoryAPI
-
The path for retrieving categories by their last updated date.
- CATEGORY_CREATE - Static variable in class com.glowmart.shop_management.api.CategoryAPI
-
The path for creating a new category.
- CATEGORY_DELETE - Static variable in class com.glowmart.shop_management.api.CategoryAPI
-
The path for deleting a category.
- CATEGORY_LIST - Static variable in class com.glowmart.shop_management.api.CategoryAPI
-
The path for retrieving a list of all categories.
- CATEGORY_UPDATE - Static variable in class com.glowmart.shop_management.api.CategoryAPI
-
The path for updating an existing category.
- CategoryAPI - Class in com.glowmart.shop_management.api
-
A utility class that contains constants for API endpoint paths related to category operations.
- CategoryAPI() - Constructor for class com.glowmart.shop_management.api.CategoryAPI
- CategoryController - Class in com.glowmart.shop_management.controller
-
REST controller for managing category operations.
- CategoryController() - Constructor for class com.glowmart.shop_management.controller.CategoryController
- CategoryConverter - Class in com.glowmart.shop_management.converter
-
Utility class for converting between
CategoryandCategoryDto. - CategoryConverter() - Constructor for class com.glowmart.shop_management.converter.CategoryConverter
- CategoryDto - Class in com.glowmart.shop_management.dto
-
Data Transfer Object (DTO) for the Category entity.
- CategoryDto() - Constructor for class com.glowmart.shop_management.dto.CategoryDto
- CategoryRepository - Interface in com.glowmart.shop_management.repository
- CategoryService - Interface in com.glowmart.shop_management.service
- CategoryServiceImpl - Class in com.glowmart.shop_management.service.implementation
-
Implementation of
CategoryServicethat provides business logic for managingCategoryentities. - CategoryServiceImpl() - Constructor for class com.glowmart.shop_management.service.implementation.CategoryServiceImpl
- com.glowmart.shop_management - package com.glowmart.shop_management
- com.glowmart.shop_management.api - package com.glowmart.shop_management.api
- com.glowmart.shop_management.common - package com.glowmart.shop_management.common
- com.glowmart.shop_management.controller - package com.glowmart.shop_management.controller
- com.glowmart.shop_management.converter - package com.glowmart.shop_management.converter
- com.glowmart.shop_management.dto - package com.glowmart.shop_management.dto
- com.glowmart.shop_management.entity - package com.glowmart.shop_management.entity
- com.glowmart.shop_management.exception - package com.glowmart.shop_management.exception
- com.glowmart.shop_management.repository - package com.glowmart.shop_management.repository
- com.glowmart.shop_management.security - package com.glowmart.shop_management.security
- com.glowmart.shop_management.service - package com.glowmart.shop_management.service
- com.glowmart.shop_management.service.implementation - package com.glowmart.shop_management.service.implementation
- CommonFunction - Class in com.glowmart.shop_management.common
-
A utility class that provides common validation and helper functions used across the application.
- CommonFunction() - Constructor for class com.glowmart.shop_management.common.CommonFunction
- convertToCart(CartDto) - Static method in class com.glowmart.shop_management.converter.CartConverter
- convertToCartDto(Cart) - Static method in class com.glowmart.shop_management.converter.CartConverter
- convertToCartItem(CartItemDto) - Static method in class com.glowmart.shop_management.converter.CartItemConverter
-
Converts a
CartItemDtoobject to aCartItementity. - convertToCartItemDto(CartItem) - Static method in class com.glowmart.shop_management.converter.CartItemConverter
-
Converts a
CartItementity to aCartItemDto. - convertToCategory(CategoryDto) - Static method in class com.glowmart.shop_management.converter.CategoryConverter
-
Converts a
CategoryDtoobject to aCategoryentity. - convertToCategoryDto(Category) - Static method in class com.glowmart.shop_management.converter.CategoryConverter
-
Converts a
Categoryentity to aCategoryDto. - convertToOrders(OrdersDto) - Static method in class com.glowmart.shop_management.converter.OrdersConverter
- convertToOrdersDto(Orders) - Static method in class com.glowmart.shop_management.converter.OrdersConverter
- convertToOrdersItem(OrdersItemDto) - Static method in class com.glowmart.shop_management.converter.OrdersItemConverter
-
Converts an
OrdersItemDtoobject to anOrdersItementity. - convertToOrdersItemDto(OrdersItem) - Static method in class com.glowmart.shop_management.converter.OrdersItemConverter
-
Converts an
OrdersItementity to anOrdersItemDto. - convertToPaymentMethod(PaymentMethodDto) - Static method in class com.glowmart.shop_management.converter.PaymentMethodConverter
-
Converts a
PaymentMethodDtoobject to aPaymentMethodentity. - convertToPaymentMethodDto(PaymentMethod) - Static method in class com.glowmart.shop_management.converter.PaymentMethodConverter
-
Converts a
PaymentMethodentity to aPaymentMethodDto. - convertToProduct(ProductDto) - Static method in class com.glowmart.shop_management.converter.ProductConverter
-
Converts a
ProductDtoobject to aProductentity. - convertToProductDto(Product) - Static method in class com.glowmart.shop_management.converter.ProductConverter
-
Converts a
Productentity to aProductDto. - convertToRole(RoleDto) - Static method in class com.glowmart.shop_management.converter.RoleConverter
- convertToRoleDto(Role) - Static method in class com.glowmart.shop_management.converter.RoleConverter
- convertToTransactionLog(TransactionLogDto) - Static method in class com.glowmart.shop_management.converter.TransactionLogConverter
-
Converts a
TransactionLogDtoobject to aTransactionLogentity. - convertToTransactionLogDto(TransactionLog) - Static method in class com.glowmart.shop_management.converter.TransactionLogConverter
-
Converts a
TransactionLogentity to aTransactionLogDto. - convertToUser(UserDto) - Static method in class com.glowmart.shop_management.converter.UserConverter
- convertToUserDto(User) - Static method in class com.glowmart.shop_management.converter.UserConverter
- convertToWishList(WishListDto) - Static method in class com.glowmart.shop_management.converter.WishListConverter
-
Converts a
WishListDtoobject to aWishListentity. - convertToWishListDto(WishList) - Static method in class com.glowmart.shop_management.converter.WishListConverter
-
Converts a
WishListentity to aWishListDto. - countByInputRole(String) - Method in interface com.glowmart.shop_management.repository.RoleRepository
- countByInputRole(String) - Method in class com.glowmart.shop_management.service.implementation.RoleServiceImpl
-
Counts the number of roles that match the given input string.
- countByInputRole(String) - Method in interface com.glowmart.shop_management.service.RoleService
- createCategory(CategoryDto) - Method in class com.glowmart.shop_management.controller.CategoryController
-
Create a new category.
- createCategory(CategoryDto) - Method in interface com.glowmart.shop_management.service.CategoryService
- createCategory(CategoryDto) - Method in class com.glowmart.shop_management.service.implementation.CategoryServiceImpl
-
Creates a new category after validating its name and ensuring uniqueness.
- createFile(MultipartFile, ProductDto) - Static method in class com.glowmart.shop_management.common.CommonFunction
-
Creates and saves a file to the "uploads" directory.
- createProduct(String, boolean, String, MultipartFile) - Method in class com.glowmart.shop_management.controller.ProductController
-
Create a new product.
- createProduct(String, boolean, String, MultipartFile) - Method in class com.glowmart.shop_management.service.implementation.ProductServiceImpl
-
Creates a new product under the specified category.
- createProduct(String, boolean, String, MultipartFile) - Method in interface com.glowmart.shop_management.service.ProductService
- createUser(String, UserDto) - Method in class com.glowmart.shop_management.controller.UserController
-
Create or registeration a new user.
- createUser(String, UserDto) - Method in class com.glowmart.shop_management.service.implementation.UserServiceImpl
-
Creates a new user with the specified role.
- createUser(String, UserDto) - Method in interface com.glowmart.shop_management.service.UserService
- CustomUserDetails - Class in com.glowmart.shop_management.security
- CustomUserDetails(User) - Constructor for class com.glowmart.shop_management.security.CustomUserDetails
- CustomUserDetailsService - Class in com.glowmart.shop_management.security
- CustomUserDetailsService() - Constructor for class com.glowmart.shop_management.security.CustomUserDetailsService
D
- deleteByToken(String) - Method in interface com.glowmart.shop_management.repository.RefreshTokenRepository
- deleteCategoryById(String) - Method in class com.glowmart.shop_management.controller.CategoryController
-
Delete a category by its ID.
- deleteCategoryById(String) - Method in interface com.glowmart.shop_management.service.CategoryService
- deleteCategoryById(String) - Method in class com.glowmart.shop_management.service.implementation.CategoryServiceImpl
-
Deletes a category by its ID.
- deleteProductById(Long) - Method in class com.glowmart.shop_management.controller.ProductController
-
Delete a product by its ID.
- deleteProductById(Long) - Method in class com.glowmart.shop_management.service.implementation.ProductServiceImpl
-
Deletes a product by its ID.
- deleteProductById(Long) - Method in interface com.glowmart.shop_management.service.ProductService
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.glowmart.shop_management.security.JwtAuthenticationFilter
- DuplicateEmailException - Exception Class in com.glowmart.shop_management.exception
-
Exception thrown when attempting to register a user with an email that is already in use.
- DuplicateEmailException(String) - Constructor for exception class com.glowmart.shop_management.exception.DuplicateEmailException
-
Constructs a new DuplicateEmailException with the specified detail message.
- DuplicateException - Exception Class in com.glowmart.shop_management.exception
-
Exception thrown when a duplicate resource or entity is encountered.
- DuplicateException(String) - Constructor for exception class com.glowmart.shop_management.exception.DuplicateException
-
Constructs a new
DuplicateExceptionwith the specified detail message.
E
- existsCategoryByName(String) - Method in interface com.glowmart.shop_management.repository.CategoryRepository
- existsProductByName(String) - Method in interface com.glowmart.shop_management.repository.ProductRepository
- extract(String, Function<Claims, T>) - Method in class com.glowmart.shop_management.security.JwtUtil
- extractExpiration(String) - Method in class com.glowmart.shop_management.security.JwtUtil
- extractRoles(String) - Method in class com.glowmart.shop_management.security.JwtUtil
- extractUsername(String) - Method in class com.glowmart.shop_management.security.JwtUtil
F
- findByEmail(String) - Method in interface com.glowmart.shop_management.repository.UserRepository
- findByPhone(String) - Method in interface com.glowmart.shop_management.repository.UserRepository
- findByToken(String) - Method in interface com.glowmart.shop_management.repository.RefreshTokenRepository
- findNextPage(Long, Pageable) - Method in interface com.glowmart.shop_management.repository.UserRepository
- findRoleByInputRole(String) - Method in interface com.glowmart.shop_management.repository.RoleRepository
- findRoleByInputRole(String) - Method in class com.glowmart.shop_management.service.implementation.RoleServiceImpl
-
Finds a role by its input string and converts it to a
RoleDto. - findRoleByInputRole(String) - Method in interface com.glowmart.shop_management.service.RoleService
- findUserByEmail(String) - Method in interface com.glowmart.shop_management.repository.UserRepository
- findUserByEmail(String) - Method in class com.glowmart.shop_management.service.implementation.UserServiceImpl
-
Finds a user by their email address.
- findUserByEmail(String) - Method in interface com.glowmart.shop_management.service.UserService
- findUserById(String) - Method in class com.glowmart.shop_management.service.implementation.UserServiceImpl
-
Retrieves a user by their unique ID and converts the result to a
UserDto. - findUserById(String) - Method in interface com.glowmart.shop_management.service.UserService
- findUsersAfterId(Long, int) - Method in class com.glowmart.shop_management.service.implementation.UserServiceImpl
-
Retrieves a paginated list of users after a given ID.
- findUsersAfterId(Long, int) - Method in interface com.glowmart.shop_management.service.UserService
G
- generateAccessToken(UserDetails) - Method in class com.glowmart.shop_management.security.JwtUtil
- generateRefreshToken(UserDetails) - Method in class com.glowmart.shop_management.security.JwtUtil
- generateToken(UserDetails, long) - Method in class com.glowmart.shop_management.security.JwtUtil
- getAccessToken() - Method in class com.glowmart.shop_management.security.AuthResponse
- getAllCategory() - Method in class com.glowmart.shop_management.controller.CategoryController
-
Retrieve all categories.
- getAllCategory() - Method in interface com.glowmart.shop_management.service.CategoryService
- getAllCategory() - Method in class com.glowmart.shop_management.service.implementation.CategoryServiceImpl
-
Retrieves all categories from the repository.
- getAuthorities() - Method in class com.glowmart.shop_management.security.CustomUserDetails
- getCategoryById(String) - Method in class com.glowmart.shop_management.controller.CategoryController
-
Retrieve a category by its ID.
- getCategoryById(String) - Method in interface com.glowmart.shop_management.service.CategoryService
- getCategoryById(String) - Method in class com.glowmart.shop_management.service.implementation.CategoryServiceImpl
-
Retrieves a category by its ID.
- getCategoryByName(String) - Method in class com.glowmart.shop_management.controller.CategoryController
-
Retrieve a category by its name.
- getCategoryByName(String) - Method in interface com.glowmart.shop_management.repository.CategoryRepository
- getCategoryByName(String) - Method in interface com.glowmart.shop_management.service.CategoryService
- getCategoryByName(String) - Method in class com.glowmart.shop_management.service.implementation.CategoryServiceImpl
-
Retrieves a category by its name.
- getMessage() - Method in class com.glowmart.shop_management.security.AuthResponse
- getPassword() - Method in class com.glowmart.shop_management.security.CustomUserDetails
- getProductById(String) - Method in class com.glowmart.shop_management.controller.ProductController
-
Retrieve a product by its ID.
- getProductById(String) - Method in class com.glowmart.shop_management.service.implementation.ProductServiceImpl
-
Retrieves a product by its ID.
- getProductById(String) - Method in interface com.glowmart.shop_management.service.ProductService
- getProductByName(String) - Method in class com.glowmart.shop_management.service.implementation.ProductServiceImpl
-
Retrieves a product by its name.
- getProductByName(String) - Method in interface com.glowmart.shop_management.service.ProductService
- getRefreshToken() - Method in class com.glowmart.shop_management.security.AuthResponse
- getUsername() - Method in class com.glowmart.shop_management.security.CustomUserDetails
- getUserName() - Method in class com.glowmart.shop_management.security.AuthResponse
- getUsersKeyset(Long, int) - Method in class com.glowmart.shop_management.controller.UserController
-
Retrieves a paginated list of users using keyset pagination.
- GlobalExceptionHandler - Class in com.glowmart.shop_management.exception
-
Global exception handler for handling custom exceptions across the application.
- GlobalExceptionHandler() - Constructor for class com.glowmart.shop_management.exception.GlobalExceptionHandler
H
- handleDuplicateEmailException(DuplicateEmailException) - Method in class com.glowmart.shop_management.exception.GlobalExceptionHandler
-
Handles
DuplicateEmailExceptionand returns a response with a 409 Conflict status. - handleNotFoundRoleException(NotFoundException) - Method in class com.glowmart.shop_management.exception.GlobalExceptionHandler
-
Handles
NotFoundExceptionand returns a response with a 404 Not Found status. - handleNotValidNameException(NotValidException) - Method in class com.glowmart.shop_management.exception.GlobalExceptionHandler
-
Handles
NotValidExceptionand returns a response with a 400 Bad Request status.
I
- invalidateToken(String) - Method in interface com.glowmart.shop_management.security.RefreshTokenService
- invalidateToken(String) - Method in class com.glowmart.shop_management.security.RefreshTokenServiceImpl
- isAccountNonExpired() - Method in class com.glowmart.shop_management.security.CustomUserDetails
- isAccountNonLocked() - Method in class com.glowmart.shop_management.security.CustomUserDetails
- isCredentialsNonExpired() - Method in class com.glowmart.shop_management.security.CustomUserDetails
- isEnabled() - Method in class com.glowmart.shop_management.security.CustomUserDetails
- isExpired(String) - Method in class com.glowmart.shop_management.security.JwtUtil
- isValidId(String) - Static method in class com.glowmart.shop_management.common.CommonFunction
-
Validates an ID string.
- isValidName(String) - Static method in class com.glowmart.shop_management.common.CommonFunction
-
Validates a name string.
- isValidPriceAndDiscount(Double, Double) - Static method in class com.glowmart.shop_management.common.CommonFunction
-
Validates product price and discount percentage.
J
- JwtAuthenticationFilter - Class in com.glowmart.shop_management.security
- JwtAuthenticationFilter() - Constructor for class com.glowmart.shop_management.security.JwtAuthenticationFilter
- JwtUtil - Class in com.glowmart.shop_management.security
- JwtUtil() - Constructor for class com.glowmart.shop_management.security.JwtUtil
L
- loadUserByUsername(String) - Method in class com.glowmart.shop_management.security.CustomUserDetailsService
- login(String, String) - Method in class com.glowmart.shop_management.controller.UserController
-
Login a user.
- logout(String) - Method in class com.glowmart.shop_management.controller.UserController
-
Log out a user by invalidating their refresh token.
M
- main(String[]) - Static method in class com.glowmart.shop_management.ShopManagementApplication
-
Main method that launches the Spring Boot application.
N
- NotFoundException - Exception Class in com.glowmart.shop_management.exception
-
Exception thrown when a requested role is not found in the system.
- NotFoundException(String) - Constructor for exception class com.glowmart.shop_management.exception.NotFoundException
-
Constructs a new NotFoundRoleException with the specified detail message.
- NotValidException - Exception Class in com.glowmart.shop_management.exception
-
Exception thrown when a provided input value is not valid.
- NotValidException(String) - Constructor for exception class com.glowmart.shop_management.exception.NotValidException
-
Constructs a new
NotValidExceptionwith the specified detail message.
O
- Orders - Class in com.glowmart.shop_management.entity
-
Represents an order placed by a user in the shopping system.
- Orders() - Constructor for class com.glowmart.shop_management.entity.Orders
- OrdersConverter - Class in com.glowmart.shop_management.converter
- OrdersConverter() - Constructor for class com.glowmart.shop_management.converter.OrdersConverter
- OrdersDto - Class in com.glowmart.shop_management.dto
-
Data Transfer Object (DTO) for the Orders entity.
- OrdersDto() - Constructor for class com.glowmart.shop_management.dto.OrdersDto
- OrdersItem - Class in com.glowmart.shop_management.entity
-
Represents an item in an order within the shopping system.
- OrdersItem() - Constructor for class com.glowmart.shop_management.entity.OrdersItem
- OrdersItemConverter - Class in com.glowmart.shop_management.converter
-
Utility class for converting between
OrdersItemandOrdersItemDto. - OrdersItemConverter() - Constructor for class com.glowmart.shop_management.converter.OrdersItemConverter
- OrdersItemDto - Class in com.glowmart.shop_management.dto
-
Data Transfer Object (DTO) for the OrderItem entity.
- OrdersItemDto() - Constructor for class com.glowmart.shop_management.dto.OrdersItemDto
P
- passwordEncoder() - Method in class com.glowmart.shop_management.security.SecurityConfig
- PaymentMethod - Class in com.glowmart.shop_management.entity
-
Represents a payment method in the shopping system.
- PaymentMethod() - Constructor for class com.glowmart.shop_management.entity.PaymentMethod
- PaymentMethodConverter - Class in com.glowmart.shop_management.converter
-
Utility class for converting between
PaymentMethodandPaymentMethodDto. - PaymentMethodConverter() - Constructor for class com.glowmart.shop_management.converter.PaymentMethodConverter
- PaymentMethodDto - Class in com.glowmart.shop_management.dto
-
Data Transfer Object (DTO) for the Payment Method entity.
- PaymentMethodDto() - Constructor for class com.glowmart.shop_management.dto.PaymentMethodDto
- Permission - Class in com.glowmart.shop_management.entity
-
Represents a permission entity in the system.
- Permission() - Constructor for class com.glowmart.shop_management.entity.Permission
- PermissionDto - Class in com.glowmart.shop_management.dto
-
Data transfer object (DTO) for a Permission.
- PermissionDto() - Constructor for class com.glowmart.shop_management.dto.PermissionDto
- PermissionRepository - Interface in com.glowmart.shop_management.repository
- Product - Class in com.glowmart.shop_management.entity
-
Represents a product in the shopping system.
- Product() - Constructor for class com.glowmart.shop_management.entity.Product
- PRODUCT_BY_ID - Static variable in class com.glowmart.shop_management.api.ProductAPI
-
The path for retrieving a product by its unique identifier.
- PRODUCT_CREATE - Static variable in class com.glowmart.shop_management.api.ProductAPI
-
The path for creating a new product.
- PRODUCT_DELETE - Static variable in class com.glowmart.shop_management.api.ProductAPI
-
The path for deleting a product.
- PRODUCT_UPDATE - Static variable in class com.glowmart.shop_management.api.ProductAPI
-
The path for updating an existing product.
- ProductAPI - Class in com.glowmart.shop_management.api
-
A utility class that contains constants for API endpoint paths related to product operations.
- ProductAPI() - Constructor for class com.glowmart.shop_management.api.ProductAPI
- ProductController - Class in com.glowmart.shop_management.controller
-
REST controller for managing product operations.
- ProductController() - Constructor for class com.glowmart.shop_management.controller.ProductController
- ProductConverter - Class in com.glowmart.shop_management.converter
-
Utility class for converting between
ProductandProductDto. - ProductConverter() - Constructor for class com.glowmart.shop_management.converter.ProductConverter
- ProductDto - Class in com.glowmart.shop_management.dto
-
Data Transfer Object (DTO) for the Product entity.
- ProductDto() - Constructor for class com.glowmart.shop_management.dto.ProductDto
- ProductRepository - Interface in com.glowmart.shop_management.repository
- ProductService - Interface in com.glowmart.shop_management.service
- ProductServiceImpl - Class in com.glowmart.shop_management.service.implementation
-
Implementation of
ProductServicethat provides business logic for managingProductentities. - ProductServiceImpl() - Constructor for class com.glowmart.shop_management.service.implementation.ProductServiceImpl
R
- refresh(String) - Method in class com.glowmart.shop_management.controller.UserController
-
Refresh the user's access token using a valid refresh token.
- REFRESH_TOKEN - Static variable in class com.glowmart.shop_management.api.UserAPI
-
The path for the refresh token endpoint.
- RefreshToken - Class in com.glowmart.shop_management.entity
-
Represents a refresh token in the authentication system.
- RefreshToken() - Constructor for class com.glowmart.shop_management.entity.RefreshToken
- RefreshTokenRepository - Interface in com.glowmart.shop_management.repository
- RefreshTokenService - Interface in com.glowmart.shop_management.security
- RefreshTokenServiceImpl - Class in com.glowmart.shop_management.security
- RefreshTokenServiceImpl() - Constructor for class com.glowmart.shop_management.security.RefreshTokenServiceImpl
- Role - Class in com.glowmart.shop_management.entity
-
Represents a role entity in the system.
- Role() - Constructor for class com.glowmart.shop_management.entity.Role
- RoleConverter - Class in com.glowmart.shop_management.converter
- RoleConverter() - Constructor for class com.glowmart.shop_management.converter.RoleConverter
- RoleDto - Class in com.glowmart.shop_management.dto
-
Data transfer object (DTO) for a Role.
- RoleDto() - Constructor for class com.glowmart.shop_management.dto.RoleDto
- RoleRepository - Interface in com.glowmart.shop_management.repository
- RoleService - Interface in com.glowmart.shop_management.service
- RoleServiceImpl - Class in com.glowmart.shop_management.service.implementation
-
Implementation of
RoleServicethat provides business logic for managing roles within the application. - RoleServiceImpl() - Constructor for class com.glowmart.shop_management.service.implementation.RoleServiceImpl
S
- SecurityConfig - Class in com.glowmart.shop_management.security
- SecurityConfig(CustomUserDetailsService, JwtAuthenticationFilter) - Constructor for class com.glowmart.shop_management.security.SecurityConfig
- securityFilterChain(HttpSecurity) - Method in class com.glowmart.shop_management.security.SecurityConfig
- setAccessToken(String) - Method in class com.glowmart.shop_management.security.AuthResponse
- setMessage(String) - Method in class com.glowmart.shop_management.security.AuthResponse
- setRefreshToken(String) - Method in class com.glowmart.shop_management.security.AuthResponse
- setUserName(String) - Method in class com.glowmart.shop_management.security.AuthResponse
- ShopManagementApplication - Class in com.glowmart.shop_management
-
Entry point for the GlowMart Shop Management application.
- ShopManagementApplication() - Constructor for class com.glowmart.shop_management.ShopManagementApplication
- storeToken(String, String) - Method in interface com.glowmart.shop_management.security.RefreshTokenService
- storeToken(String, String) - Method in class com.glowmart.shop_management.security.RefreshTokenServiceImpl
T
- TransactionLog - Class in com.glowmart.shop_management.entity
-
Represents a transaction log in the shopping system.
- TransactionLog() - Constructor for class com.glowmart.shop_management.entity.TransactionLog
- TransactionLogConverter - Class in com.glowmart.shop_management.converter
-
Utility class for converting between
TransactionLogandTransactionLogDto. - TransactionLogConverter() - Constructor for class com.glowmart.shop_management.converter.TransactionLogConverter
- TransactionLogDto - Class in com.glowmart.shop_management.dto
-
Data Transfer Object (DTO) for the TransactionLog entity.
- TransactionLogDto() - Constructor for class com.glowmart.shop_management.dto.TransactionLogDto
U
- updateCategoryById(String, CategoryDto) - Method in class com.glowmart.shop_management.controller.CategoryController
-
Update an existing category by its ID.
- updateCategoryById(String, CategoryDto) - Method in interface com.glowmart.shop_management.service.CategoryService
- updateCategoryById(String, CategoryDto) - Method in class com.glowmart.shop_management.service.implementation.CategoryServiceImpl
-
Updates an existing category by its ID.
- updateLoginTime(String) - Method in interface com.glowmart.shop_management.repository.UserRepository
- updateLoginTime(String) - Method in class com.glowmart.shop_management.service.implementation.UserServiceImpl
-
Updates the login time of a user identified by their email.
- updateLoginTime(String) - Method in interface com.glowmart.shop_management.service.UserService
- updateProductById(String, String, boolean, MultipartFile, String) - Method in class com.glowmart.shop_management.controller.ProductController
-
Update an existing product by its ID.
- updateProductById(String, MultipartFile, String, String, boolean) - Method in class com.glowmart.shop_management.service.implementation.ProductServiceImpl
-
Updates an existing product by its ID.
- updateProductById(String, MultipartFile, String, String, boolean) - Method in interface com.glowmart.shop_management.service.ProductService
- updateUserById(String, String, String, String) - Method in class com.glowmart.shop_management.controller.UserController
-
Updates the information of a user account identified by the given ID.
- updateUserById(String, String, String, String) - Method in class com.glowmart.shop_management.service.implementation.UserServiceImpl
-
Updates the user information for the specified user ID.
- updateUserById(String, String, String, String) - Method in interface com.glowmart.shop_management.service.UserService
- User - Class in com.glowmart.shop_management.entity
-
Represents a user entity in the system.
- User() - Constructor for class com.glowmart.shop_management.entity.User
- USER_LIST - Static variable in class com.glowmart.shop_management.api.UserAPI
-
The path for the user list retrieval endpoint.
- USER_LOGIN - Static variable in class com.glowmart.shop_management.api.UserAPI
-
The path for the user login endpoint.
- USER_LOGOUT - Static variable in class com.glowmart.shop_management.api.UserAPI
-
The path for the user logout endpoint.
- USER_SIGN_UP - Static variable in class com.glowmart.shop_management.api.UserAPI
-
The path for the user sign-up endpoint.
- USER_UPDATE - Static variable in class com.glowmart.shop_management.api.UserAPI
-
The path for the user update endpoint.
- UserAPI - Class in com.glowmart.shop_management.api
-
A utility class that contains constants for API endpoint paths related to user operations.
- UserAPI() - Constructor for class com.glowmart.shop_management.api.UserAPI
- UserController - Class in com.glowmart.shop_management.controller
-
REST controller for managing user operations.
- UserController() - Constructor for class com.glowmart.shop_management.controller.UserController
- UserConverter - Class in com.glowmart.shop_management.converter
- UserConverter() - Constructor for class com.glowmart.shop_management.converter.UserConverter
- UserDto - Class in com.glowmart.shop_management.dto
-
Data transfer object (DTO) for a User.
- UserDto() - Constructor for class com.glowmart.shop_management.dto.UserDto
- userExistsByEmail(String) - Method in interface com.glowmart.shop_management.repository.UserRepository
- userExistsByEmail(String) - Method in class com.glowmart.shop_management.service.implementation.UserServiceImpl
-
Checks whether a user exists with the given email.
- userExistsByEmail(String) - Method in interface com.glowmart.shop_management.service.UserService
- UserRepository - Interface in com.glowmart.shop_management.repository
- UserService - Interface in com.glowmart.shop_management.service
- UserServiceImpl - Class in com.glowmart.shop_management.service.implementation
-
Implementation of
UserServicethat provides business logic for managingUserentities. - UserServiceImpl() - Constructor for class com.glowmart.shop_management.service.implementation.UserServiceImpl
V
- validateToken(String) - Method in interface com.glowmart.shop_management.security.RefreshTokenService
- validateToken(String) - Method in class com.glowmart.shop_management.security.RefreshTokenServiceImpl
W
- WishList - Class in com.glowmart.shop_management.entity
-
Represents a wishlist in the shopping system.
- WishList() - Constructor for class com.glowmart.shop_management.entity.WishList
- WishListConverter - Class in com.glowmart.shop_management.converter
-
Utility class for converting between
WishListandWishListDto. - WishListConverter() - Constructor for class com.glowmart.shop_management.converter.WishListConverter
- WishListDto - Class in com.glowmart.shop_management.dto
-
Data Transfer Object (DTO) for the WishList entity.
- WishListDto() - Constructor for class com.glowmart.shop_management.dto.WishListDto
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form