Package com.mt.ecommerce.product.service
Class VendorService
java.lang.Object
com.mt.ecommerce.product.service.VendorService
Service class for managing vendors.
Provides methods for retrieving vendor information.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VendorService
-
-
Method Details
-
vendorBOS
Retrieves all vendors.- Returns:
- a list of VendorBO objects representing all vendors
-
findByName
Finds a vendor by store name.- Parameters:
vendorName
- the store name of the vendor to find- Returns:
- the VendorBO object representing the found vendor
- Throws:
IllegalArgumentException
- if no vendor is found with the specified store name
-