Index

B C D E F G I J M O P R S T U V 
All Classes and Interfaces|All Packages

B

BANNED - Enum constant in enum class com.needleandstitch.pavuk.model.User.Status
The user has been banned and cannot access the platform.

C

CANCELLED - Enum constant in enum class com.needleandstitch.pavuk.model.Order.Status
The order has been cancelled.
Category - Class in com.needleandstitch.pavuk.model
An entity class for clothing item category.
Category() - Constructor for class com.needleandstitch.pavuk.model.Category
Default constructor.
Category(String) - Constructor for class com.needleandstitch.pavuk.model.Category
Constructor for creating a category with a name.
CategoryRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing Category entities.
CategorySeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default categories in the database.
CategorySeeder(CategoryRepository) - Constructor for class com.needleandstitch.pavuk.data.CategorySeeder
Constructs a new CategorySeeder with the specified repository.
ClothingItem - Class in com.needleandstitch.pavuk.model
An entity class for clothing item.
ClothingItem() - Constructor for class com.needleandstitch.pavuk.model.ClothingItem
Default constructor.
ClothingItem(String, String, BigDecimal, Set<Image>, Category) - Constructor for class com.needleandstitch.pavuk.model.ClothingItem
Constructor for creating a clothing item with specified details.
ClothingItemController - Class in com.needleandstitch.pavuk.controller
REST controller for managing ClothingItem objects.
ClothingItemController() - Constructor for class com.needleandstitch.pavuk.controller.ClothingItemController
 
ClothingItemPart - Class in com.needleandstitch.pavuk.model
An entity class for clothing item part.
ClothingItemPart() - Constructor for class com.needleandstitch.pavuk.model.ClothingItemPart
Default constructor.
ClothingItemPart(ClothingItem, Image, Fabric) - Constructor for class com.needleandstitch.pavuk.model.ClothingItemPart
Constructor for creating a clothing item part with specific clothing item, image, and fabric.
ClothingItemRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing ClothingItem entities.
ClothingItemSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default clothing items in the database.
ClothingItemSeeder(ClothingItemRepository, ImageRepository, CategoryRepository) - Constructor for class com.needleandstitch.pavuk.data.ClothingItemSeeder
Constructs a new ClothingItemSeeder with the specified repository.
ClothingItemService - Class in com.needleandstitch.pavuk.service
Service layer for managing clothing items.
ClothingItemService() - Constructor for class com.needleandstitch.pavuk.service.ClothingItemService
 
Color - Class in com.needleandstitch.pavuk.model
An entity class for color.
Color() - Constructor for class com.needleandstitch.pavuk.model.Color
Default constructor.
Color(String) - Constructor for class com.needleandstitch.pavuk.model.Color
Constructor to create a color with a specified hex code.
ColorRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing Color entities.
ColorSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default colors in the database.
ColorSeeder(ColorRepository) - Constructor for class com.needleandstitch.pavuk.data.ColorSeeder
Constructs a new ColorSeeder with the specified repository.
com.needleandstitch.pavuk - package com.needleandstitch.pavuk
 
com.needleandstitch.pavuk.config - package com.needleandstitch.pavuk.config
 
com.needleandstitch.pavuk.controller - package com.needleandstitch.pavuk.controller
 
com.needleandstitch.pavuk.data - package com.needleandstitch.pavuk.data
 
com.needleandstitch.pavuk.model - package com.needleandstitch.pavuk.model
 
com.needleandstitch.pavuk.repository - package com.needleandstitch.pavuk.repository
 
com.needleandstitch.pavuk.security - package com.needleandstitch.pavuk.security
 
com.needleandstitch.pavuk.service - package com.needleandstitch.pavuk.service
 
