@Execute public HtmlResponse register(String account, String token) { // from mail link Member member = new Member(); member.setMemberAccount(account); member.setMemberStatusCode_Formalized(); memberBhv.update(member); return redirect(SigninAction.class); }
// =================================================================================== // Assist Logic // ============ private Integer newMember(SignupForm form) { Member member = new Member(); member.setMemberName(form.memberName); member.setMemberAccount(form.memberAccount); member.setMemberStatusCode_Provisional(); memberBhv.insert(member); MemberSecurity security = new MemberSecurity(); security.setMemberId(member.getMemberId()); security.setLoginPassword(orleansLoginAssist.encryptPassword(form.password)); security.setReminderQuestion(form.reminderQuestion); security.setReminderAnswer(form.reminderAnswer); security.setReminderUseCount(0); memberSecurityBhv.insert(security); MemberService service = new MemberService(); service.setMemberId(member.getMemberId()); service.setServicePointCount(0); service.setServiceRankCode_Plastic(); memberServiceBhv.insert(service); return member.getMemberId(); }
// =================================================================================== // Constructor // =========== public DocksideUserBean(Member member) { memberId = member.getMemberId(); memberName = member.getMemberName(); }