|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.ejb.EEntityBean
com.bankframe.services.authentication.ejb.user.EJBUserBean
public class EJBUserBean
This class holds information about a bankframe user. An instance of this class represents one record of the table "EJBUSERS" in the database.
Field Summary | |
---|---|
String |
name
User's name |
String |
password
String representing the user's password |
String |
userId
User's ID in the table. |
Constructor Summary | |
---|---|
EJBUserBean()
|
Method Summary | |
---|---|
EJBUserPK |
ejbCreate(String userId,
String password,
String name)
All EJBs must implement a create method. |
void |
ejbPostCreate(String userId,
String password,
String name)
All EJBs must implement a create method. |
String |
getName()
This method gets the user's name. |
String |
getUserId()
This method gets the user's ID. |
DataPacket |
toDataPacket()
This method convert the results into a DataPacket format. |
boolean |
validatePassword(String passwordToValidate)
This method will validate a user's password against a given string. |
Methods inherited from class com.bankframe.ejb.EEntityBean |
---|
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, toString, unsetEntityContext, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String userId
public String name
public String password
Constructor Detail |
---|
public EJBUserBean()
Method Detail |
---|
public EJBUserPK ejbCreate(String userId, String password, String name) throws CreateException
userId
- User IDpassword
- User Passwordname
-
RemoteException
- RemoteException
CreateException
- CreateExceptionEJBUserHome.create(String,String,String)
public void ejbPostCreate(String userId, String password, String name) throws CreateException
userId
- User IDpassword
- name
- User Name
RemoteException
- RemoteException
CreateException
- CreateExceptionEJBUserHome.create(String,String,String)
public String getName()
public String getUserId()
public DataPacket toDataPacket()
toDataPacket
in class EEntityBean
public boolean validatePassword(String passwordToValidate) throws RemoteException
passwordToValidate
-
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |