com.sun.j2ee.blueprints.petstore.personalize.profilemgr.ejb
Class ProfileMgrDAO

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.petstore.personalize.profilemgr.ejb.ProfileMgrDAO

public class ProfileMgrDAO
extends java.lang.Object

This class encapsulates all the JDBC calls made by the ProfileMgrEJB. Actual logic of inserting/fetching/updating/deleting the data in relational database tables to mirror the state of ProfileMgrEJB is implemented here.


Constructor Summary
ProfileMgrDAO()
           
 
Method Summary
 void create()
           
 java.lang.String findByPrimaryKey()
           
 java.lang.String getBanner(java.lang.String favCategory)
           
 ExplicitInformation getExplicitInformation()
           
 java.lang.String getUserId()
           
 void load()
           
 void remove()
           
 void setExplicitInformation(ExplicitInformation eInfo)
           
 void setUserId(java.lang.String userId)
           
 void store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileMgrDAO

public ProfileMgrDAO()
              throws ProfileMgrDAOException
Method Detail

getUserId

public java.lang.String getUserId()

getExplicitInformation

public ExplicitInformation getExplicitInformation()

setUserId

public void setUserId(java.lang.String userId)

setExplicitInformation

public void setExplicitInformation(ExplicitInformation eInfo)

create

public void create()
            throws ProfileMgrDAOException

load

public void load()
          throws ProfileMgrDAOException

store

public void store()
           throws ProfileMgrDAOException

remove

public void remove()
            throws ProfileMgrDAOException

findByPrimaryKey

public java.lang.String findByPrimaryKey()
                                  throws ProfileMgrDAOException

getBanner

public java.lang.String getBanner(java.lang.String favCategory)
                           throws ProfileMgrDAOException


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.