Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
J
M
N
O
R
S
T
U
X
A
Account
- interface it.mokabyte.pattern.ejb.entity.
Account
.
Title: Account.java Description: Remote interface of the AccountBean Copyright: Copyright (c) 2002 Company:
AccountBean
- class it.mokabyte.pattern.ejb.entity.
AccountBean
.
Title: AccountBean Description: a Bank Account BMP Copyright: Copyright (c) 2002 Company:
AccountBean()
- Constructor for class it.mokabyte.pattern.ejb.entity.
AccountBean
accountExists(AccountPK)
- Method in interface it.mokabyte.pattern.dao.
MyDao
accountExists(AccountPK)
- Method in class it.mokabyte.pattern.dao.
MyDaoJdbcImpl
accountExists(AccountPK)
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
AccountHome
- interface it.mokabyte.pattern.ejb.entity.
AccountHome
.
This interface is the home interface for the EJBean AccountBean.
AccountOM
- class it.mokabyte.pattern.valueobject.
AccountOM
.
Title: This is the Object Model of the Account Description: Copyright: Copyright (c) 2002 Company:
AccountOM()
- Constructor for class it.mokabyte.pattern.valueobject.
AccountOM
AccountOM(String, String, String, double)
- Constructor for class it.mokabyte.pattern.valueobject.
AccountOM
AccountPK
- class it.mokabyte.pattern.pk.
AccountPK
.
Title: AccountPK Description: Account primary key class Copyright: Copyright (c) 2001 Company:
AccountPK()
- Constructor for class it.mokabyte.pattern.pk.
AccountPK
AccountPK(String)
- Constructor for class it.mokabyte.pattern.pk.
AccountPK
addItem(String)
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Log message to console inserting date at the begin
addNode(AccountOM)
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
Add an account to the DOM document
address
- Variable in class it.mokabyte.pattern.valueobject.
AccountOM
ATTRIBUTE_PK
- Variable in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
tag primary key
B
balance
- Variable in class it.mokabyte.pattern.ejb.entity.
AccountBean
The balance
balance
- Variable in class it.mokabyte.pattern.valueobject.
AccountOM
BankException
- exception it.mokabyte.pattern.exception.
BankException
.
An all-encompassing Excepiton class for this Banking application.
BankException()
- Constructor for class it.mokabyte.pattern.exception.
BankException
The no-arg constructor
BankException(String)
- Constructor for class it.mokabyte.pattern.exception.
BankException
Construct a BankEnxception with an error message
C
closeResources(Connection, PreparedStatement, ResultSet)
- Method in class it.mokabyte.pattern.dao.
MyDaoJdbcImpl
Close all Database-Resources passed in.
CopyException
- exception it.mokabyte.pattern.exception.
CopyException
.
Title: DAOException Description: Business Application Exception Copyright: Copyright (c) 2002 Company:
CopyException()
- Constructor for class it.mokabyte.pattern.exception.
CopyException
The no-arg constructor
CopyException(Exception)
- Constructor for class it.mokabyte.pattern.exception.
CopyException
CopyException(String)
- Constructor for class it.mokabyte.pattern.exception.
CopyException
Construct a CopyException with an error message
create(String, String, String, double)
- Method in interface it.mokabyte.pattern.ejb.entity.
AccountHome
ctx
- Variable in class it.mokabyte.pattern.ejb.entity.
AccountBean
The entity context for the bean, saved from setEntityContext
D
dao
- Variable in class it.mokabyte.pattern.ejb.entity.
AccountBean
The data access object
DAO_CLASS_NAME
- Static variable in class it.mokabyte.pattern.dao.
DaoConfig
Deployment descriptor environment entry name - used by : DAO factory class
DaoConfig
- class it.mokabyte.pattern.dao.
DaoConfig
.
Title: DaoConfig Description: Dao configurator class.Used by it.mokabyte.pattern.dao classes Copyright: Copyright (c) 2002 Company:
DaoConfig()
- Constructor for class it.mokabyte.pattern.dao.
DaoConfig
DAOException
- exception it.mokabyte.pattern.exception.
DAOException
.
Title: DAOException Description: Exception Wrapper of the underlaying layer Copyright: Copyright (c) 2002 Company:
DAOException()
- Constructor for class it.mokabyte.pattern.exception.
DAOException
The no-arg constructor
DAOException(Exception)
- Constructor for class it.mokabyte.pattern.exception.
DAOException
DAOException(String)
- Constructor for class it.mokabyte.pattern.exception.
DAOException
Construct a DAOException with an error message
dataSource
- Variable in class it.mokabyte.pattern.dao.
MyDaoJdbcImpl
The datasource
deleteAccount(AccountPK)
- Method in interface it.mokabyte.pattern.dao.
MyDao
Delete an Account
deleteAccount(AccountPK)
- Method in class it.mokabyte.pattern.dao.
MyDaoJdbcImpl
Delete a row from the MOKA_ACCOUNT table.
deleteAccount(AccountPK)
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
the Method deletes an exist account
doc
- Variable in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
the DOM document
DS_JNDI_NAME
- Static variable in class it.mokabyte.pattern.dao.
DaoConfig
DBMS data source - used by : JDBC Dao Impl
E
ejbActivate()
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
ejbCreate(String, String, String, double)
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Create a new Account with the given ID, name, address and balance.
ejbFindByPrimaryKey(AccountPK)
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Find an Account
ejbLoad()
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Load this Account from the Database
ejbPassivate()
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
ejbPostCreate(String, String, String, double)
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Post create settings
ejbRemove()
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Remove this Account from the database
ejbStore()
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Store this Account to the database
email
- Variable in class it.mokabyte.pattern.ejb.entity.
AccountBean
The email
equals(Object)
- Method in class it.mokabyte.pattern.pk.
AccountPK
equals(Object)
- Method in class it.mokabyte.pattern.valueobject.
AccountOM
exc
- Variable in class it.mokabyte.pattern.exception.
DAOException
exc
- Variable in class it.mokabyte.pattern.exception.
CopyException
F
fileRepository
- Variable in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
the repository file
findByPrimaryKey(AccountPK)
- Method in interface it.mokabyte.pattern.ejb.entity.
AccountHome
G
getAccountID()
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Returns current account ID
getAddress()
- Method in class it.mokabyte.pattern.valueobject.
AccountOM
getBalance()
- Method in interface it.mokabyte.pattern.ejb.entity.
Account
getBalance()
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Returns current balance
getBalance()
- Method in class it.mokabyte.pattern.valueobject.
AccountOM
getDAO()
- Static method in class it.mokabyte.pattern.dao.
MyDaoFactory
Instantiate the class specified by Deployment descriptor environment entry
getDAO(int)
- Static method in class it.mokabyte.pattern.dao.
MyDaoFactory
Instantiate the class specified by user
getEmail()
- Method in interface it.mokabyte.pattern.ejb.entity.
Account
getEmail()
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Returns current email.
getId()
- Method in class it.mokabyte.pattern.valueobject.
AccountOM
getName()
- Method in interface it.mokabyte.pattern.ejb.entity.
Account
getName()
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Returns current name
getName()
- Method in class it.mokabyte.pattern.valueobject.
AccountOM
getNode(String)
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
Gets the node attribute of the DOM repository object
getValueObject(Node, String)
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
Get the valueObject attribute of the DOM repository
H
hashCode()
- Method in class it.mokabyte.pattern.pk.
AccountPK
I
id
- Variable in class it.mokabyte.pattern.pk.
AccountPK
id
- Variable in class it.mokabyte.pattern.valueobject.
AccountOM
initResourceFile(String)
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
init the XML reposistory
insertAccount(AccountPK, String, String, double)
- Method in interface it.mokabyte.pattern.dao.
MyDao
Insert an Account
insertAccount(AccountPK, String, String, double)
- Method in class it.mokabyte.pattern.dao.
MyDaoJdbcImpl
Insert a row into the MOKA_ACCOUNT table.
insertAccount(AccountPK, String, String, double)
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
the Method inserts a new AccountOM in the repository
it.mokabyte.pattern.dao
- package it.mokabyte.pattern.dao
it.mokabyte.pattern.ejb.entity
- package it.mokabyte.pattern.ejb.entity
it.mokabyte.pattern.exception
- package it.mokabyte.pattern.exception
it.mokabyte.pattern.pk
- package it.mokabyte.pattern.pk
it.mokabyte.pattern.valueobject
- package it.mokabyte.pattern.valueobject
J
JDBC_TYPE
- Static variable in class it.mokabyte.pattern.dao.
DaoConfig
JDBC_TYPE
- Static variable in class it.mokabyte.pattern.dao.
MyDaoFactory
M
MyDao
- interface it.mokabyte.pattern.dao.
MyDao
.
Title: MyDao Description: the dao interface Copyright: Copyright (c) 2002 Company:
MyDaoFactory
- class it.mokabyte.pattern.dao.
MyDaoFactory
.
Title: MyDaoFactory Description: the dao factory class Copyright: Copyright (c) 2002 Company:
MyDaoFactory()
- Constructor for class it.mokabyte.pattern.dao.
MyDaoFactory
MyDaoJdbcImpl
- class it.mokabyte.pattern.dao.
MyDaoJdbcImpl
.
Title: MyDaoJdbcImpl Description: class that implements the data access logic to DBMS by JDBC Copyright: Copyright (c) 2002 Company:
MyDaoJdbcImpl()
- Constructor for class it.mokabyte.pattern.dao.
MyDaoJdbcImpl
Retrieve the datasource from JNDI using the given name.
MyDaoXmlImpl
- class it.mokabyte.pattern.dao.
MyDaoXmlImpl
.
Title:MyDaoXmlImpl MyDaoXmlImpl makes an access to XML repository file whit this format:
Lucky
Fortune 13
13456.67
This file is in /temp/xml_src directory an the name is
reposiroty.xml<\b>
MyDaoXmlImpl()
- Constructor for class it.mokabyte.pattern.dao.
MyDaoXmlImpl
Constructor for the MyDaoXmlImpl object
N
name
- Variable in class it.mokabyte.pattern.ejb.entity.
AccountBean
The name
name
- Variable in class it.mokabyte.pattern.valueobject.
AccountOM
O
openDocument()
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
the method inti the DOM document
R
readAccount(AccountPK)
- Method in interface it.mokabyte.pattern.dao.
MyDao
Get an Account
readAccount(AccountPK)
- Method in class it.mokabyte.pattern.dao.
MyDaoJdbcImpl
Get a user from MOKA_ACCOUNT table.
readAccount(AccountPK)
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
the Method read an exist account
S
saveDocument()
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
the method save the values in an XML file repository
setAddress(String)
- Method in class it.mokabyte.pattern.valueobject.
AccountOM
setBalance(double)
- Method in interface it.mokabyte.pattern.ejb.entity.
Account
setBalance(double)
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Set this Account's balance
setBalance(double)
- Method in class it.mokabyte.pattern.valueobject.
AccountOM
setCustId(String)
- Method in class it.mokabyte.pattern.valueobject.
AccountOM
setEmail(String)
- Method in interface it.mokabyte.pattern.ejb.entity.
Account
setEmail(String)
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Set this Account's email
setEntityContext(EntityContext)
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Set the context for this bean : save the context in ctx member
setName(String)
- Method in interface it.mokabyte.pattern.ejb.entity.
Account
setName(String)
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Set this Account's name
setName(String)
- Method in class it.mokabyte.pattern.valueobject.
AccountOM
T
TABLE_NAME
- Static variable in class it.mokabyte.pattern.dao.
DaoConfig
The table name - used by : JDBC Dao Impl
TAG_ACCOUNT
- Variable in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
tag account
TAG_ADDRESS
- Variable in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
tag address
TAG_BALANCE
- Variable in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
tag balance
TAG_NAME
- Variable in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
tag name
toString()
- Method in class it.mokabyte.pattern.pk.
AccountPK
toString()
- Method in class it.mokabyte.pattern.valueobject.
AccountOM
U
unsetEntityContext()
- Method in class it.mokabyte.pattern.ejb.entity.
AccountBean
Unset the context for this bean.
updateAccount(AccountPK, String, String, double)
- Method in interface it.mokabyte.pattern.dao.
MyDao
Update an account
updateAccount(AccountPK, String, String, double)
- Method in class it.mokabyte.pattern.dao.
MyDaoJdbcImpl
Update a row from the MOKA_ACCOUNT table.
updateAccount(AccountPK, String, String, double)
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
the Method update an exist account
updateDocument(AccountOM)
- Method in class it.mokabyte.pattern.dao.
MyDaoXmlImpl
the method update the value in the repository DOM obejct
X
XML_FILE_NAME
- Static variable in class it.mokabyte.pattern.dao.
DaoConfig
XML file name - used by : XML Dao Impl
XML_TYPE
- Static variable in class it.mokabyte.pattern.dao.
DaoConfig
Dao type - used by : DAO factory class
XML_TYPE
- Static variable in class it.mokabyte.pattern.dao.
MyDaoFactory
Constants of DAO type
A
B
C
D
E
F
G
H
I
J
M
N
O
R
S
T
U
X
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES