A B C D E F G I L M N P R S T U V

A

APPLICATION_BEAN - Static variable in class catalog.view.bean.BeanNames
 
ApplicationBean - class catalog.view.bean.ApplicationBean.
The managed bean with application scope.
ApplicationBean() - Constructor for class catalog.view.bean.ApplicationBean
Default Constructor.
addCategoryId(String) - Method in class catalog.model.businessobject.Product
 
addErrorMessage(String) - Static method in class catalog.view.util.FacesUtils
Add error message.
addErrorMessage(String, String) - Static method in class catalog.view.util.FacesUtils
Add error message to a sepcific client.
addInfoMessage(String) - Static method in class catalog.view.util.FacesUtils
Add information message.
addInfoMessage(String, String) - Static method in class catalog.view.util.FacesUtils
Add information message to a sepcific client.

B

BaseBean - class catalog.view.bean.BaseBean.
 
BaseBean() - Constructor for class catalog.view.bean.BaseBean
 
BeanNames - class catalog.view.bean.BeanNames.
Constants for all the managed bean names.
BeanNames() - Constructor for class catalog.view.bean.BeanNames
 

C

CachedCatalogServiceImpl - class catalog.model.service.impl.CachedCatalogServiceImpl.
The implementation of the CatalogService.
CachedCatalogServiceImpl() - Constructor for class catalog.model.service.impl.CachedCatalogServiceImpl
Default constructor.
CatalogDao - interface catalog.model.dao.CatalogDao.
Catalog DAO interface.
CatalogDaoHibernateImpl - class catalog.model.dao.hibernate.CatalogDaoHibernateImpl.
The Hibernate implementation of the CatalogDao.
CatalogDaoHibernateImpl() - Constructor for class catalog.model.dao.hibernate.CatalogDaoHibernateImpl
Default constructor.
CatalogException - exception catalog.model.exception.CatalogException.
Base checked exception for the JCatalog Project.
CatalogException(String) - Constructor for class catalog.model.exception.CatalogException
Constructor with error message.
CatalogException(String, Throwable) - Constructor for class catalog.model.exception.CatalogException
Constructor with error message and root cause.
CatalogService - interface catalog.model.service.CatalogService.
The catalog business service interface.
CatalogServiceImpl - class catalog.model.service.impl.CatalogServiceImpl.
The implementation of the CatalogService.
CatalogServiceImpl() - Constructor for class catalog.model.service.impl.CatalogServiceImpl
 
Category - class catalog.model.businessobject.Category.
Category business object.
Category() - Constructor for class catalog.model.businessobject.Category
Default constructor.
catalog.model.businessobject - package catalog.model.businessobject
 
catalog.model.dao - package catalog.model.dao
 
catalog.model.dao.hibernate - package catalog.model.dao.hibernate
 
catalog.model.exception - package catalog.model.exception
 
catalog.model.service - package catalog.model.service
 
catalog.model.service.impl - package catalog.model.service.impl
 
catalog.model.util - package catalog.model.util
 
catalog.view.bean - package catalog.view.bean
 
catalog.view.builder - package catalog.view.builder
 
catalog.view.servicelocator - package catalog.view.servicelocator
 
catalog.view.util - package catalog.view.util
 
catalog.view.validator - package catalog.view.validator
 
convertToList(Set) - Static method in class catalog.view.util.ViewUtils
Convert a set to a list.
convertToSet(List) - Static method in class catalog.view.util.ViewUtils
Convert a list to a set.
createAction() - Method in class catalog.view.bean.ProductBean
Backing bean action to create a new product.
createProduct(ProductBean) - Static method in class catalog.view.builder.ProductBuilder
Create a new Product based on the ProductBean
createProductBean(Product) - Static method in class catalog.view.builder.ProductBuilder
Create a new ProductBean based on the Product business object.
createUserBean(User) - Static method in class catalog.view.builder.UserBuilder
Create a new UserBean based on a User business object.
createValidator() - Method in class catalog.view.validator.SelectedItemsRangeValidatorTag
Create the validator associated with the tag.

