|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ejb.EEntityBean com.bankframe.services.authentication.ejb.user.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 | |
java.lang.String |
name
User's name |
java.lang.String |
password
String representing the user's password |
java.lang.String |
userId
User's ID in the table. |
Constructor Summary | |
EJBUserBean()
|
Method Summary | |
EJBUserPK |
ejbCreate(java.lang.String userId,
java.lang.String password,
java.lang.String name)
All EJBs must implement a create method. |
void |
ejbPostCreate(java.lang.String userId,
java.lang.String password,
java.lang.String name)
All EJBs must implement a create method. |
java.lang.String |
getName()
This method gets the user's name. |
java.lang.String |
getUserId()
This method gets the user's ID. |
DataPacket |
toDataPacket()
This method convert the results into a DataPacket format. |
boolean |
validatePassword(java.lang.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 java.lang.String userId
public java.lang.String name
public java.lang.String password
Constructor Detail |
public EJBUserBean()
Method Detail |
public EJBUserPK ejbCreate(java.lang.String userId, java.lang.String password, java.lang.String name) throws javax.ejb.CreateException
name
- User Name
java.rmi.RemoteException
- RemoteException
javax.ejb.CreateException
- CreateExceptionjavax.ejb.EJBHome.create(...)
public void ejbPostCreate(java.lang.String userId, java.lang.String password, java.lang.String name) throws javax.ejb.CreateException
name
- User Name
java.rmi.RemoteException
- RemoteException
javax.ejb.CreateException
- CreateExceptionjavax.ejb.EJBHome.create(...)
public java.lang.String getName()
public java.lang.String getUserId()
public DataPacket toDataPacket()
toDataPacket
in class EEntityBean
public boolean validatePassword(java.lang.String passwordToValidate) throws java.rmi.RemoteException
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |