Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addCategory(CategoryBO, String) - Method in class com.mt.ecommerce.product.service.CategoryService
-
Adds a new category.
- addCategory(CategoryBO, UserDetails) - Method in class com.mt.ecommerce.product.controller.CategoryController
-
Endpoint to add a new category.
- addNewUser(UserInfo) - Method in class com.mt.ecommerce.product.controller.AuthController
-
Endpoint to register a new user.
- addOrder(OrderBO, UUID, String) - Method in class com.mt.ecommerce.product.service.OrderService
-
Adds a new order.
- addOrder(UUID, OrderBO, UserDetails) - Method in class com.mt.ecommerce.product.controller.OrderController
-
Endpoint to add a new order.
- addUser(UserInfo) - Method in class com.mt.ecommerce.product.service.UserInfoService
-
Adds a new user to the system.
- addVendor(Store) - Method in class com.mt.ecommerce.product.controller.AuthController
-
Endpoint to register a new vendor user along with their store information.
- addVendorUser(Store) - Method in class com.mt.ecommerce.product.service.UserInfoService
-
Adds a vendor user to the system.
- AppConfig - Class in com.mt.ecommerce.product.config
-
Application configuration class for defining beans and other configurations.
- AppConfig() - Constructor for class com.mt.ecommerce.product.config.AppConfig
- AuthController - Class in com.mt.ecommerce.product.controller
-
Controller for handling authentication and user management.
- AuthController(UserInfoService, JwtService, AuthenticationManager) - Constructor for class com.mt.ecommerce.product.controller.AuthController
- authenticateAndGetToken(AuthRequest) - Method in class com.mt.ecommerce.product.controller.AuthController
-
Endpoint to authenticate a user and generate a JWT token.
- authenticateAndGetToken(UserDetails) - Method in class com.mt.ecommerce.product.controller.UserController
-
Endpoint to fetch the store information associated with the authenticated vendor user.
- authenticateAndGetTokenForVendor(AuthRequest) - Method in class com.mt.ecommerce.product.controller.AuthController
-
Endpoint to authenticate a vendor user and generate a JWT token.
- authenticationManager(AuthenticationConfiguration) - Method in class com.mt.ecommerce.product.config.SecurityConfig
- authenticationProvider() - Method in class com.mt.ecommerce.product.config.SecurityConfig
- AuthRequest - Class in com.mt.ecommerce.product.model
-
Represents an authentication request containing username and password.
- AuthRequest() - Constructor for class com.mt.ecommerce.product.model.AuthRequest
C
- Category - Class in com.mt.ecommerce.product.entity
- Category() - Constructor for class com.mt.ecommerce.product.entity.Category
- CategoryBO - Class in com.mt.ecommerce.product.model
-
Represents a category in the e-commerce system.
- CategoryBO() - Constructor for class com.mt.ecommerce.product.model.CategoryBO
- CategoryController - Class in com.mt.ecommerce.product.controller
-
Controller for managing product categories.
- CategoryController(CategoryService) - Constructor for class com.mt.ecommerce.product.controller.CategoryController
- CategoryNotFoundException - Exception Class in com.mt.ecommerce.product.exception
-
Exception thrown when a requested category is not found.
- CategoryNotFoundException(String) - Constructor for exception class com.mt.ecommerce.product.exception.CategoryNotFoundException
-
Constructs a new CategoryNotFoundException with the specified detail message.
- CategoryNotFoundException(String, Throwable) - Constructor for exception class com.mt.ecommerce.product.exception.CategoryNotFoundException
-
Constructs a new CategoryNotFoundException with the specified detail message and cause.
- CategoryRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing Category entities with pagination and sorting capabilities.
- CategoryService - Class in com.mt.ecommerce.product.service
-
Service class for managing product categories.
- CategoryService(CategoryRepository, ImageCategoryRepository, ImageRepository) - Constructor for class com.mt.ecommerce.product.service.CategoryService
- com.mt.ecommerce.product - package com.mt.ecommerce.product
- com.mt.ecommerce.product.config - package com.mt.ecommerce.product.config
- com.mt.ecommerce.product.controller - package com.mt.ecommerce.product.controller
- com.mt.ecommerce.product.entity - package com.mt.ecommerce.product.entity
- com.mt.ecommerce.product.exception - package com.mt.ecommerce.product.exception
- com.mt.ecommerce.product.filter - package com.mt.ecommerce.product.filter
- com.mt.ecommerce.product.mapper - package com.mt.ecommerce.product.mapper
- com.mt.ecommerce.product.model - package com.mt.ecommerce.product.model
- com.mt.ecommerce.product.repository - package com.mt.ecommerce.product.repository
- com.mt.ecommerce.product.service - package com.mt.ecommerce.product.service
- corsConfigurationSource() - Method in class com.mt.ecommerce.product.config.SecurityConfig
-
CORS configuration source Allows cross-origin requests from any origin with common methods and headers
- CREATE - Enum constant in enum class com.mt.ecommerce.product.model.OrderStatus
- createDir() - Method in class com.mt.ecommerce.product.controller.ImageController
- createImage(String, String, String) - Method in class com.mt.ecommerce.product.service.ImageService
-
Creates a new image.
- createPayment(PaymentBO) - Method in class com.mt.ecommerce.product.service.PaymentService
-
Creates a new payment.
- createProduct(UserDetails, ProductBO) - Method in class com.mt.ecommerce.product.controller.ProductController
-
Endpoint to create a new product.
D
- deleteCategory(String, String, UserDetails) - Method in class com.mt.ecommerce.product.controller.CategoryController
-
Endpoint to delete a category.
- deleteCategory(UUID, UUID) - Method in class com.mt.ecommerce.product.service.CategoryService
-
Deletes a category.
- deleteImage(String, String) - Method in class com.mt.ecommerce.product.controller.ImageController
-
Endpoint to delete an image.
- deleteImage(UUID, Path) - Method in class com.mt.ecommerce.product.service.ImageService
-
Deletes an image by its ID and removes the associated file from the filesystem.
- deleteProduct(String) - Method in class com.mt.ecommerce.product.controller.ProductController
- deleteProduct(UUID) - Method in class com.mt.ecommerce.product.service.ProductService
-
Deletes a product by its ID.
- DELIVERED - Enum constant in enum class com.mt.ecommerce.product.model.OrderStatus
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.mt.ecommerce.product.filter.JwtAuthFilter
-
Filters incoming requests to validate JWT tokens and set the authentication context.
E
- editOrderStatus(UUID, OrderStatus) - Method in class com.mt.ecommerce.product.service.OrderService
-
Edits the status of an existing order.
- error(Exception) - Method in class com.mt.ecommerce.product.config.ProductExceptionHandler
-
Handles all other exceptions and returns a 500 response.
- Error - Class in com.mt.ecommerce.product.model
-
Represents an error with an error code and message.
- Error(int, String) - Constructor for class com.mt.ecommerce.product.model.Error
- extractClaim(String, Function<Claims, T>) - Method in class com.mt.ecommerce.product.config.JwtService
-
Extract specific claim from token
- extractExpiration(String) - Method in class com.mt.ecommerce.product.config.JwtService
-
Extract expiration date from token
- extractUsername(String) - Method in class com.mt.ecommerce.product.config.JwtService
-
Extract username from token
F
- findAll(String) - Method in class com.mt.ecommerce.product.service.ImageService
-
Finds all images for a specific user.
- findAllByCategoryIdAndVendorID(UUID, UUID, PageRequest) - Method in interface com.mt.ecommerce.product.repository.ProductRepository
-
Finds all Product records associated with a specific category ID and vendor ID.
- findAllByCreditorId(UUID) - Method in interface com.mt.ecommerce.product.repository.PaymentRepository
-
Finds all Payment records associated with a specific creditor ID.
- findAllByOrderId(UUID) - Method in interface com.mt.ecommerce.product.repository.OrderProductRepository
-
Finds all OrderProductEntity records associated with a specific order ID.
- findAllByVendorID(UUID, PageRequest) - Method in interface com.mt.ecommerce.product.repository.ProductRepository
-
Finds all Product records associated with a specific vendor ID.
- findByEmail(String) - Method in interface com.mt.ecommerce.product.repository.UserInfoRepository
-
Finds a UserInfo record by its email.
- findById(UUID) - Method in interface com.mt.ecommerce.product.repository.ProductRepository
-
Finds a Product by its ID with a pessimistic write lock.
- findByIdAndVendorID(UUID, UUID) - Method in interface com.mt.ecommerce.product.repository.CategoryRepository
-
Finds a category by its ID and vendor ID.
- findByName(String) - Method in class com.mt.ecommerce.product.service.VendorService
-
Finds a vendor by store name.
- findByStoreName(String) - Method in interface com.mt.ecommerce.product.repository.VendorRepository
-
Finds a Vendor by its store name.
- findByUserId(String) - Method in interface com.mt.ecommerce.product.repository.ImageRepository
-
Finds images by user ID.
- findByUserId(String, PageRequest) - Method in interface com.mt.ecommerce.product.repository.OrderRepository
-
Finds orders by user ID with pagination support.
- findByVendorId(UUID, PageRequest) - Method in interface com.mt.ecommerce.product.repository.OrderRepository
-
Finds orders by vendor ID with pagination support.
- findByVendorID(UUID, PageRequest) - Method in interface com.mt.ecommerce.product.repository.CategoryRepository
-
Finds a list of categories by the given vendor ID with pagination.
- findImage(UUID) - Method in class com.mt.ecommerce.product.service.ImageService
-
Finds an image by its ID.
G
- generateToken(String) - Method in class com.mt.ecommerce.product.config.JwtService
-
Used to generate token
- getAddressLine1() - Method in class com.mt.ecommerce.product.entity.Order
- getAddressLine1() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getAddressLine1() - Method in class com.mt.ecommerce.product.model.OrderBO
- getAddressLine1() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getAddressLine2() - Method in class com.mt.ecommerce.product.entity.Order
- getAddressLine2() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getAddressLine2() - Method in class com.mt.ecommerce.product.model.OrderBO
- getAddressLine2() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getAllOrder(UUID, int, int) - Method in class com.mt.ecommerce.product.service.OrderService
-
Retrieves all orders for a specific vendor with pagination.
- getAllOrderByUserId(String, int, int) - Method in class com.mt.ecommerce.product.service.OrderService
-
Retrieves all orders for a specific user with pagination.
- getAllProducts(String, int, int) - Method in class com.mt.ecommerce.product.controller.ProductController
-
Endpoint to retrieve all products for a specific vendor.
- getAllProductsWithCategory(String, String, int, int) - Method in class com.mt.ecommerce.product.controller.ProductController
-
Endpoint to retrieve all products for a specific vendor and category.
- getAltText() - Method in class com.mt.ecommerce.product.entity.Image
- getAltText() - Method in class com.mt.ecommerce.product.model.ImageBO
- getAmount() - Method in class com.mt.ecommerce.product.entity.Payment
- getAmount() - Method in class com.mt.ecommerce.product.model.PaymentBO
- getAuthorities() - Method in class com.mt.ecommerce.product.service.UserInfoDetails
- getCategories(String, int, int) - Method in class com.mt.ecommerce.product.controller.CategoryController
-
Endpoint to retrieve categories for a specific vendor with pagination.
- getCategory() - Method in class com.mt.ecommerce.product.entity.ImageCategory
- getCategory(UUID, int, int) - Method in class com.mt.ecommerce.product.service.CategoryService
-
Retrieves categories for a specific vendor with pagination.
- getCategoryId() - Method in class com.mt.ecommerce.product.entity.Product
- getCategoryId() - Method in class com.mt.ecommerce.product.model.ProductBO
- getCity() - Method in class com.mt.ecommerce.product.entity.Order
- getCity() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getCity() - Method in class com.mt.ecommerce.product.model.OrderBO
- getCity() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getCountry() - Method in class com.mt.ecommerce.product.entity.Order
- getCountry() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getCountry() - Method in class com.mt.ecommerce.product.model.OrderBO
- getCountry() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getCreatedAt() - Method in class com.mt.ecommerce.product.entity.Category
- getCreatedAt() - Method in class com.mt.ecommerce.product.entity.Image
- getCreatedAt() - Method in class com.mt.ecommerce.product.entity.Order
- getCreatedAt() - Method in class com.mt.ecommerce.product.entity.OrderProductEntity
- getCreatedAt() - Method in class com.mt.ecommerce.product.entity.Payment
- getCreatedAt() - Method in class com.mt.ecommerce.product.entity.Product
- getCreatedAt() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getCreatedAt() - Method in class com.mt.ecommerce.product.entity.Vendor
- getCreditorId() - Method in class com.mt.ecommerce.product.entity.Payment
- getDebitorId() - Method in class com.mt.ecommerce.product.entity.Payment
- getDescription() - Method in class com.mt.ecommerce.product.entity.Category
- getDescription() - Method in class com.mt.ecommerce.product.entity.Product
- getDescription() - Method in class com.mt.ecommerce.product.model.CategoryBO
- getDescription() - Method in class com.mt.ecommerce.product.model.ProductBO
- getEmail() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getEmail() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getErrorCode() - Method in class com.mt.ecommerce.product.model.Error
- getIamges() - Method in class com.mt.ecommerce.product.entity.Category
- getId() - Method in class com.mt.ecommerce.product.entity.Category
- getId() - Method in class com.mt.ecommerce.product.entity.Image
- getId() - Method in class com.mt.ecommerce.product.entity.ImageCategory
- getId() - Method in class com.mt.ecommerce.product.entity.Order
- getId() - Method in class com.mt.ecommerce.product.entity.Payment
- getId() - Method in class com.mt.ecommerce.product.entity.Product
- getId() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getId() - Method in class com.mt.ecommerce.product.model.CategoryBO
- getId() - Method in class com.mt.ecommerce.product.model.ImageBO
- getId() - Method in class com.mt.ecommerce.product.model.OrderBO
- getId() - Method in class com.mt.ecommerce.product.model.PaymentBO
- getId() - Method in class com.mt.ecommerce.product.model.ProductBO
- getId() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getId() - Method in class com.mt.ecommerce.product.model.VendorBO
- getIdentification() - Method in class com.mt.ecommerce.product.entity.ImageProduct
- getIdentification() - Method in class com.mt.ecommerce.product.entity.OrderProductEntity
- getIdentification() - Method in class com.mt.ecommerce.product.entity.UserVendor
- getImage(String) - Method in class com.mt.ecommerce.product.controller.ImageController
-
Endpoint to fetch and display an image by its name.
- getImageBOS() - Method in class com.mt.ecommerce.product.model.CategoryBO
- getImageBOS() - Method in class com.mt.ecommerce.product.model.ProductBO
- getImageId() - Method in class com.mt.ecommerce.product.entity.ImageCategory
- getImageId() - Method in class com.mt.ecommerce.product.entity.ImageProduct
- getImageProducts() - Method in class com.mt.ecommerce.product.entity.Product
- getImages() - Method in class com.mt.ecommerce.product.model.ProductBO
- getImages(UserDetails) - Method in class com.mt.ecommerce.product.controller.ImageController
-
Endpoint to fetch all images for the authenticated user.
- getImageUrl() - Method in class com.mt.ecommerce.product.entity.Image
- getImageUrl() - Method in class com.mt.ecommerce.product.model.ImageBO
- getLastModifiedBy() - Method in class com.mt.ecommerce.product.entity.Category
- getMessage() - Method in class com.mt.ecommerce.product.model.Error
- getModified_by() - Method in class com.mt.ecommerce.product.entity.Order
- getModifiedAt() - Method in class com.mt.ecommerce.product.entity.Category
- getModifiedAt() - Method in class com.mt.ecommerce.product.entity.Image
- getModifiedAt() - Method in class com.mt.ecommerce.product.entity.Payment
- getModifiedAt() - Method in class com.mt.ecommerce.product.entity.Product
- getModifiedAt() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getModifiedAt() - Method in class com.mt.ecommerce.product.entity.Vendor
- getModifiedBy() - Method in class com.mt.ecommerce.product.entity.Product
- getName() - Method in class com.mt.ecommerce.product.entity.Category
- getName() - Method in class com.mt.ecommerce.product.entity.Product
- getName() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getName() - Method in class com.mt.ecommerce.product.model.CategoryBO
- getName() - Method in class com.mt.ecommerce.product.model.ProductBO
- getName() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getOrderDate() - Method in class com.mt.ecommerce.product.model.OrderBO
- getOrderId() - Method in class com.mt.ecommerce.product.entity.OrderProductEntity
- getOrderId() - Method in class com.mt.ecommerce.product.entity.Payment
- getOrderId() - Method in class com.mt.ecommerce.product.model.PaymentBO
- getOrderStatus() - Method in class com.mt.ecommerce.product.entity.Order
- getOrderStatus() - Method in class com.mt.ecommerce.product.model.OrderBO
- getPassword() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getPassword() - Method in class com.mt.ecommerce.product.model.AuthRequest
- getPassword() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getPassword() - Method in class com.mt.ecommerce.product.service.UserInfoDetails
- getPayment(UUID) - Method in class com.mt.ecommerce.product.service.PaymentService
-
Retrieves payments for a specific vendor.
- getPhone() - Method in class com.mt.ecommerce.product.entity.Order
- getPhone() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getPhone() - Method in class com.mt.ecommerce.product.model.OrderBO
- getPhone() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getPrice() - Method in class com.mt.ecommerce.product.entity.Order
- getPrice() - Method in class com.mt.ecommerce.product.entity.Product
- getPrice() - Method in class com.mt.ecommerce.product.model.OrderBO
- getPrice() - Method in class com.mt.ecommerce.product.model.ProductBO
- getProduct() - Method in class com.mt.ecommerce.product.entity.ImageProduct
- getProduct(UUID, int, int) - Method in class com.mt.ecommerce.product.service.ProductService
-
Retrieves products for a specific vendor with pagination.
- getProduct(UUID, UUID, int, int) - Method in class com.mt.ecommerce.product.service.ProductService
-
Retrieves products for a specific vendor and category with pagination.
- getProductBO() - Method in class com.mt.ecommerce.product.model.OrderBO
- getProductId() - Method in class com.mt.ecommerce.product.entity.OrderProductEntity
- getQuantity() - Method in class com.mt.ecommerce.product.entity.OrderProductEntity
- getQuantity() - Method in class com.mt.ecommerce.product.model.ProductBO
- getRoles() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getRoles() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getSku() - Method in class com.mt.ecommerce.product.entity.Product
- getSku() - Method in class com.mt.ecommerce.product.model.ProductBO
- getSlug() - Method in class com.mt.ecommerce.product.entity.Category
- getSlug() - Method in class com.mt.ecommerce.product.entity.Product
- getSlug() - Method in class com.mt.ecommerce.product.model.CategoryBO
- getSlug() - Method in class com.mt.ecommerce.product.model.ProductBO
- getState() - Method in class com.mt.ecommerce.product.entity.Order
- getState() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getState() - Method in class com.mt.ecommerce.product.model.OrderBO
- getState() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getStockQuantity() - Method in class com.mt.ecommerce.product.entity.Product
- getStoreName() - Method in class com.mt.ecommerce.product.entity.Vendor
- getStoreName() - Method in class com.mt.ecommerce.product.model.VendorBO
- getToken() - Method in class com.mt.ecommerce.product.model.Store
- getToken() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getUser(String) - Method in class com.mt.ecommerce.product.service.UserInfoService
-
Retrieves user information by their username (email).
- getUserId() - Method in class com.mt.ecommerce.product.entity.Image
- getUserId() - Method in class com.mt.ecommerce.product.entity.Order
- getUserId() - Method in class com.mt.ecommerce.product.model.ImageBO
- getUserInfo() - Method in class com.mt.ecommerce.product.entity.UserVendor
- getUserInfo() - Method in class com.mt.ecommerce.product.model.Store
- getUserInfoBO() - Method in class com.mt.ecommerce.product.model.OrderBO
- getUsername() - Method in class com.mt.ecommerce.product.model.AuthRequest
- getUsername() - Method in class com.mt.ecommerce.product.service.UserInfoDetails
- getUserName() - Method in class com.mt.ecommerce.product.model.PaymentBO
- getUserOrder(UserDetails, int, int) - Method in class com.mt.ecommerce.product.controller.OrderController
-
Endpoint to retrieve orders for the authenticated user.
- getUserVendors() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getUserVendors() - Method in class com.mt.ecommerce.product.entity.Vendor
- getUserVendors() - Method in class com.mt.ecommerce.product.model.UserInfoBO
- getVendor() - Method in class com.mt.ecommerce.product.entity.UserVendor
- getVendorByStoreName(String) - Method in class com.mt.ecommerce.product.controller.VendorController
-
Endpoint to retrieve a vendor by store name.
- getVendorId() - Method in class com.mt.ecommerce.product.entity.Order
- getVendorId() - Method in class com.mt.ecommerce.product.entity.Vendor
- getVendorId() - Method in class com.mt.ecommerce.product.model.OrderBO
- getVendorId() - Method in class com.mt.ecommerce.product.model.PaymentBO
- getVendorId() - Method in class com.mt.ecommerce.product.model.ProductBO
- getVendorID() - Method in class com.mt.ecommerce.product.entity.Category
- getVendorID() - Method in class com.mt.ecommerce.product.entity.Product
- getVendorID() - Method in class com.mt.ecommerce.product.model.CategoryBO
- getVendorOrder(String) - Method in class com.mt.ecommerce.product.controller.PaymentController
-
Endpoint to retrieve payments for a specific vendor.
- getVendorOrder(String, int, int) - Method in class com.mt.ecommerce.product.controller.OrderController
-
Endpoint to retrieve orders for a specific vendor.
- getVendors() - Method in class com.mt.ecommerce.product.controller.VendorController
-
Endpoint to retrieve all vendors.
- getVendors() - Method in class com.mt.ecommerce.product.model.Store
- getVendorStoreByUserName(String) - Method in class com.mt.ecommerce.product.service.UserInfoService
-
Retrieves the store information associated with a vendor user by their username.
- getZipCode() - Method in class com.mt.ecommerce.product.entity.Order
- getZipCode() - Method in class com.mt.ecommerce.product.entity.UserInfo
- getZipCode() - Method in class com.mt.ecommerce.product.model.OrderBO
- getZipCode() - Method in class com.mt.ecommerce.product.model.UserInfoBO
H
- handleNotFoundException(RuntimeException) - Method in class com.mt.ecommerce.product.config.ProductExceptionHandler
-
Handles not found exceptions and returns a 404 response.
I
- Image - Class in com.mt.ecommerce.product.entity
-
Entity class representing an Image in the e-commerce system.
- Image() - Constructor for class com.mt.ecommerce.product.entity.Image
- ImageBO - Class in com.mt.ecommerce.product.model
-
Represents an image associated with a product or category.
- ImageBO() - Constructor for class com.mt.ecommerce.product.model.ImageBO
- ImageCategory - Class in com.mt.ecommerce.product.entity
-
Entity class representing the association between Images and Categories.
- ImageCategory() - Constructor for class com.mt.ecommerce.product.entity.ImageCategory
- ImageCategoryRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing ImageCategory entities.
- ImageController - Class in com.mt.ecommerce.product.controller
-
Controller for managing image uploads and retrievals.
- ImageController(ImageService) - Constructor for class com.mt.ecommerce.product.controller.ImageController
- ImageProduct - Class in com.mt.ecommerce.product.entity
-
Entity class representing the association between Images and Products.
- ImageProduct() - Constructor for class com.mt.ecommerce.product.entity.ImageProduct
- ImageProductRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing ImageProduct entities.
- ImageRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing Image entities.
- ImageService - Class in com.mt.ecommerce.product.service
-
Service class for managing images.
- ImageService(ImageRepository) - Constructor for class com.mt.ecommerce.product.service.ImageService
- ImageUploadException - Exception Class in com.mt.ecommerce.product.exception
-
Exception thrown when an error occurs during image upload.
- ImageUploadException(String) - Constructor for exception class com.mt.ecommerce.product.exception.ImageUploadException
-
Constructs a new ImageUploadException with the specified detail message.
- ImageUploadException(String, Throwable) - Constructor for exception class com.mt.ecommerce.product.exception.ImageUploadException
-
Constructs a new ImageUploadException with the specified detail message and cause.
- isAccountNonExpired() - Method in class com.mt.ecommerce.product.service.UserInfoDetails
- isAccountNonLocked() - Method in class com.mt.ecommerce.product.service.UserInfoDetails
- isActive() - Method in class com.mt.ecommerce.product.entity.Category
- isActive() - Method in class com.mt.ecommerce.product.entity.Product
- isActive() - Method in class com.mt.ecommerce.product.model.CategoryBO
- isCredentialsNonExpired() - Method in class com.mt.ecommerce.product.service.UserInfoDetails
- isEnabled() - Method in class com.mt.ecommerce.product.service.UserInfoDetails
J
- JwtAuthFilter - Class in com.mt.ecommerce.product.filter
-
Filter that intercepts incoming HTTP requests to validate JWT tokens and set the authentication context.
- JwtAuthFilter(UserDetailsService, JwtService) - Constructor for class com.mt.ecommerce.product.filter.JwtAuthFilter
-
Constructs a new JwtAuthFilter with the specified UserDetailsService and JwtService.
- JwtService - Class in com.mt.ecommerce.product.config
-
CLass used to Handle token validation and creatiorn
- JwtService() - Constructor for class com.mt.ecommerce.product.config.JwtService
L
- loadUserByUsername(String) - Method in class com.mt.ecommerce.product.service.UserInfoService
M
- main(String[]) - Static method in class com.mt.ecommerce.product.ProductApplication
-
The entry point of the Product application.
- mapBo(Vendor) - Method in class com.mt.ecommerce.product.mapper.VendorMapper
-
Maps a Vendor entity to a VendorBO object.
- mapBO(Order, List<OrderProductEntity>, ProductRepository) - Method in class com.mt.ecommerce.product.mapper.OrderMapper
-
Maps an Order entity and its associated OrderProductEntities to an OrderBO object.
- mapBO(UserInfo) - Method in class com.mt.ecommerce.product.mapper.UserMapper
-
Maps a UserInfo entity to a UserInfoBO object.
- mapDao(VendorBO) - Method in class com.mt.ecommerce.product.mapper.VendorMapper
-
Maps a VendorBO object to a Vendor entity.
- mapDAO(OrderBO) - Method in class com.mt.ecommerce.product.mapper.OrderMapper
-
Maps an OrderBO object to an Order entity.
- mapDAO(UserInfoBO) - Method in class com.mt.ecommerce.product.mapper.UserMapper
-
Maps a UserInfoBO object to a UserInfo entity.
- MTException - Exception Class in com.mt.ecommerce.product.exception
-
Base exception class for the e-commerce product module.
- MTException(String) - Constructor for exception class com.mt.ecommerce.product.exception.MTException
-
Constructs a new MTException with the specified detail message.
- MTException(String, Throwable) - Constructor for exception class com.mt.ecommerce.product.exception.MTException
-
Constructs a new MTException with the specified detail message and cause.
N
- NoOrderFound - Exception Class in com.mt.ecommerce.product.exception
-
Exception thrown when no order is found.
- NoOrderFound(String) - Constructor for exception class com.mt.ecommerce.product.exception.NoOrderFound
-
Constructs a new NoOrderFound exception with the specified detail message.
O
- Order - Class in com.mt.ecommerce.product.entity
-
Entity class representing an Order in the e-commerce system.
- Order() - Constructor for class com.mt.ecommerce.product.entity.Order
- OrderBO - Class in com.mt.ecommerce.product.model
-
Represents an order in the e-commerce system.
- OrderBO() - Constructor for class com.mt.ecommerce.product.model.OrderBO
- OrderController - Class in com.mt.ecommerce.product.controller
-
Controller for managing orders.
- OrderController(OrderService) - Constructor for class com.mt.ecommerce.product.controller.OrderController
- OrderMapper - Class in com.mt.ecommerce.product.mapper
-
Mapper class for converting between Order entity and OrderBO model.
- OrderMapper() - Constructor for class com.mt.ecommerce.product.mapper.OrderMapper
- OrderProductEntity - Class in com.mt.ecommerce.product.entity
-
Entity class representing the association between Orders and Products.
- OrderProductEntity() - Constructor for class com.mt.ecommerce.product.entity.OrderProductEntity
- OrderProductRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing OrderProductEntity entities.
- OrderRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing Order entities.
- OrderService - Class in com.mt.ecommerce.product.service
-
Service class for managing orders.
- OrderService(OrderRepository, ProductRepository, OrderProductRepository, PaymentService) - Constructor for class com.mt.ecommerce.product.service.OrderService
- OrderStatus - Enum Class in com.mt.ecommerce.product.model
-
Enum representing the status of an order.
P
- passwordEncoder() - Method in class com.mt.ecommerce.product.config.AppConfig
-
Bean for password encoding using BCrypt.
- Payment - Class in com.mt.ecommerce.product.entity
-
Entity class representing a Payment in the e-commerce system.
- Payment() - Constructor for class com.mt.ecommerce.product.entity.Payment
- PaymentBO - Class in com.mt.ecommerce.product.model
-
Represents a payment transaction associated with an order.
- PaymentBO() - Constructor for class com.mt.ecommerce.product.model.PaymentBO
- PaymentController - Class in com.mt.ecommerce.product.controller
-
Controller for managing payments.
- PaymentController(PaymentService) - Constructor for class com.mt.ecommerce.product.controller.PaymentController
- PaymentRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing Payment entities.
- PaymentService - Class in com.mt.ecommerce.product.service
-
Service class for managing payments.
- PaymentService(PaymentRepository) - Constructor for class com.mt.ecommerce.product.service.PaymentService
- Product - Class in com.mt.ecommerce.product.entity
-
Entity class representing a Product in the e-commerce system.
- Product() - Constructor for class com.mt.ecommerce.product.entity.Product
- ProductApplication - Class in com.mt.ecommerce.product
-
Main application class for the Product service.
- ProductApplication() - Constructor for class com.mt.ecommerce.product.ProductApplication
- ProductBO - Class in com.mt.ecommerce.product.model
-
Represents a product in the e-commerce system.
- ProductBO() - Constructor for class com.mt.ecommerce.product.model.ProductBO
- ProductController - Class in com.mt.ecommerce.product.controller
-
Controller for managing products.
- ProductController(ProductService) - Constructor for class com.mt.ecommerce.product.controller.ProductController
- ProductExceptionHandler - Class in com.mt.ecommerce.product.config
-
Global exception handler for product-related exceptions.
- ProductExceptionHandler() - Constructor for class com.mt.ecommerce.product.config.ProductExceptionHandler
- ProductNotFoundException - Exception Class in com.mt.ecommerce.product.exception
-
Exception thrown when a requested product is not found.
- ProductNotFoundException(String) - Constructor for exception class com.mt.ecommerce.product.exception.ProductNotFoundException
-
Constructs a new ProductNotFoundException with the specified detail message.
- ProductRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing Product entities.
- ProductService - Class in com.mt.ecommerce.product.service
-
Service class for managing products.
- ProductService(ProductRepository, ImageProductRepository, ImageRepository) - Constructor for class com.mt.ecommerce.product.service.ProductService
S
- saveProduct(ProductBO, String) - Method in class com.mt.ecommerce.product.service.ProductService
-
Saves a new product.
- SECRET - Static variable in class com.mt.ecommerce.product.config.JwtService
- SecurityConfig - Class in com.mt.ecommerce.product.config
-
Security configuration class for setting up authentication and authorization.
- SecurityConfig(PasswordEncoder, JwtAuthFilter, UserDetailsService) - Constructor for class com.mt.ecommerce.product.config.SecurityConfig
- securityFilterChain(HttpSecurity) - Method in class com.mt.ecommerce.product.config.SecurityConfig
-
Security filter chain configuration Defines security policies, CORS, CSRF, session management, and request authorization
- setActive(boolean) - Method in class com.mt.ecommerce.product.entity.Category
- setActive(boolean) - Method in class com.mt.ecommerce.product.entity.Product
- setActive(boolean) - Method in class com.mt.ecommerce.product.model.CategoryBO
- setAddressLine1(String) - Method in class com.mt.ecommerce.product.entity.Order
- setAddressLine1(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setAddressLine1(String) - Method in class com.mt.ecommerce.product.model.OrderBO
- setAddressLine1(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setAddressLine2(String) - Method in class com.mt.ecommerce.product.entity.Order
- setAddressLine2(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setAddressLine2(String) - Method in class com.mt.ecommerce.product.model.OrderBO
- setAddressLine2(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setAltText(String) - Method in class com.mt.ecommerce.product.entity.Image
- setAltText(String) - Method in class com.mt.ecommerce.product.model.ImageBO
- setAmount(double) - Method in class com.mt.ecommerce.product.entity.Payment
- setAmount(Double) - Method in class com.mt.ecommerce.product.model.PaymentBO
- setCategory(Category) - Method in class com.mt.ecommerce.product.entity.ImageCategory
- setCategoryId(UUID) - Method in class com.mt.ecommerce.product.entity.Product
- setCategoryId(UUID) - Method in class com.mt.ecommerce.product.model.ProductBO
- setCity(String) - Method in class com.mt.ecommerce.product.entity.Order
- setCity(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setCity(String) - Method in class com.mt.ecommerce.product.model.OrderBO
- setCity(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setCountry(String) - Method in class com.mt.ecommerce.product.entity.Order
- setCountry(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setCountry(String) - Method in class com.mt.ecommerce.product.model.OrderBO
- setCountry(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setCreatedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Category
- setCreatedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Image
- setCreatedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Order
- setCreatedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.OrderProductEntity
- setCreatedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Payment
- setCreatedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Product
- setCreatedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setCreatedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Vendor
- setCreditorId(UUID) - Method in class com.mt.ecommerce.product.entity.Payment
- setDebitorId(String) - Method in class com.mt.ecommerce.product.entity.Payment
- setDescription(String) - Method in class com.mt.ecommerce.product.entity.Category
- setDescription(String) - Method in class com.mt.ecommerce.product.entity.Product
- setDescription(String) - Method in class com.mt.ecommerce.product.model.CategoryBO
- setDescription(String) - Method in class com.mt.ecommerce.product.model.ProductBO
- setEmail(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setEmail(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setErrorCode(int) - Method in class com.mt.ecommerce.product.model.Error
- setIamges(List<ImageCategory>) - Method in class com.mt.ecommerce.product.entity.Category
- setId(UUID) - Method in class com.mt.ecommerce.product.entity.Category
- setId(UUID) - Method in class com.mt.ecommerce.product.entity.Image
- setId(UUID) - Method in class com.mt.ecommerce.product.entity.ImageCategory
- setId(UUID) - Method in class com.mt.ecommerce.product.entity.Order
- setId(UUID) - Method in class com.mt.ecommerce.product.entity.Payment
- setId(UUID) - Method in class com.mt.ecommerce.product.entity.Product
- setId(UUID) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setId(UUID) - Method in class com.mt.ecommerce.product.model.CategoryBO
- setId(UUID) - Method in class com.mt.ecommerce.product.model.ImageBO
- setId(UUID) - Method in class com.mt.ecommerce.product.model.OrderBO
- setId(UUID) - Method in class com.mt.ecommerce.product.model.PaymentBO
- setId(UUID) - Method in class com.mt.ecommerce.product.model.ProductBO
- setId(UUID) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setId(UUID) - Method in class com.mt.ecommerce.product.model.VendorBO
- setIdentification(UUID) - Method in class com.mt.ecommerce.product.entity.ImageProduct
- setIdentification(UUID) - Method in class com.mt.ecommerce.product.entity.OrderProductEntity
- setIdentification(UUID) - Method in class com.mt.ecommerce.product.entity.UserVendor
- setImageBOS(List<ImageBO>) - Method in class com.mt.ecommerce.product.model.CategoryBO
- setImageBOS(List<ImageBO>) - Method in class com.mt.ecommerce.product.model.ProductBO
- setImageId(UUID) - Method in class com.mt.ecommerce.product.entity.ImageCategory
- setImageId(UUID) - Method in class com.mt.ecommerce.product.entity.ImageProduct
- setImageProducts(List<ImageProduct>) - Method in class com.mt.ecommerce.product.entity.Product
- setImages(List<ImageBO>) - Method in class com.mt.ecommerce.product.model.ProductBO
- setImageUrl(String) - Method in class com.mt.ecommerce.product.entity.Image
- setImageUrl(String) - Method in class com.mt.ecommerce.product.model.ImageBO
- setLastModifiedBy(String) - Method in class com.mt.ecommerce.product.entity.Category
- setMessage(String) - Method in class com.mt.ecommerce.product.model.Error
- setModified_by(String) - Method in class com.mt.ecommerce.product.entity.Order
- setModifiedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Category
- setModifiedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Image
- setModifiedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Payment
- setModifiedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Product
- setModifiedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setModifiedAt(LocalDateTime) - Method in class com.mt.ecommerce.product.entity.Vendor
- setModifiedBy(String) - Method in class com.mt.ecommerce.product.entity.Product
- setName(String) - Method in class com.mt.ecommerce.product.entity.Category
- setName(String) - Method in class com.mt.ecommerce.product.entity.Product
- setName(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setName(String) - Method in class com.mt.ecommerce.product.model.CategoryBO
- setName(String) - Method in class com.mt.ecommerce.product.model.ProductBO
- setName(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setOrderDate(LocalDateTime) - Method in class com.mt.ecommerce.product.model.OrderBO
- setOrderId(UUID) - Method in class com.mt.ecommerce.product.entity.OrderProductEntity
- setOrderId(UUID) - Method in class com.mt.ecommerce.product.entity.Payment
- setOrderId(UUID) - Method in class com.mt.ecommerce.product.model.PaymentBO
- setOrderStatus(OrderStatus) - Method in class com.mt.ecommerce.product.entity.Order
- setOrderStatus(OrderStatus) - Method in class com.mt.ecommerce.product.model.OrderBO
- setPassword(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setPassword(String) - Method in class com.mt.ecommerce.product.model.AuthRequest
- setPassword(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setPhone(String) - Method in class com.mt.ecommerce.product.entity.Order
- setPhone(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setPhone(String) - Method in class com.mt.ecommerce.product.model.OrderBO
- setPhone(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setPrice(double) - Method in class com.mt.ecommerce.product.entity.Order
- setPrice(Double) - Method in class com.mt.ecommerce.product.entity.Product
- setPrice(Double) - Method in class com.mt.ecommerce.product.model.OrderBO
- setPrice(Double) - Method in class com.mt.ecommerce.product.model.ProductBO
- setProduct(Product) - Method in class com.mt.ecommerce.product.entity.ImageProduct
- setProductBO(List<ProductBO>) - Method in class com.mt.ecommerce.product.model.OrderBO
- setProductId(UUID) - Method in class com.mt.ecommerce.product.entity.OrderProductEntity
- setQuantity(int) - Method in class com.mt.ecommerce.product.entity.OrderProductEntity
- setQuantity(Integer) - Method in class com.mt.ecommerce.product.model.ProductBO
- setRoles(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setRoles(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setSku(String) - Method in class com.mt.ecommerce.product.entity.Product
- setSku(String) - Method in class com.mt.ecommerce.product.model.ProductBO
- setSlug(String) - Method in class com.mt.ecommerce.product.entity.Category
- setSlug(String) - Method in class com.mt.ecommerce.product.entity.Product
- setSlug(String) - Method in class com.mt.ecommerce.product.model.CategoryBO
- setSlug(String) - Method in class com.mt.ecommerce.product.model.ProductBO
- setState(String) - Method in class com.mt.ecommerce.product.entity.Order
- setState(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setState(String) - Method in class com.mt.ecommerce.product.model.OrderBO
- setState(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setStockQuantity(int) - Method in class com.mt.ecommerce.product.entity.Product
- setStoreName(String) - Method in class com.mt.ecommerce.product.entity.Vendor
- setStoreName(String) - Method in class com.mt.ecommerce.product.model.VendorBO
- setToken(String) - Method in class com.mt.ecommerce.product.model.Store
- setToken(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setUserId(String) - Method in class com.mt.ecommerce.product.entity.Image
- setUserId(String) - Method in class com.mt.ecommerce.product.entity.Order
- setUserId(String) - Method in class com.mt.ecommerce.product.model.ImageBO
- setUserInfo(UserInfo) - Method in class com.mt.ecommerce.product.entity.UserVendor
- setUserInfo(UserInfoBO) - Method in class com.mt.ecommerce.product.model.Store
- setUserInfoBO(UserInfoBO) - Method in class com.mt.ecommerce.product.model.OrderBO
- setUsername(String) - Method in class com.mt.ecommerce.product.model.AuthRequest
- setUserName(String) - Method in class com.mt.ecommerce.product.model.PaymentBO
- setUserVendors(List<UserVendor>) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setUserVendors(List<UserVendor>) - Method in class com.mt.ecommerce.product.entity.Vendor
- setUserVendors(List<UserVendor>) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- setVendor(Vendor) - Method in class com.mt.ecommerce.product.entity.UserVendor
- setVendorId(UUID) - Method in class com.mt.ecommerce.product.entity.Order
- setVendorId(UUID) - Method in class com.mt.ecommerce.product.entity.Vendor
- setVendorId(UUID) - Method in class com.mt.ecommerce.product.model.OrderBO
- setVendorId(UUID) - Method in class com.mt.ecommerce.product.model.PaymentBO
- setVendorId(UUID) - Method in class com.mt.ecommerce.product.model.ProductBO
- setVendorID(UUID) - Method in class com.mt.ecommerce.product.entity.Category
- setVendorID(UUID) - Method in class com.mt.ecommerce.product.entity.Product
- setVendorID(UUID) - Method in class com.mt.ecommerce.product.model.CategoryBO
- setVendors(List<VendorBO>) - Method in class com.mt.ecommerce.product.model.Store
- setZipCode(String) - Method in class com.mt.ecommerce.product.entity.Order
- setZipCode(String) - Method in class com.mt.ecommerce.product.entity.UserInfo
- setZipCode(String) - Method in class com.mt.ecommerce.product.model.OrderBO
- setZipCode(String) - Method in class com.mt.ecommerce.product.model.UserInfoBO
- SHIPPED - Enum constant in enum class com.mt.ecommerce.product.model.OrderStatus
- Store - Class in com.mt.ecommerce.product.model
-
Represents a store containing user information, a list of vendors, and an authentication token.
- Store() - Constructor for class com.mt.ecommerce.product.model.Store
U
- updateCategory(CategoryBO, String) - Method in class com.mt.ecommerce.product.service.CategoryService
-
Updates an existing category.
- updateCategory(CategoryBO, UserDetails) - Method in class com.mt.ecommerce.product.controller.CategoryController
-
Endpoint to update an existing category.
- updateImage(UUID, String, String) - Method in class com.mt.ecommerce.product.service.ImageService
-
Updates an existing image.
- updateImage(MultipartFile, String, String) - Method in class com.mt.ecommerce.product.controller.ImageController
-
Endpoint to update an existing image.
- updateOrderStatus(String, String) - Method in class com.mt.ecommerce.product.controller.OrderController
-
Endpoint to update the status of an order.
- updateProduct(ProductBO, String) - Method in class com.mt.ecommerce.product.service.ProductService
-
Updates an existing product.
- updateProduct(ProductBO, UserDetails) - Method in class com.mt.ecommerce.product.controller.ProductController
-
Endpoint to update an existing product.
- uploadImage(UserDetails, MultipartFile, String) - Method in class com.mt.ecommerce.product.controller.ImageController
-
Endpoint to upload a new image.
- UserController - Class in com.mt.ecommerce.product.controller
-
Controller for managing user-related operations.
- UserController(UserInfoService) - Constructor for class com.mt.ecommerce.product.controller.UserController
- UserInfo - Class in com.mt.ecommerce.product.entity
-
Entity class representing a User in the e-commerce system.
- UserInfo() - Constructor for class com.mt.ecommerce.product.entity.UserInfo
- UserInfo(UUID) - Constructor for class com.mt.ecommerce.product.entity.UserInfo
- UserInfoBO - Class in com.mt.ecommerce.product.model
-
Represents user information in the e-commerce system.
- UserInfoBO() - Constructor for class com.mt.ecommerce.product.model.UserInfoBO
- UserInfoDetails - Class in com.mt.ecommerce.product.service
-
UserDetails implementation for Spring Security.
- UserInfoDetails(UserInfo) - Constructor for class com.mt.ecommerce.product.service.UserInfoDetails
- UserInfoDetails(UUID) - Constructor for class com.mt.ecommerce.product.service.UserInfoDetails
- UserInfoRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing UserInfo entities.
- UserInfoService - Class in com.mt.ecommerce.product.service
-
Service class for managing user information and authentication.
- UserInfoService(UserInfoRepository, PasswordEncoder, VendorRepository, UserVendorRepository) - Constructor for class com.mt.ecommerce.product.service.UserInfoService
- UserMapper - Class in com.mt.ecommerce.product.mapper
-
Mapper class for converting between UserInfo entity and UserInfoBO model.
- UserMapper() - Constructor for class com.mt.ecommerce.product.mapper.UserMapper
- UserVendor - Class in com.mt.ecommerce.product.entity
-
Entity class representing the association between Users and Vendors.
- UserVendor() - Constructor for class com.mt.ecommerce.product.entity.UserVendor
- UserVendorRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing UserVendor entities.
V
- validAdminUser() - Method in class com.mt.ecommerce.product.controller.UserController
-
Endpoint to validate if the authenticated user has ROLE_ADMIN.
- validateToken(String, UserDetails) - Method in class com.mt.ecommerce.product.config.JwtService
-
Validate token against user details
- validateUserRole() - Method in class com.mt.ecommerce.product.controller.UserController
-
Endpoint to validate if the authenticated user has ROLE_USER.
- validVendorOrAdminUser() - Method in class com.mt.ecommerce.product.controller.UserController
-
Endpoint to validate if the authenticated user has either ROLE_VENDOR or ROLE_ADMIN.
- valueOf(String) - Static method in enum class com.mt.ecommerce.product.model.OrderStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.mt.ecommerce.product.model.OrderStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vendor - Class in com.mt.ecommerce.product.entity
-
Entity class representing a Vendor in the e-commerce system.
- Vendor() - Constructor for class com.mt.ecommerce.product.entity.Vendor
- VendorBO - Class in com.mt.ecommerce.product.model
-
Represents a vendor in the e-commerce system.
- VendorBO() - Constructor for class com.mt.ecommerce.product.model.VendorBO
- vendorBOS() - Method in class com.mt.ecommerce.product.service.VendorService
-
Retrieves all vendors.
- VendorController - Class in com.mt.ecommerce.product.controller
-
Controller for managing vendors.
- VendorController(VendorService) - Constructor for class com.mt.ecommerce.product.controller.VendorController
- VendorMapper - Class in com.mt.ecommerce.product.mapper
-
Mapper class for converting between Vendor entity and VendorBO model.
- VendorMapper() - Constructor for class com.mt.ecommerce.product.mapper.VendorMapper
- VendorRepository - Interface in com.mt.ecommerce.product.repository
-
Repository interface for managing Vendor entities.
- VendorService - Class in com.mt.ecommerce.product.service
-
Service class for managing vendors.
- VendorService(VendorRepository) - Constructor for class com.mt.ecommerce.product.service.VendorService
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form