D

DuplicateProductIdException - exception catalog.model.exception.DuplicateProductIdException.
Exception thrown when a product with duplicate id is to be inserted.
DuplicateProductIdException(String, Throwable) - Constructor for class catalog.model.exception.DuplicateProductIdException
Constructor.
deleteAction() - Method in class catalog.view.bean.ProductBean
Backing bean action to delete product.
deleteProduct(Product) - Method in interface catalog.model.dao.CatalogDao
Delete product.
deleteProduct(Product) - Method in class catalog.model.dao.hibernate.CatalogDaoHibernateImpl
 
deleteProduct(Product) - Method in interface catalog.model.service.CatalogService
Delete product.
deleteProduct(Product) - Method in class catalog.model.service.impl.CachedCatalogServiceImpl
 
deleteProduct(Product) - Method in class catalog.model.service.impl.CatalogServiceImpl
 
destroy() - Method in class catalog.view.util.SecurityFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class catalog.view.util.SecurityFilter
Standard doFilter object.
doGet(HttpServletRequest, HttpServletResponse) - Method in class catalog.view.util.FileUploadServlet
Standard servlet doGet method.
doPost(HttpServletRequest, HttpServletResponse) - Method in class catalog.view.util.FileUploadServlet
Standard servlet doPost method.

E

EmailUtil - class catalog.model.util.EmailUtil.
Utility class to send email.
EmailUtil() - Constructor for class catalog.model.util.EmailUtil
 
evalInt(String) - Static method in class catalog.view.util.FacesUtils
Evaluate the integer value of a JSF expression.

F

FacesUtils - class catalog.view.util.FacesUtils.
Utility class for JavaServer Faces.
FacesUtils() - Constructor for class catalog.view.util.FacesUtils
 
FileUploadServlet - class catalog.view.util.FileUploadServlet.
The file upload utility.
FileUploadServlet() - Constructor for class catalog.view.util.FileUploadServlet
 

G

getAllCategories() - Method in interface catalog.model.dao.CatalogDao
Get all categories.
getAllCategories() - Method in class catalog.model.dao.hibernate.CatalogDaoHibernateImpl
 
getAllCategories() - Method in interface catalog.model.service.CatalogService
Get all categories.
getAllCategories() - Method in class catalog.model.service.impl.CachedCatalogServiceImpl
 
getAllCategories() - Method in class catalog.model.service.impl.CatalogServiceImpl
 
getAllProducts() - Method in interface catalog.model.dao.CatalogDao
Get all the products.
getAllProducts() - Method in class catalog.model.dao.hibernate.CatalogDaoHibernateImpl
 
getAllProducts() - Method in interface catalog.model.service.CatalogService
Get all products.
getAllProducts() - Method in class catalog.model.service.impl.CachedCatalogServiceImpl
 
getAllProducts() - Method in class catalog.model.service.impl.CatalogServiceImpl
 
getApplicationBean() - Static method in class catalog.view.util.FacesUtils
Get ApplicationBean.
getCatalogService() - Method in class catalog.view.bean.ServiceLocatorBean
Get the CatalogService
getCatalogService() - Method in interface catalog.view.servicelocator.ServiceLocator
Get the CatalogService.
getCategory(String) - Method in interface catalog.model.dao.CatalogDao
Get category by category id.
getCategory(String) - Method in class catalog.model.dao.hibernate.CatalogDaoHibernateImpl
 
getCategory(String) - Method in interface catalog.model.service.CatalogService
Get category by id.
getCategory(String) - Method in class catalog.model.service.impl.CachedCatalogServiceImpl
 
getCategory(String) - Method in class catalog.model.service.impl.CatalogServiceImpl
 
getCategoryIds() - Method in class catalog.model.businessobject.Product
 
getCategoryIds() - Method in class catalog.view.bean.ProductBean
 
getCategoryName(String) - Method in class catalog.view.bean.ApplicationBean
Get the category name by category id.
getCategorySelectItems() - Method in class catalog.view.bean.ApplicationBean
 
