A C D E G I L P Q R S T U V

A

addProduct(Product) - Method in class com.laszlomarket.ProductDAO
addProduct() inserts new Product into the database through Hibernate.

C

ConnectionFactory - class com.laszlomarket.ConnectionFactory.
Singleton class that creates and returns an open Hibernate Session to the user.
ConnectionFactory() - Constructor for class com.laszlomarket.ConnectionFactory
The Hibernate Configuration contains all the classes to be persisted by Hibernate.
clear() - Method in class com.laszlomarket.ProductForm
clear() sets all the object's fields to null.
com.laszlomarket - package com.laszlomarket
 

D

deleteProduct(Product) - Method in class com.laszlomarket.ProductDAO
deleteProduct() delete the specified Product from the database through Hibernate.
description - Variable in class com.laszlomarket.Product
 

E

execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.laszlomarket.ProductAction
execute() processes a user's request to add a Product to a database,

G

getDescription() - Method in class com.laszlomarket.Product
getDesc() retrieves description field.
getId() - Method in class com.laszlomarket.Product
getId() retrieves id field.
getId() - Method in class com.laszlomarket.ProductForm
getId() retrieves ID field.
getImage() - Method in class com.laszlomarket.Product
getImage() retrieves image field.
getImage() - Method in class com.laszlomarket.ProductForm
getImage() retrieves image field.
getInstance() - Static method in class com.laszlomarket.ConnectionFactory
getInstance() returns the instance of the ConnectionFactory singleton.
getInstance() - Static method in class com.laszlomarket.ProductDAO
getInstance() returns the instance of the ProductDAO singleton.
getPrice() - Method in class com.laszlomarket.Product
getPrice() retrieves price field.
getPrice() - Method in class com.laszlomarket.ProductForm
getPrice() retrieves price field.
getProduct(Product) - Method in class com.laszlomarket.ProductDAO
getProduct() returns Product object from database with given id.
getProduct() - Method in class com.laszlomarket.ProductForm
getProduct() retrieves product field.
getProducts() - Method in class com.laszlomarket.Product
getProducts() retrieves products field.
getProducts(Product) - Method in class com.laszlomarket.ProductDAO
getProducts() returns list of all matching Product objects stored in the database.
getQuantity() - Method in class com.laszlomarket.ProductForm
getQuantity() retrieves quantity field.
getSession() - Method in class com.laszlomarket.ConnectionFactory
getSession() returns a Hibernate Session
getSku() - Method in class com.laszlomarket.Product
getSku() retrieves sku field.
getSku() - Method in class com.laszlomarket.ProductForm
getSku() retrieves sku field.
getSpecs() - Method in class com.laszlomarket.Product
getSpecs() retrieves specs field.
getTitle() - Method in class com.laszlomarket.Product
getTitle() retrieves title field.
getTitle() - Method in class com.laszlomarket.ProductForm
getTitle() retrieves title field.

I

id - Variable in class com.laszlomarket.Product
 
id - Variable in class com.laszlomarket.ProductForm
 
image - Variable in class com.laszlomarket.Product
 
image - Variable in class com.laszlomarket.ProductForm
 
instance - Static variable in class com.laszlomarket.ConnectionFactory
 
instance - Static variable in class com.laszlomarket.ProductDAO
 

L

log - Static variable in class com.laszlomarket.ConnectionFactory
 
log - Static variable in class com.laszlomarket.ProductAction
 
log - Static variable in class com.laszlomarket.ProductDAO
 

P

Product - class com.laszlomarket.Product.
Javabean used to store Product information.
Product() - Constructor for class com.laszlomarket.Product
 
ProductAction - class com.laszlomarket.ProductAction.
Processes user's request to add an Product to a database.
ProductAction() - Constructor for class com.laszlomarket.ProductAction
 
ProductDAO - class com.laszlomarket.ProductDAO.
Provides an interface used to access Product objects from the database using Hibernate.
ProductDAO() - Constructor for class com.laszlomarket.ProductDAO
 
ProductForm - class com.laszlomarket.ProductForm.
Stores information related to an Product within the Struts framework.
ProductForm() - Constructor for class com.laszlomarket.ProductForm
 
price - Variable in class com.laszlomarket.Product
 
price - Variable in class com.laszlomarket.ProductForm
 
product - Variable in class com.laszlomarket.ProductForm
 
products - Variable in class com.laszlomarket.Product
 

Q

quantity - Variable in class com.laszlomarket.ProductForm
 

R

reset(ActionMapping, HttpServletRequest) - Method in class com.laszlomarket.ProductForm
Clears the object prior to each request.

S

sessionFactory - Variable in class com.laszlomarket.ConnectionFactory
 
setDescription(String) - Method in class com.laszlomarket.Product
setDesc() sets description field.
setId(Long) - Method in class com.laszlomarket.Product
Sets id field.
setId(Long) - Method in class com.laszlomarket.ProductForm
setId() retrieves ID field.
setImage(String) - Method in class com.laszlomarket.Product
Sets image field.
setImage(String) - Method in class com.laszlomarket.ProductForm
Sets image field.
setPrice(Double) - Method in class com.laszlomarket.Product
Sets price field.
setPrice(Double) - Method in class com.laszlomarket.ProductForm
Sets price field.
setProduct(List) - Method in class com.laszlomarket.ProductForm
Sets product field.
setProducts(List) - Method in class com.laszlomarket.Product
setProducts() sets products field.
setQuantity(Integer) - Method in class com.laszlomarket.ProductForm
Sets quantity field.
setSku(String) - Method in class com.laszlomarket.Product
Sets sku field.
setSku(String) - Method in class com.laszlomarket.ProductForm
Sets sku field.
setSpecs(String) - Method in class com.laszlomarket.Product
Sets specs field.
setTitle(String) - Method in class com.laszlomarket.Product
Sets title field.
setTitle(String) - Method in class com.laszlomarket.ProductForm
Sets title field.
sku - Variable in class com.laszlomarket.Product
 
sku - Variable in class com.laszlomarket.ProductForm
 
specs - Variable in class com.laszlomarket.Product
 

T

title - Variable in class com.laszlomarket.Product
 
title - Variable in class com.laszlomarket.ProductForm
 

U

updateProduct(Product) - Method in class com.laszlomarket.ProductDAO
updateProduct() updates specfied Product through Hibernate.

V

validate(ActionMapping, HttpServletRequest) - Method in class com.laszlomarket.ProductForm
validate() ensures the user's product is valid and returns the appropriate ActionErrors object, if any errors are generated.

A C D E G I L P Q R S T U V

Copyright 2003