Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
L
O
P
R
S
A
add(PersistenceSession, ValueObject)
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Add a new object to be persisted.
amend(PersistenceSession, ValueObject)
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Persist changes to an existing object.
C
Catalog
- class com.ivata.mask.web.demo.catalog.
Catalog
.
This is the main class of the demo.
CatalogSession
- class com.ivata.mask.web.demo.catalog.
CatalogSession
.
Normally, a persistence session is analagous to a database transaction, grouping together like persistence actions unless they fail.
CatalogSession()
- Constructor for class com.ivata.mask.web.demo.catalog.
CatalogSession
CustomerDO
- class com.ivata.mask.web.demo.customer.
CustomerDO
.
Represents a single customer of this imaginary system.
CustomerDO()
- Constructor for class com.ivata.mask.web.demo.customer.
CustomerDO
Construct a new customer instance with no id.
CustomerDO(int)
- Constructor for class com.ivata.mask.web.demo.customer.
CustomerDO
Construct a new customer instance with the given unique identifier.
cancel()
- Method in class com.ivata.mask.web.demo.catalog.
CatalogSession
This method doesn't really do anything.
close()
- Method in class com.ivata.mask.web.demo.catalog.
CatalogSession
Implements persistence session method.
com.ivata.mask.web.demo.catalog
- package com.ivata.mask.web.demo.catalog
com.ivata.mask.web.demo.customer
- package com.ivata.mask.web.demo.customer
com.ivata.mask.web.demo.order
- package com.ivata.mask.web.demo.order
com.ivata.mask.web.demo.order.item
- package com.ivata.mask.web.demo.order.item
com.ivata.mask.web.demo.product
- package com.ivata.mask.web.demo.product
com.ivata.mask.web.demo.struts
- package com.ivata.mask.web.demo.struts
com.ivata.mask.web.demo.valueobject
- package com.ivata.mask.web.demo.valueobject
D
DemoRequestProcessor
- class com.ivata.mask.web.demo.struts.
DemoRequestProcessor
.
Overridden to specify the mask factory and the value object locator for the superclass.
DemoRequestProcessor()
- Constructor for class com.ivata.mask.web.demo.struts.
DemoRequestProcessor
Default constructor.
DemoValueObject
- class com.ivata.mask.web.demo.valueobject.
DemoValueObject
.
Inherited by all value objects in this demo.
DemoValueObject()
- Constructor for class com.ivata.mask.web.demo.valueobject.
DemoValueObject
Construct a new value object marked as invalid.
DemoValueObject(int)
- Constructor for class com.ivata.mask.web.demo.valueobject.
DemoValueObject
Construct a new value object with the given id value.
E
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)
- Method in class com.ivata.mask.web.demo.struts.
LoadDataAction
Generic method called by the
Struts
interface.
F
findAll(PersistenceSession, Class)
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Retrieve all instances of a particular class.
findByPrimaryKey(PersistenceSession, Class, Serializable)
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Retrieve a single instance of a particular class.
G
getConnection()
- Method in class com.ivata.mask.web.demo.catalog.
CatalogSession
Implements persistence session method.
getCustomer()
- Method in class com.ivata.mask.web.demo.order.
OrderDO
Each order had to be ordered by someone! This is the customer who placed the order.
getDescription()
- Method in class com.ivata.mask.web.demo.product.
ProductDO
The product's description is a long text designed to make you desperate to own one immediately.
getDisplayValue()
- Method in class com.ivata.mask.web.demo.customer.
CustomerDO
Get a text to display describing the customer.
getDisplayValue()
- Method in class com.ivata.mask.web.demo.order.
OrderDO
For an order, this just returns
toString()
.
getDisplayValue()
- Method in class com.ivata.mask.web.demo.order.item.
OrderItemDO
For an order item, the display value is given as "product x quantity".
getDisplayValue()
- Method in class com.ivata.mask.web.demo.product.
ProductDO
For products, the value displayed is always the product's name.
getEmailAddress()
- Method in class com.ivata.mask.web.demo.customer.
CustomerDO
Person's email address (ok - it's a simple system).
getFirstName()
- Method in class com.ivata.mask.web.demo.customer.
CustomerDO
Person's first name(s).
getId()
- Method in class com.ivata.mask.web.demo.valueobject.
DemoValueObject
Get the unique identifier of this value object, in its internal form:
int
.
getIdString()
- Method in class com.ivata.mask.web.demo.valueobject.
DemoValueObject
Get the unique identifier of the value object, as a string.
getInstance()
- Static method in class com.ivata.mask.web.demo.catalog.
Catalog
Get the sole instance of this class.
getItems()
- Method in class com.ivata.mask.web.demo.order.
OrderDO
An order ain't nothing without some items being purchased.
getLastName()
- Method in class com.ivata.mask.web.demo.customer.
CustomerDO
Person's last name(s).
getMaskFactory()
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Get the mask factory used throughout this application.
getName()
- Method in class com.ivata.mask.web.demo.product.
ProductDO
The name of a product is unique among products - that short text which uniquely identifies it.
getPersistenceRights()
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Just returns an instance of the default rights implementation.
getPostalAddress()
- Method in class com.ivata.mask.web.demo.customer.
CustomerDO
Full customer postal address, including carriage returns, region/state, country, etc.
getPrice()
- Method in class com.ivata.mask.web.demo.product.
ProductDO
What price quality? This is the cost of a single unit of the product.
getProduct()
- Method in class com.ivata.mask.web.demo.order.item.
OrderItemDO
Identifies the product being ordered as this item.
getQuantity()
- Method in class com.ivata.mask.web.demo.order.item.
OrderItemDO
Number of units of product being ordered.
getSystemSession()
- Method in class com.ivata.mask.web.demo.catalog.
CatalogSession
Refer to
PersistenceSession.getSystemSession()
.
I
INVALID_ID
- Static variable in class com.ivata.mask.web.demo.catalog.
Catalog
Unique id for invalid objects.
L
LoadDataAction
- class com.ivata.mask.web.demo.struts.
LoadDataAction
.
If you have no data in your Http Session, you are redirected here to create some.
LoadDataAction()
- Constructor for class com.ivata.mask.web.demo.struts.
LoadDataAction
O
OrderDO
- class com.ivata.mask.web.demo.order.
OrderDO
.
Represents a single order of this imaginary system.
OrderDO()
- Constructor for class com.ivata.mask.web.demo.order.
OrderDO
Construct a new order instance with no id.
OrderDO(int)
- Constructor for class com.ivata.mask.web.demo.order.
OrderDO
Construct a new order instance with the given unique identifier.
OrderItemDO
- class com.ivata.mask.web.demo.order.item.
OrderItemDO
.
Represents a single order item of this imaginary system.
OrderItemDO()
- Constructor for class com.ivata.mask.web.demo.order.item.
OrderItemDO
Construct a new order item instance with no id.
OrderItemDO(int)
- Constructor for class com.ivata.mask.web.demo.order.item.
OrderItemDO
Construct a new order item instance with the given unique identifier.
openSession()
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Open a catalog session.
openSession(Object)
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
You can't use a system session in this simple demo.
P
ProductDO
- class com.ivata.mask.web.demo.product.
ProductDO
.
Represents a single product which can be ordered.
ProductDO()
- Constructor for class com.ivata.mask.web.demo.product.
ProductDO
Construct a new product instance with no id.
ProductDO(int)
- Constructor for class com.ivata.mask.web.demo.product.
ProductDO
Construct a new product instance with the given unique identifier.
R
remove(PersistenceSession, Class, Serializable)
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Remove a value object from the system.
reset()
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Reset the catalog to its initial state.
S
setCustomer(CustomerDO)
- Method in class com.ivata.mask.web.demo.order.
OrderDO
Sets the customer who made this order.
setDescription(String)
- Method in class com.ivata.mask.web.demo.product.
ProductDO
The product's description is a long text designed to make you desperate to own one immediately.
setEmailAddress(String)
- Method in class com.ivata.mask.web.demo.customer.
CustomerDO
Person's email address (ok - it's a simple system).
setFirstName(String)
- Method in class com.ivata.mask.web.demo.customer.
CustomerDO
Person's first name(s).
setId(int)
- Method in class com.ivata.mask.web.demo.valueobject.
DemoValueObject
Get the unique identifier of this value object, in its internal form:
int
.
setItems(List)
- Method in class com.ivata.mask.web.demo.order.
OrderDO
Set all of the items in the order as a list.
setLastName(String)
- Method in class com.ivata.mask.web.demo.customer.
CustomerDO
Person's last name(s).
setMaskFactory(MaskFactory)
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Set the mask factory used throughout this application.
setName(String)
- Method in class com.ivata.mask.web.demo.product.
ProductDO
The name of a product is unique among products - that short text which uniquely identifies it.
setPostalAddress(String)
- Method in class com.ivata.mask.web.demo.customer.
CustomerDO
Full customer postal address, including carriage returns, region/state, country, etc.
setPrice(BigDecimal)
- Method in class com.ivata.mask.web.demo.product.
ProductDO
Set the cost of one unit of this product.
setProduct(ProductDO)
- Method in class com.ivata.mask.web.demo.order.item.
OrderItemDO
Identifies the product being ordered as this item.
setPropertyValues(ValueObject, ValueObject)
- Method in class com.ivata.mask.web.demo.catalog.
Catalog
Override to set all property values from one value object to another.
setQuantity(int)
- Method in class com.ivata.mask.web.demo.order.item.
OrderItemDO
Number of units of product being ordered.
A
C
D
E
F
G
I
L
O
P
R
S
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2001-2005 ivata limited. All Rights Reserved.