getContent() - Method in class catalog.view.bean.MessageBean
 
getCurrentCategoryId() - Method in class catalog.view.bean.ProductListBean
 
getCurrentCategoryName() - Method in class catalog.view.bean.ProductListBean
 
getCurrentProductBeans() - Method in class catalog.view.bean.ProductListBean
 
getCurrentProductId() - Method in class catalog.view.bean.SessionBean
 
getDescription() - Method in class catalog.model.businessobject.Category
 
getDescription() - Method in class catalog.model.businessobject.Product
 
getDescription() - Method in class catalog.view.bean.ProductBean
 
getDummyVariable() - Method in class catalog.view.bean.ApplicationBean
 
getDummyVariable() - Method in class catalog.view.bean.UserBean
 
getEmailAddress() - Method in class catalog.view.bean.MessageBean
 
getFirstName() - Method in class catalog.view.bean.MessageBean
 
getHeight() - Method in class catalog.model.businessobject.Product
 
getHeight() - Method in class catalog.view.bean.ProductBean
 
getId() - Method in class catalog.model.businessobject.Category
 
getId() - Method in class catalog.model.businessobject.Product
 
getId() - Method in class catalog.view.bean.ProductBean
 
getImageUploadResultPage() - Static method in class catalog.view.bean.ApplicationBean
 
getLastName() - Method in class catalog.view.bean.MessageBean
 
getLoggedIn() - Method in class catalog.view.bean.UserBean
 
getManagedBean(String) - Static method in class catalog.view.util.FacesUtils
Get managed bean based on the bean name.
getName() - Method in class catalog.model.businessobject.Category
 
getName() - Method in class catalog.model.businessobject.Product
 
getName() - Method in class catalog.view.bean.ProductBean
 
getPageNo() - Method in class catalog.view.bean.ProductListBean
 
getPassword() - Method in class catalog.model.businessobject.User
 
getPassword() - Method in class catalog.view.bean.UserBean
 
getPrice() - Method in class catalog.model.businessobject.Product
 
getPrice() - Method in class catalog.view.bean.ProductBean
 
getProduct(String) - Method in interface catalog.model.dao.CatalogDao
Get product by product id.
getProduct(String) - Method in class catalog.model.dao.hibernate.CatalogDaoHibernateImpl
 
getProduct(String) - Method in interface catalog.model.service.CatalogService
Get product by product id.
getProduct(String) - Method in class catalog.model.service.impl.CachedCatalogServiceImpl
 
getProduct(String) - Method in class catalog.model.service.impl.CatalogServiceImpl
 
getProductBeans() - Method in class catalog.view.bean.ProductListBean
 
getProductImageDirUri() - Static method in class catalog.view.bean.ApplicationBean
 
getProductsPerPage() - Method in class catalog.view.bean.ApplicationBean
 
getRequestParameter(String) - Static method in class catalog.view.util.FacesUtils
Get parameter value from request scope.
getSelectedCategoryIds() - Method in class catalog.view.bean.ProductBean
 
getServiceLocator() - Method in class catalog.view.bean.BaseBean
 
getServletContext() - Static method in class catalog.view.util.FacesUtils
Get servlet context.
getSessionBean() - Static method in class catalog.view.util.FacesUtils
Get SessionBean.
getShortDescription() - Method in class catalog.view.bean.ProductBean
Get the short description of the product.
getTotalPages() - Method in class catalog.view.bean.ProductListBean
 
getUser(String) - Method in interface catalog.model.dao.UserDao
Get user by username.
getUser(String) - Method in class catalog.model.dao.hibernate.UserDaoHibernateImpl
 
getUserService() - Method in class catalog.view.bean.ServiceLocatorBean
Get the UserService
getUserService() - Method in interface catalog.view.servicelocator.ServiceLocator
Get the UserService.
getUsername() - Method in class catalog.model.businessobject.User
 
getUsername() - Method in class catalog.model.exception.UsernameNotExistException
 
getUsername() - Method in class catalog.view.bean.UserBean
 