createClothingItem(ClothingItem) - Method in class com.needleandstitch.pavuk.controller.ClothingItemController
Endpoint to create a new clothing item.
createClothingItem(String, String, BigDecimal, Set<Image>, Category) - Method in class com.needleandstitch.pavuk.service.ClothingItemService
Creates a new clothing item.
createRole(Role) - Method in class com.needleandstitch.pavuk.controller.RoleController
Creates a new role.
createRole(String) - Method in class com.needleandstitch.pavuk.service.RoleService
Creates a new role.
createUser(User, HttpServletResponse) - Method in class com.needleandstitch.pavuk.controller.UserController
Endpoint to register a new user.
createUser(String, String, LocalDate, String, String, Boolean, String, Role) - Method in class com.needleandstitch.pavuk.service.UserService
Creates a new user.
Customer - Class in com.needleandstitch.pavuk.model
An entity class for customer.
Customer() - Constructor for class com.needleandstitch.pavuk.model.Customer
Default constructor.
Customer(User) - Constructor for class com.needleandstitch.pavuk.model.Customer
Constructor to create a customer with a specified user.
CustomerRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing Customer entities.
CustomerSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default customers in the database.
CustomerSeeder(CustomerRepository, UserRepository) - Constructor for class com.needleandstitch.pavuk.data.CustomerSeeder
Constructs a new CustomerSeeder with the specified repository.

D

deleteClothingItem(Long) - Method in class com.needleandstitch.pavuk.controller.ClothingItemController
Endpoint to delete a clothing item by its ID.
deleteClothingItem(Long) - Method in class com.needleandstitch.pavuk.service.ClothingItemService
Deletes a clothing item by its ID.
deleteRole(Long) - Method in class com.needleandstitch.pavuk.controller.RoleController
Deletes a role by its ID.
deleteRole(Long) - Method in class com.needleandstitch.pavuk.service.RoleService
Deletes a role by its ID.
deleteUser(Long) - Method in class com.needleandstitch.pavuk.controller.UserController
Endpoint to delete a user by its ID.
deleteUser(Long) - Method in class com.needleandstitch.pavuk.service.UserService
Deletes a user by their ID.
DELIVERED - Enum constant in enum class com.needleandstitch.pavuk.model.Order.Status
The order has been delivered to the customer.
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.needleandstitch.pavuk.security.JwtFilter
Filters the request to check for a valid JWT token.

E

Endpoints: - Search tag in class com.needleandstitch.pavuk.controller.ClothingItemController
Section
Endpoints: - Search tag in class com.needleandstitch.pavuk.controller.RoleController
Section
Endpoints: - Search tag in class com.needleandstitch.pavuk.controller.UserController
Section
extractClaim(String, Function<Claims, T>) - Method in class com.needleandstitch.pavuk.security.JwtUtil
Extracts a specific claim from the JWT token.
extractEmail(String) - Method in class com.needleandstitch.pavuk.security.JwtUtil
Extracts the email (subject) from the JWT token to identify the user associated with the token.
extractExpiration(String) - Method in class com.needleandstitch.pavuk.security.JwtUtil
Extracts the expiration date from the JWT token.

F

Fabric - Class in com.needleandstitch.pavuk.model
An entity class for fabric.
Fabric() - Constructor for class com.needleandstitch.pavuk.model.Fabric
Default constructor.
Fabric(String, Image, Set<Color>) - Constructor for class com.needleandstitch.pavuk.model.Fabric
Constructor to create a fabric with a specified name, image, and set of colors.
FabricRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing Fabric entities.
FabricSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default fabrics in the database.
FabricSeeder(FabricRepository, ImageRepository, ColorRepository) - Constructor for class com.needleandstitch.pavuk.data.FabricSeeder
Constructs a new FabricSeeder with the specified repository.
findAll() - Method in class com.needleandstitch.pavuk.service.ClothingItemService
Retrieves a list of all clothing items.
findAll() - Method in class com.needleandstitch.pavuk.service.RoleService
Retrieves all roles.
findAll() - Method in class com.needleandstitch.pavuk.service.UserService
Retrieves all users from the database.
findByEmail(String) - Method in interface com.needleandstitch.pavuk.repository.UserRepository
Finds a user by its email.
findByEmail(String) - Method in class com.needleandstitch.pavuk.service.UserService
Finds a user by their email address.
findByHex(String) - Method in interface com.needleandstitch.pavuk.repository.ColorRepository
Finds a color by its hex code.
findById(Long) - Method in class com.needleandstitch.pavuk.service.ClothingItemService
Retrieves a clothing item by its ID.
findById(Long) - Method in class com.needleandstitch.pavuk.service.RoleService
Finds a role by its ID.
findById(Long) - Method in class com.needleandstitch.pavuk.service.UserService
Finds a user by their ID.
findByName(String) - Method in interface com.needleandstitch.pavuk.repository.CategoryRepository
Finds a category by its name.
findByName(String) - Method in interface com.needleandstitch.pavuk.repository.ClothingItemRepository
Finds a clothing item by its name.
findByName(String) - Method in interface com.needleandstitch.pavuk.repository.FabricRepository
Finds a fabric by its name.
findByName(String) - Method in interface com.needleandstitch.pavuk.repository.ImageRepository
Finds an image by its name.
findByName(String) - Method in interface com.needleandstitch.pavuk.repository.PostServiceRepository
Finds a post service by its name.
findByName(String) - Method in interface com.needleandstitch.pavuk.repository.RoleRepository
Finds a role by its name.
findByName(String) - Method in class com.needleandstitch.pavuk.service.RoleService
Finds a role by its name.
findByPostalCode(String) - Method in interface com.needleandstitch.pavuk.repository.ShippingInfoRepository
Finds a user shipping information by its postal code.
findByUserEmail(String) - Method in interface com.needleandstitch.pavuk.repository.CustomerRepository
Finds a user by its email.

