| java.lang.Object olstore.entity.UserBean
UserBean | abstract public class UserBean implements EntityBean(Code) | | |
Method Summary | |
public java.lang.String | ejbCreate(String username, String role, String lname, String fname, String emailAdd, String phoneNum, String passwd) The ejbCreate method. | public void | ejbPostCreate(String username, String role, String lname, String fname, String emailAdd, String phoneNum, String passwd) The container invokes this method immediately after it calls ejbCreate. | abstract public AddressLocal | getAddress() | abstract public java.lang.String | getEmailAdd() | abstract public java.lang.String | getFname() | abstract public Collection | getFriends() | abstract public java.lang.String | getLname() | abstract public Collection | getOrders() | abstract public java.lang.String | getPasswd() | abstract public java.lang.String | getPhoneNum() | abstract public Collection | getPurchased() | abstract public java.lang.String | getRole() | abstract public java.lang.String | getUsername() | public boolean | isAdmin() | abstract public void | setAddress(AddressLocal userAddress) | abstract public void | setEmailAdd(java.lang.String emailAdd) | abstract public void | setFname(java.lang.String fname) | abstract public void | setFriends(Collection friends) | abstract public void | setLname(java.lang.String lname) | abstract public void | setOrders(Collection orders) | abstract public void | setPasswd(java.lang.String passwd) | abstract public void | setPhoneNum(java.lang.String phoneNum) | abstract public void | setPurchased(Collection purchased) | abstract public void | setRole(java.lang.String role) | abstract public void | setUsername(java.lang.String username) |
ejbPostCreate | public void ejbPostCreate(String username, String role, String lname, String fname, String emailAdd, String phoneNum, String passwd) throws javax.ejb.CreateException(Code) | | The container invokes this method immediately after it calls ejbCreate.
|
getAddress | abstract public AddressLocal getAddress()(Code) | | Returns the User's Address
the User's Address |
getFriends | abstract public Collection getFriends()(Code) | | Returns the User's Friends
the User's Friends |
getOrders | abstract public Collection getOrders()(Code) | | Returns the User's Orders
the User's Orders |
getPurchased | abstract public Collection getPurchased()(Code) | | Returns the User's purchased Items
the User's purchased Items |
isAdmin | public boolean isAdmin()(Code) | | |
setAddress | abstract public void setAddress(AddressLocal userAddress)(Code) | | Parameters: userAddress - |
setEmailAdd | abstract public void setEmailAdd(java.lang.String emailAdd)(Code) | | Sets the emailAdd
java.lang.String the new emailAdd value |
setFname | abstract public void setFname(java.lang.String fname)(Code) | | Sets the fname
java.lang.String the new fname value |
setFriends | abstract public void setFriends(Collection friends)(Code) | | Sets the User's friends
java.util.Collection friends |
setLname | abstract public void setLname(java.lang.String lname)(Code) | | Sets the lname
java.lang.String the new lname value |
setPasswd | abstract public void setPasswd(java.lang.String passwd)(Code) | | Sets the passwd
java.lang.String the new passwd value |
setPhoneNum | abstract public void setPhoneNum(java.lang.String phoneNum)(Code) | | Sets the phoneNum
java.lang.String the new phoneNum value |
setPurchased | abstract public void setPurchased(Collection purchased)(Code) | | Sets the purchased items
java.util.Collection the User's purchased items |
setRole | abstract public void setRole(java.lang.String role)(Code) | | Sets the role
java.lang.String the new role value |
setUsername | abstract public void setUsername(java.lang.String username)(Code) | | Sets the username
java.lang.String the new username value |
|
|