getWidth() - Method in class catalog.model.businessobject.Product
 
getWidth() - Method in class catalog.view.bean.ProductBean
 

I

init() - Method in class catalog.model.service.impl.CachedCatalogServiceImpl
 
init() - Method in class catalog.view.bean.ApplicationBean
Initializes the ApplicationBean.
init() - Method in class catalog.view.bean.BaseBean
Used to initialize the managed bean.
init() - Method in class catalog.view.bean.ProductBean
Initializes ProductBean.
init() - Method in class catalog.view.bean.ProductListBean
Initializes the ProductListBean.
init(FilterConfig) - Method in class catalog.view.util.SecurityFilter
Initializes the Filter.

L

logger - Variable in class catalog.view.bean.BaseBean
 
login(String, String) - Method in interface catalog.model.service.UserService
Login a user using username and password.
login(String, String) - Method in class catalog.model.service.impl.UserServiceImpl
 
loginAction() - Method in class catalog.view.bean.UserBean
Backing bean action to login a user.
logoutAction() - Method in class catalog.view.bean.UserBean
The backing bean action to logout a user.
lookupService(String) - Method in class catalog.view.bean.ServiceLocatorBean
Lookup service based on service bean name.

M

MessageBean - class catalog.view.bean.MessageBean.
Message backing bean.
MessageBean() - Constructor for class catalog.view.bean.MessageBean
Default constructor.

N

NavigationResults - class catalog.view.bean.NavigationResults.
Constants for all navigation results.
NavigationResults() - Constructor for class catalog.view.bean.NavigationResults
 

P

PRODUCT_BEAN - Static variable in class catalog.view.bean.BeanNames
 
PRODUCT_LIST_BEAN - Static variable in class catalog.view.bean.BeanNames
 
Product - class catalog.model.businessobject.Product.
Product business object.
Product() - Constructor for class catalog.model.businessobject.Product
Default constructor.
ProductBean - class catalog.view.bean.ProductBean.
Product backing bean.
ProductBean() - Constructor for class catalog.view.bean.ProductBean
Default constructor.
ProductBuilder - class catalog.view.builder.ProductBuilder.
The builder class for ProductBean and Product.
ProductBuilder() - Constructor for class catalog.view.builder.ProductBuilder
 
ProductListBean - class catalog.view.bean.ProductListBean.
ProductList backing bean.
ProductListBean() - Constructor for class catalog.view.bean.ProductListBean
Default constructor.
populateProductBean(ProductBean, Product) - Static method in class catalog.view.builder.ProductBuilder
Populate the ProductBean based on the Product business object.

R

RequestParamNames - class catalog.view.bean.RequestParamNames.
The constants of the parameters inside the request.
RequestParamNames() - Constructor for class catalog.view.bean.RequestParamNames
 
release() - Method in class catalog.view.validator.SelectedItemsRangeValidatorTag
 
resetManagedBean(String) - Static method in class catalog.view.util.FacesUtils
Remove the managed bean based on the bean name.

S

SECURITY_BEAN - Static variable in class catalog.view.bean.BeanNames
 
SERVICE_LOCATOR_BEAN - Static variable in class catalog.view.bean.BeanNames
 
SESSION_BEAN - Static variable in class catalog.view.bean.BeanNames
 
SecurityFilter - class catalog.view.util.SecurityFilter.
This Filter class handle the security of the application.
SecurityFilter() - Constructor for class catalog.view.util.SecurityFilter
 
SelectedItemsRangeValidator - class catalog.view.validator.SelectedItemsRangeValidator.
The JSF validator class for SelectedItemRange validator.
SelectedItemsRangeValidator() - Constructor for class catalog.view.validator.SelectedItemsRangeValidator
 
