Uses of Class
catalog.model.exception.CatalogException

Packages that use CatalogException
catalog.model.exception   
catalog.model.service   
catalog.model.service.impl   
catalog.model.util   
catalog.view.builder   
 

Uses of CatalogException in catalog.model.exception
 

Subclasses of CatalogException in catalog.model.exception
 class DuplicateProductIdException
          Exception thrown when a product with duplicate id is to be inserted.
 class UsernameNotExistException
          Exception thrown when a user tries to use a non-existing username to log in.
 

Uses of CatalogException in catalog.model.service
 

Methods in catalog.model.service that throw CatalogException
 User UserService.login(java.lang.String username, java.lang.String password)
          Login a user using username and password.
 void UserService.sendEmail(java.lang.String senderAddress, java.lang.String senderName, java.lang.String sub, java.lang.String msg)
          Send email to the administrator.
 Product CatalogService.saveProduct(Product product)
          Save the product.
 void CatalogService.updateProduct(Product product)
          Update product.
 void CatalogService.deleteProduct(Product product)
          Delete product.
 Product CatalogService.getProduct(java.lang.String productId)
          Get product by product id.
 Category CatalogService.getCategory(java.lang.String categoryId)
          Get category by id.
 java.util.List CatalogService.getAllProducts()
          Get all products.
 java.util.List CatalogService.getAllCategories()
          Get all categories.
 

Uses of CatalogException in catalog.model.service.impl
 

Methods in catalog.model.service.impl that throw CatalogException
 User UserServiceImpl.login(java.lang.String username, java.lang.String password)
           
 void UserServiceImpl.sendEmail(java.lang.String senderAddress, java.lang.String senderName, java.lang.String sub, java.lang.String msg)
           
 Product CatalogServiceImpl.saveProduct(Product product)
           
 void CatalogServiceImpl.updateProduct(Product product)
           
 void CatalogServiceImpl.deleteProduct(Product product)
           
 Product CatalogServiceImpl.getProduct(java.lang.String id)
           
 Category CatalogServiceImpl.getCategory(java.lang.String id)
           
 java.util.List CatalogServiceImpl.getAllProducts()
           
 java.util.List CatalogServiceImpl.getAllCategories()
           
 Product CachedCatalogServiceImpl.saveProduct(Product product)
           
 void CachedCatalogServiceImpl.updateProduct(Product product)
           
 void CachedCatalogServiceImpl.deleteProduct(Product product)
           
 void CachedCatalogServiceImpl.init()
           
 

Constructors in catalog.model.service.impl that throw CatalogException
CachedCatalogServiceImpl()
          Default constructor.
 

Uses of CatalogException in catalog.model.util
 

Methods in catalog.model.util that throw CatalogException
static void EmailUtil.sendEmail(java.lang.String smtpHost, java.lang.String senderAddress, java.lang.String senderName, java.lang.String receiverAddress, java.lang.String sub, java.lang.String msg)
          Send email to a single recipient.
static void EmailUtil.sendEmail(java.lang.String smtpHost, java.lang.String senderAddress, java.lang.String senderName, java.util.List recipients, java.lang.String sub, java.lang.String msg)
          Send email to a list of recipients.
 

Uses of CatalogException in catalog.view.builder
 

Methods in catalog.view.builder that throw CatalogException
static UserBean UserBuilder.createUserBean(User user)
          Create a new UserBean based on a User business object.
static void ProductBuilder.populateProductBean(ProductBean productBean, Product product)
          Populate the ProductBean based on the Product business object.
static ProductBean ProductBuilder.createProductBean(Product product)
          Create a new ProductBean based on the Product business object.
static Product ProductBuilder.createProduct(ProductBean productBean)
          Create a new Product based on the ProductBean
 



Copyright (c) 2004 The JCatalog Project.