G

generateToken(User) - Method in class com.needleandstitch.pavuk.security.JwtUtil
Generates a JWT token for a given user.
getAllClothingItems() - Method in class com.needleandstitch.pavuk.controller.ClothingItemController
Retrieves all clothing items.
getAllRoles() - Method in class com.needleandstitch.pavuk.controller.RoleController
Retrieves all roles.
getAllUsers() - Method in class com.needleandstitch.pavuk.controller.UserController
Endpoint to retrieve all users.
getCategory() - Method in class com.needleandstitch.pavuk.model.ClothingItem
Gets the category of the clothing item.
getCity() - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Gets the city of the shipping address.
getClothingItem() - Method in class com.needleandstitch.pavuk.model.ClothingItemPart
Gets the clothing item associated with this part.
getClothingItem() - Method in class com.needleandstitch.pavuk.model.Order
Gets the clothing item that was ordered.
getClothingItemById(Long) - Method in class com.needleandstitch.pavuk.controller.ClothingItemController
Endpoint to retrieve a clothing item by its ID.
getColors() - Method in class com.needleandstitch.pavuk.model.Fabric
Gets the set of colors associated with the fabric.
getCountry() - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Gets the country of the shipping address.
getCurrentUser(HttpServletRequest) - Method in class com.needleandstitch.pavuk.controller.UserController
Endpoint to retrieve the currently authenticated user based on the JWT token from cookies.
getCustomer() - Method in class com.needleandstitch.pavuk.model.Order
Gets the customer who placed the order.
getDateOfBirth() - Method in class com.needleandstitch.pavuk.model.User
Gets the date of birth of the user.
getDescription() - Method in class com.needleandstitch.pavuk.model.ClothingItem
Gets the description of the clothing item.
getEmail() - Method in class com.needleandstitch.pavuk.model.User
Gets the email of the user.
getFabric() - Method in class com.needleandstitch.pavuk.model.ClothingItemPart
Gets the fabric used for this clothing item part.
getFirstName() - Method in class com.needleandstitch.pavuk.model.User
Gets the first name of the user.
getHex() - Method in class com.needleandstitch.pavuk.model.Color
Gets the hex code representing the color.
getId() - Method in class com.needleandstitch.pavuk.model.Category
Gets the unique identifier of the category.
getId() - Method in class com.needleandstitch.pavuk.model.ClothingItem
Gets the unique identifier of the clothing item.
getId() - Method in class com.needleandstitch.pavuk.model.ClothingItemPart
Gets the unique identifier of the clothing item part.
getId() - Method in class com.needleandstitch.pavuk.model.Color
Gets the unique identifier for the color.
getId() - Method in class com.needleandstitch.pavuk.model.Customer
Gets the unique identifier for the customer.
getId() - Method in class com.needleandstitch.pavuk.model.Fabric
Gets the unique identifier for the fabric.
getId() - Method in class com.needleandstitch.pavuk.model.Image
Gets the unique identifier for the image.
getId() - Method in class com.needleandstitch.pavuk.model.Order
Gets the unique identifier for the order.
getId() - Method in class com.needleandstitch.pavuk.model.PostService
Gets the unique identifier for the post service.
getId() - Method in class com.needleandstitch.pavuk.model.Role
Gets the unique identifier for the role.
getId() - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Gets the unique identifier for the shipping information.
getId() - Method in class com.needleandstitch.pavuk.model.Tailor
Gets the unique identifier for the tailor.
getId() - Method in class com.needleandstitch.pavuk.model.User
Gets the unique identifier of the user.
getImage() - Method in class com.needleandstitch.pavuk.model.ClothingItemPart
Gets the image associated with this clothing item part.
getImage() - Method in class com.needleandstitch.pavuk.model.Fabric
Gets the image associated with the fabric.
getImages() - Method in class com.needleandstitch.pavuk.model.ClothingItem
Gets the set of images associated with the clothing item.
getIsPrimary() - Method in class com.needleandstitch.pavuk.model.Image
Gets whether the image is marked as the primary image.
getLastName() - Method in class com.needleandstitch.pavuk.model.User
Gets the last name of the user.
getName() - Method in class com.needleandstitch.pavuk.model.Category
Gets the name of the category.
getName() - Method in class com.needleandstitch.pavuk.model.ClothingItem
Gets the name of the clothing item.
getName() - Method in class com.needleandstitch.pavuk.model.Fabric
Gets the name of the fabric.
getName() - Method in class com.needleandstitch.pavuk.model.Image
Gets the name of the image.
getName() - Method in class com.needleandstitch.pavuk.model.PostService
Gets the name of the post service.
getName() - Method in class com.needleandstitch.pavuk.model.Role
Gets the name of the role.
getNewsletterSubscription() - Method in class com.needleandstitch.pavuk.model.User
Gets the whether the user is subscribed to the newsletter.
getOnlineDate() - Method in class com.needleandstitch.pavuk.model.User
Gets the last time user was online.
getOrderDate() - Method in class com.needleandstitch.pavuk.model.Order
Gets the date when the order was placed.
getPassword() - Method in class com.needleandstitch.pavuk.model.User
Gets the password of the user.
getPhone() - Method in class com.needleandstitch.pavuk.model.User
Gets the phone number of the user.
getPostalCode() - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Gets the postal code of the shipping address.
getPostService() - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Gets the post service used for shipping.
getPrice() - Method in class com.needleandstitch.pavuk.model.ClothingItem
Gets the price of the clothing item.
getRegion() - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Gets the region (state) of the shipping address.
getRegistrationDate() - Method in class com.needleandstitch.pavuk.model.User
Gets the registration date of the user.
getRole() - Method in class com.needleandstitch.pavuk.model.User
Gets the role of the user.
getRoleById(Long) - Method in class com.needleandstitch.pavuk.controller.RoleController
Retrieves a role by its ID.
getRoleByName(String) - Method in class com.needleandstitch.pavuk.controller.RoleController
Retrieves a role by its name.
getShippingInfo() - Method in class com.needleandstitch.pavuk.model.Order
Gets the shipping information for the order.
getStatus() - Method in class com.needleandstitch.pavuk.model.Order
Gets the status of the order.
getStatus() - Method in class com.needleandstitch.pavuk.model.User
Gets the status of the user.
getTailor() - Method in class com.needleandstitch.pavuk.model.User
Gets the tailor of the user.
getUrl() - Method in class com.needleandstitch.pavuk.model.Image
Gets the URL of the image.
getUser() - Method in class com.needleandstitch.pavuk.model.Customer
Gets the user associated with this customer.
getUser() - Method in class com.needleandstitch.pavuk.model.Tailor
Gets the associated user for the tailor.
getUserById(Long) - Method in class com.needleandstitch.pavuk.controller.UserController
Endpoint to retrieve a clothing item by its ID.
getYearsOfExperience() - Method in class com.needleandstitch.pavuk.model.Tailor
Gets the number of years of experience the tailor has.

