com.sun.j2ee.blueprints.customer.account.ejb
Class AccountDAO
java.lang.Object
|
+--com.sun.j2ee.blueprints.customer.account.ejb.AccountDAO
- public class AccountDAO
- extends java.lang.Object
This class encapsulates all the JDBC calls made by the AccountEJB.
Actual logic of inserting/fetching/updating/deleting the data in
relational database tables to mirror the state of AccountEJB is
implemented here.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AccountDAO
public AccountDAO()
throws AccountDAOException
getUserId
public java.lang.String getUserId()
getStatus
public java.lang.String getStatus()
getContactInformation
public ContactInformation getContactInformation()
setUserId
public void setUserId(java.lang.String userId)
setStatus
public void setStatus(java.lang.String status)
setContactInformation
public void setContactInformation(ContactInformation info)
create
public void create()
throws AccountDAOException
load
public void load()
throws AccountDAOException
store
public void store()
throws AccountDAOException
remove
public void remove()
throws AccountDAOException
findByPrimaryKey
public java.lang.String findByPrimaryKey()
throws AccountDAOException
Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.