| java.lang.Object olstore.session.helper.UserHelperBean
UserHelperBean | abstract public class UserHelperBean implements SessionBean(Code) | | |
ejbContext | SessionContext ejbContext(Code) | | |
CreateUser | public void CreateUser(CreateUserValue createUserValue, AddressValue addressValue) throws Exception(Code) | | Creates a new user entity bean
Parameters: createUserValue - The DTO for the User Parameters: addressValue - The DTO for the User's Address |
SaveUser | public void SaveUser(UserValue userValue, AddressValue addressValue, String username) throws Exception(Code) | | Used to save the user's information from a DTO back into
the user entity bean
Parameters: userValue - The DTO storing the user information Parameters: addressValue - The DTO storing the address information Parameters: username - The username of the user |
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public void ejbCreate() throws CreateException(Code) | | |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | |
getUserValue | public UserValue getUserValue(String username) throws Exception(Code) | | Return the user's DTO when the username is passed to it
Parameters: username - The username of the user The DTO for the user |
setSessionContext | public void setSessionContext(SessionContext ctx)(Code) | | |
|
|