SelectedItemsRangeValidatorTag - class catalog.view.validator.SelectedItemsRangeValidatorTag.
Custom tag implementation class for the SelectedItemRangeValidator.
SelectedItemsRangeValidatorTag() - Constructor for class catalog.view.validator.SelectedItemsRangeValidatorTag
Default constructor.
ServiceLocator - interface catalog.view.servicelocator.ServiceLocator.
Interface needs to be implemented by ServiceLocator.
ServiceLocatorBean - class catalog.view.bean.ServiceLocatorBean.
The implementation of ServiceLocator.
ServiceLocatorBean() - Constructor for class catalog.view.bean.ServiceLocatorBean
Constructor.
SessionBean - class catalog.view.bean.SessionBean.
The managed bean with session scope.
SessionBean() - Constructor for class catalog.view.bean.SessionBean
 
saveProduct(Product) - Method in interface catalog.model.dao.CatalogDao
Save the product.
saveProduct(Product) - Method in class catalog.model.dao.hibernate.CatalogDaoHibernateImpl
 
saveProduct(Product) - Method in interface catalog.model.service.CatalogService
Save the product.
saveProduct(Product) - Method in class catalog.model.service.impl.CachedCatalogServiceImpl
 
saveProduct(Product) - Method in class catalog.model.service.impl.CatalogServiceImpl
 
searchByCategoryAction() - Method in class catalog.view.bean.ProductListBean
Backing bean action to search products by category.
sendEmail(String, String, String, String) - Method in interface catalog.model.service.UserService
Send email to the administrator.
sendEmail(String, String, String, String) - Method in class catalog.model.service.impl.UserServiceImpl
 
sendEmail(String, String, String, String, String, String) - Static method in class catalog.model.util.EmailUtil
Send email to a single recipient.
sendEmail(String, String, String, List, String, String) - Static method in class catalog.model.util.EmailUtil
Send email to a list of recipients.
serviceLocator - Variable in class catalog.view.bean.BaseBean
 
setCatalogDao(CatalogDao) - Method in class catalog.model.service.impl.CachedCatalogServiceImpl
Set the CatalogDao.
setCatalogDao(CatalogDao) - Method in class catalog.model.service.impl.CatalogServiceImpl
Set the CatalogDao.
setCategoryIds(Set) - Method in class catalog.model.businessobject.Product
 
setCategoryIds(Set) - Method in class catalog.view.bean.ProductBean
 
setContent(String) - Method in class catalog.view.bean.MessageBean
 
setCurrentProductId(String) - Method in class catalog.view.bean.SessionBean
 
setDefaultSenderAddress(String) - Method in class catalog.model.service.impl.UserServiceImpl
 
setDefaultSenderName(String) - Method in class catalog.model.service.impl.UserServiceImpl
 
setDescription(String) - Method in class catalog.model.businessobject.Category
 
setDescription(String) - Method in class catalog.model.businessobject.Product
 
setDescription(String) - Method in class catalog.view.bean.ProductBean
 
setEmailAddress(String) - Method in class catalog.view.bean.MessageBean
 
setFirstName(String) - Method in class catalog.view.bean.MessageBean
 
setHeight(double) - Method in class catalog.model.businessobject.Product
 
setHeight(double) - Method in class catalog.view.bean.ProductBean
 
setId(String) - Method in class catalog.model.businessobject.Category
 
setId(String) - Method in class catalog.model.businessobject.Product
 
setId(String) - Method in class catalog.view.bean.ProductBean
Invoked by the JSF managed bean facility.
setImageUploadResultPage(String) - Method in class catalog.view.bean.ApplicationBean
 
setLastName(String) - Method in class catalog.view.bean.MessageBean
 
setLoggedIn(boolean) - Method in class catalog.view.bean.UserBean
 
setManagedBeanInSession(String, Object) - Static method in class catalog.view.util.FacesUtils
Store the managed bean inside the session scope.
setMaxNum(int) - Method in class catalog.view.validator.SelectedItemsRangeValidator
 
setMaxNum(String) - Method in class catalog.view.validator.SelectedItemsRangeValidatorTag
 
setMinNum(int) - Method in class catalog.view.validator.SelectedItemsRangeValidator
 
setMinNum(String) - Method in class catalog.view.validator.SelectedItemsRangeValidatorTag
 