I

IDLE - Enum constant in enum class com.needleandstitch.pavuk.model.User.Status
The user is idle and not actively interacting, but still logged in.
Image - Class in com.needleandstitch.pavuk.model
An entity class for image.
Image() - Constructor for class com.needleandstitch.pavuk.model.Image
Default constructor.
Image(String, String, boolean) - Constructor for class com.needleandstitch.pavuk.model.Image
Constructor to create an image with a specified name, URL, and primary status.
ImageRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing Image entities.
ImageSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default images in the database.
ImageSeeder(ImageRepository) - Constructor for class com.needleandstitch.pavuk.data.ImageSeeder
Constructs a new ImageSeeder with the specified repository.
isTokenValid(String) - Method in class com.needleandstitch.pavuk.security.JwtUtil
Validates the JWT token.

J

JwtFilter - Class in com.needleandstitch.pavuk.security
Filter for JWT token validation.
JwtFilter(JwtUtil, UserRepository) - Constructor for class com.needleandstitch.pavuk.security.JwtFilter
Filter constructor.
JwtUtil - Class in com.needleandstitch.pavuk.security
Utility class for handling JWT token operations, such as generating, parsing, and validating JWT tokens.
JwtUtil() - Constructor for class com.needleandstitch.pavuk.security.JwtUtil
 