setName(String) - Method in class catalog.model.businessobject.Category
 
setName(String) - Method in class catalog.model.businessobject.Product
 
setName(String) - Method in class catalog.view.bean.ProductBean
 
setPassword(String) - Method in class catalog.model.businessobject.User
 
setPassword(String) - Method in class catalog.view.bean.UserBean
 
setPrice(double) - Method in class catalog.model.businessobject.Product
 
setPrice(double) - Method in class catalog.view.bean.ProductBean
 
setProductImageDirUri(String) - Method in class catalog.view.bean.ApplicationBean
 
setProductsPerPage(int) - Method in class catalog.view.bean.ApplicationBean
 
setReceiverAddresses(List) - Method in class catalog.model.service.impl.UserServiceImpl
 
setSelectedCategoryIds(List) - Method in class catalog.view.bean.ProductBean
 
setServiceLocator(ServiceLocator) - Method in class catalog.view.bean.BaseBean
 
setSmtpHost(String) - Method in class catalog.model.service.impl.UserServiceImpl
 
setUserDao(UserDao) - Method in class catalog.model.service.impl.UserServiceImpl
 
setUsername(String) - Method in class catalog.model.businessobject.User
 
setUsername(String) - Method in class catalog.view.bean.UserBean
 
setWidth(double) - Method in class catalog.model.businessobject.Product
 
setWidth(double) - Method in class catalog.view.bean.ProductBean
 
submitAction() - Method in class catalog.view.bean.MessageBean
Backing bean action to submit the message.

T

toString() - Method in class catalog.view.bean.ProductBean
 

U

USER_BEAN - Static variable in class catalog.view.bean.BeanNames
 
User - class catalog.model.businessobject.User.
User business object.
User() - Constructor for class catalog.model.businessobject.User
Default constructor.
UserBean - class catalog.view.bean.UserBean.
User backing bean.
UserBean() - Constructor for class catalog.view.bean.UserBean
Default constructor.
UserBuilder - class catalog.view.builder.UserBuilder.
The builder class for UserBean.
UserBuilder() - Constructor for class catalog.view.builder.UserBuilder
 
UserDao - interface catalog.model.dao.UserDao.
The user DAO interface.
UserDaoHibernateImpl - class catalog.model.dao.hibernate.UserDaoHibernateImpl.
The Hibernate implementation of the UserDao.
UserDaoHibernateImpl() - Constructor for class catalog.model.dao.hibernate.UserDaoHibernateImpl
Default constructor.
UserService - interface catalog.model.service.UserService.
The user business service interface.
UserServiceImpl - class catalog.model.service.impl.UserServiceImpl.
The implementation of the UserService.
UserServiceImpl() - Constructor for class catalog.model.service.impl.UserServiceImpl
 
UsernameNotExistException - exception catalog.model.exception.UsernameNotExistException.
Exception thrown when a user tries to use a non-existing username to log in.
UsernameNotExistException(String) - Constructor for class catalog.model.exception.UsernameNotExistException
Constructor with non-existing username.
updateAction() - Method in class catalog.view.bean.ProductBean
Backing bean action to update product.
updateProduct(Product) - Method in interface catalog.model.dao.CatalogDao
Update product.
updateProduct(Product) - Method in class catalog.model.dao.hibernate.CatalogDaoHibernateImpl
 
updateProduct(Product) - Method in interface catalog.model.service.CatalogService
Update product.
updateProduct(Product) - Method in class catalog.model.service.impl.CachedCatalogServiceImpl
 
updateProduct(Product) - Method in class catalog.model.service.impl.CatalogServiceImpl
 

V

ViewUtils - class catalog.view.util.ViewUtils.
Utility class for the presentation tier.
ViewUtils() - Constructor for class catalog.view.util.ViewUtils
 
validate(FacesContext, UIComponent, Object) - Method in class catalog.view.validator.SelectedItemsRangeValidator
Main method to implement for Validator

A B C D E F G I L M N P R S T U V

Copyright (c) 2004 The JCatalog Project.