M

main(String[]) - Static method in class com.needleandstitch.pavuk.PavukApplication
 

O

OFFLINE - Enum constant in enum class com.needleandstitch.pavuk.model.User.Status
The user is not online or logged in.
ONLINE - Enum constant in enum class com.needleandstitch.pavuk.model.User.Status
The user is currently online and active.
Order - Class in com.needleandstitch.pavuk.model
An entity class for order.
Order() - Constructor for class com.needleandstitch.pavuk.model.Order
Default constructor.
Order(Customer, ClothingItem, ShippingInfo) - Constructor for class com.needleandstitch.pavuk.model.Order
Constructor to create a new order with the specified customer, clothing item, and shipping information.
Order.Status - Enum Class in com.needleandstitch.pavuk.model
Enum representing the possible statuses of an order.
OrderRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing Order entities.
OrderSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default orders in the database.
OrderSeeder(OrderRepository, CustomerRepository, ClothingItemRepository, ShippingInfoRepository) - Constructor for class com.needleandstitch.pavuk.data.OrderSeeder
Constructs a new OrderSeeder with the specified repository.

P

PavukApplication - Class in com.needleandstitch.pavuk
 
PavukApplication() - Constructor for class com.needleandstitch.pavuk.PavukApplication
 
PENDING - Enum constant in enum class com.needleandstitch.pavuk.model.Order.Status
The order is pending and has not been processed yet.
PostService - Class in com.needleandstitch.pavuk.model
An entity class for post service.
PostService() - Constructor for class com.needleandstitch.pavuk.model.PostService
Default constructor.
PostService(String) - Constructor for class com.needleandstitch.pavuk.model.PostService
 
PostServiceRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing PostService entities.
PostServiceSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default post services in the database.
PostServiceSeeder(PostServiceRepository) - Constructor for class com.needleandstitch.pavuk.data.PostServiceSeeder
Constructs a new PostServiceSeeder with the specified repository.
PROCESSING - Enum constant in enum class com.needleandstitch.pavuk.model.Order.Status
The order is currently being processed.

R

Role - Class in com.needleandstitch.pavuk.model
An entity class for role.
Role() - Constructor for class com.needleandstitch.pavuk.model.Role
Default constructor.
Role(String) - Constructor for class com.needleandstitch.pavuk.model.Role
Constructor to create a new role with the specified name.
RoleController - Class in com.needleandstitch.pavuk.controller
REST controller for managing Role objects.
RoleController() - Constructor for class com.needleandstitch.pavuk.controller.RoleController
 
RoleRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing Role entities.
RoleSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default roles in the database.
RoleSeeder(RoleRepository) - Constructor for class com.needleandstitch.pavuk.data.RoleSeeder
Constructs a new RoleSeeder with the specified repository.
RoleService - Class in com.needleandstitch.pavuk.service
Service layer for managing roles.
RoleService() - Constructor for class com.needleandstitch.pavuk.service.RoleService
 
run(String...) - Method in class com.needleandstitch.pavuk.data.CategorySeeder
Seeds the database with default categories if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.ClothingItemSeeder
Seeds the database with default clothing items if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.ColorSeeder
Seeds the database with default colors if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.CustomerSeeder
Seeds the database with default customers if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.FabricSeeder
Seeds the database with default fabrics if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.ImageSeeder
Seeds the database with default images if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.OrderSeeder
Seeds the database with default orders if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.PostServiceSeeder
Seeds the database with default post services if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.RoleSeeder
Seeds the database with default roles if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.ShippingInfoSeeder
Seeds the database with default shipping infos if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.TailorSeeder
Seeds the database with default tailors if they are not already present.
run(String...) - Method in class com.needleandstitch.pavuk.data.UserSeeder
Seeds the database with default users if they are not already present.

S

SecurityConfig - Class in com.needleandstitch.pavuk.config
Configuration class for setting up application security.
SecurityConfig(JwtFilter) - Constructor for class com.needleandstitch.pavuk.config.SecurityConfig
Constructor for SecurityConfig that injects the required JwtFilter.
setCategory(Category) - Method in class com.needleandstitch.pavuk.model.ClothingItem
Sets the category of the clothing item.
setCity(String) - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Sets the city of the shipping address.
setClothingItem(ClothingItem) - Method in class com.needleandstitch.pavuk.model.ClothingItemPart
Sets the clothing item associated with this part.
setClothingItem(ClothingItem) - Method in class com.needleandstitch.pavuk.model.Order
Sets the clothing item that was ordered.
setColors(Set<Color>) - Method in class com.needleandstitch.pavuk.model.Fabric
Sets the set of colors associated with the fabric.
setCountry(String) - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Sets the country of the shipping address.
setCustomer(Customer) - Method in class com.needleandstitch.pavuk.model.Order
Sets the customer who placed the order.
setDateOfBirth(LocalDate) - Method in class com.needleandstitch.pavuk.model.User
Sets the date of birth of the user.
setDescription(String) - Method in class com.needleandstitch.pavuk.model.ClothingItem
Sets the description of the clothing item.
setEmail(String) - Method in class com.needleandstitch.pavuk.model.User
Sets the email of the user.
setFabric(Fabric) - Method in class com.needleandstitch.pavuk.model.ClothingItemPart
Sets the fabric used for this clothing item part.
setFirstName(String) - Method in class com.needleandstitch.pavuk.model.User
Sets the first name of the user.
setHex(String) - Method in class com.needleandstitch.pavuk.model.Color
Sets the hex code representing the color.
setId(Long) - Method in class com.needleandstitch.pavuk.model.Category
Sets the unique identifier for the category.
setId(Long) - Method in class com.needleandstitch.pavuk.model.ClothingItem
Sets the unique identifier for the clothing item.
setId(Long) - Method in class com.needleandstitch.pavuk.model.ClothingItemPart
Sets the unique identifier for the clothing item part.
setId(Long) - Method in class com.needleandstitch.pavuk.model.Color
Sets the unique identifier for the color.
setId(Long) - Method in class com.needleandstitch.pavuk.model.Customer
Sets the unique identifier for the customer.
setId(Long) - Method in class com.needleandstitch.pavuk.model.Fabric
Sets the unique identifier for the fabric.
setId(Long) - Method in class com.needleandstitch.pavuk.model.Image
Sets the unique identifier for the image.
setId(Long) - Method in class com.needleandstitch.pavuk.model.Order
Sets the unique identifier for the order.
setId(Long) - Method in class com.needleandstitch.pavuk.model.PostService
Sets the unique identifier for the post service.
setId(Long) - Method in class com.needleandstitch.pavuk.model.Role
Sets the unique identifier for the role.
setId(Long) - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Sets the unique identifier for the shipping information.
setId(Long) - Method in class com.needleandstitch.pavuk.model.Tailor
Sets the unique identifier for the tailor.
setId(Long) - Method in class com.needleandstitch.pavuk.model.User
Sets the unique identifier of the user.
setImage(Image) - Method in class com.needleandstitch.pavuk.model.ClothingItemPart
Sets the image associated with this clothing item part.
setImage(Image) - Method in class com.needleandstitch.pavuk.model.Fabric
Sets the image associated with the fabric.
setImages(Set<Image>) - Method in class com.needleandstitch.pavuk.model.ClothingItem
Sets the set of images associated with the clothing item.
setIsPrimary(boolean) - Method in class com.needleandstitch.pavuk.model.Image
Sets whether the image is marked as the primary image.
setLastName(String) - Method in class com.needleandstitch.pavuk.model.User
Sets the last name of the user.
setName(String) - Method in class com.needleandstitch.pavuk.model.Category
Sets the name of the category.
setName(String) - Method in class com.needleandstitch.pavuk.model.ClothingItem
Sets the name of the clothing item.
setName(String) - Method in class com.needleandstitch.pavuk.model.Fabric
Sets the name of the fabric.
setName(String) - Method in class com.needleandstitch.pavuk.model.Image
Sets the name of the image.
setName(String) - Method in class com.needleandstitch.pavuk.model.PostService
Sets the name of the post service.
setName(String) - Method in class com.needleandstitch.pavuk.model.Role
Sets the name of the role.
setNewsletterSubscription(Boolean) - Method in class com.needleandstitch.pavuk.model.User
Sets the whether the user is subscribed to the newsletter.
setOnlineDate(LocalDateTime) - Method in class com.needleandstitch.pavuk.model.User
Sets the last time user was online.
setOrderDate(LocalDateTime) - Method in class com.needleandstitch.pavuk.model.Order
Sets the date when the order was placed.
setPassword(String) - Method in class com.needleandstitch.pavuk.model.User
Sets the password of the user.
setPhone(String) - Method in class com.needleandstitch.pavuk.model.User
Sets the phone number of the user.
setPostalCode(String) - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Sets the postal code of the shipping address.
setPostService(PostService) - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Sets the post service used for shipping.
setPrice(BigDecimal) - Method in class com.needleandstitch.pavuk.model.ClothingItem
Sets the price of the clothing item.
setRegion(String) - Method in class com.needleandstitch.pavuk.model.ShippingInfo
Sets the region (state) of the shipping address.
setRegistrationDate(LocalDateTime) - Method in class com.needleandstitch.pavuk.model.User
Sets the registration date of the user.
setRole(Role) - Method in class com.needleandstitch.pavuk.model.User
Sets the role of the user.
setShippingInfo(ShippingInfo) - Method in class com.needleandstitch.pavuk.model.Order
Sets the shipping information for the order.
setStatus(Order.Status) - Method in class com.needleandstitch.pavuk.model.Order
Sets the status of the order.
setStatus(User.Status) - Method in class com.needleandstitch.pavuk.model.User
Sets the status of the user.
setTailor(Tailor) - Method in class com.needleandstitch.pavuk.model.User
Sets the status of the user.
setUrl(String) - Method in class com.needleandstitch.pavuk.model.Image
Sets the URL of the image.
setUser(User) - Method in class com.needleandstitch.pavuk.model.Customer
Sets the user associated with this customer.
setUser(User) - Method in class com.needleandstitch.pavuk.model.Tailor
Sets the associated user for the tailor.
setYearsOfExperience(int) - Method in class com.needleandstitch.pavuk.model.Tailor
Sets the number of years of experience the tailor has.
SHIPPED - Enum constant in enum class com.needleandstitch.pavuk.model.Order.Status
The order has been shipped and is on its way.
ShippingInfo - Class in com.needleandstitch.pavuk.model
An entity class for shipping info.
ShippingInfo() - Constructor for class com.needleandstitch.pavuk.model.ShippingInfo
Default constructor.
ShippingInfo(String, String, String, String, PostService) - Constructor for class com.needleandstitch.pavuk.model.ShippingInfo
Constructor to create a new shipping information record.
ShippingInfoRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing ShippingInfo entities.
ShippingInfoSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default shipping infos in the database.
ShippingInfoSeeder(ShippingInfoRepository, PostServiceRepository) - Constructor for class com.needleandstitch.pavuk.data.ShippingInfoSeeder
Constructs a new ShippingInfoSeeder with the specified repository.
signIn(User, HttpServletResponse) - Method in class com.needleandstitch.pavuk.controller.UserController
Endpoint to authenticate a user and return their information.
signInUser(String, String) - Method in class com.needleandstitch.pavuk.service.UserService
Authenticates a user by email and password.
signOut(HttpServletResponse) - Method in class com.needleandstitch.pavuk.controller.UserController
Endpoint to log the user out by removing the JWT cookie.

T

Tailor - Class in com.needleandstitch.pavuk.model
An entity class for tailor.
Tailor() - Constructor for class com.needleandstitch.pavuk.model.Tailor
Default constructor.
Tailor(User, int) - Constructor for class com.needleandstitch.pavuk.model.Tailor
Constructor to create a new tailor.
TailorController - Class in com.needleandstitch.pavuk.controller
 
TailorController() - Constructor for class com.needleandstitch.pavuk.controller.TailorController
 
TailorRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing Tailor entities.
TailorSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default tailors in the database.
TailorSeeder(TailorRepository, UserRepository) - Constructor for class com.needleandstitch.pavuk.data.TailorSeeder
Constructs a new TailorSeeder with the specified repository.

U

updateClothingItem(Long, ClothingItem) - Method in class com.needleandstitch.pavuk.controller.ClothingItemController
Endpoint to update an existing clothing item by its ID.
updateClothingItem(Long, String, String, BigDecimal, Set<Image>, Category) - Method in class com.needleandstitch.pavuk.service.ClothingItemService
Updates an existing clothing item.
updateRole(Long, Role) - Method in class com.needleandstitch.pavuk.controller.RoleController
Updates an existing role's name.
updateRole(Long, String) - Method in class com.needleandstitch.pavuk.service.RoleService
Updates an existing role.
updateUser(Long, User) - Method in class com.needleandstitch.pavuk.controller.UserController
Endpoint to update an existing user by its ID.
updateUser(Long, String) - Method in class com.needleandstitch.pavuk.service.UserService
Updates the email address of a user.
Usage: - Search tag in class com.needleandstitch.pavuk.service.ClothingItemService
Section
Usage: - Search tag in class com.needleandstitch.pavuk.service.RoleService
Section
Usage: - Search tag in class com.needleandstitch.pavuk.service.UserService
Section
User - Class in com.needleandstitch.pavuk.model
An entity class for user.
User() - Constructor for class com.needleandstitch.pavuk.model.User
Default constructor.
User(String, String, LocalDate, String, String, Boolean, String) - Constructor for class com.needleandstitch.pavuk.model.User
Constructor to create a new user with the specified information.
User(String, String, LocalDate, String, String, Boolean, String, Role) - Constructor for class com.needleandstitch.pavuk.model.User
Constructor to create a new user with the specified information.
User.Status - Enum Class in com.needleandstitch.pavuk.model
Enum representing the status of a user.
UserController - Class in com.needleandstitch.pavuk.controller
REST controller for managing User objects.
UserController() - Constructor for class com.needleandstitch.pavuk.controller.UserController
 
UserRepository - Interface in com.needleandstitch.pavuk.repository
Repository interface for managing User entities.
UserSeeder - Class in com.needleandstitch.pavuk.data
Seeder class for initializing default users in the database.
UserSeeder(UserRepository, RoleRepository, BCryptPasswordEncoder) - Constructor for class com.needleandstitch.pavuk.data.UserSeeder
Constructs a new UserSeeder with the specified repository.
UserService - Class in com.needleandstitch.pavuk.service
Service layer for managing users.
UserService() - Constructor for class com.needleandstitch.pavuk.service.UserService
 

V

valueOf(String) - Static method in enum class com.needleandstitch.pavuk.model.Order.Status
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.needleandstitch.pavuk.model.User.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.needleandstitch.pavuk.model.Order.Status
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.needleandstitch.pavuk.model.User.Status
Returns an array containing the constants of this enum class, in the order they are declared.
B C D E F G I J M O P R S T U V 
All Classes and Interfaces|All Packages