boolean function ( String arg0 ) { Member loc0 = null ; try { loc0 = repository . findByEmail ( arg0 ) ; } catch ( NoResultException loc1 ) { } return loc0 != null ; }
checks if a member with the same email address is already registered . this is the only way to easily capture the '' @uniqueconstraint columnnames = `` email '' '' constraint from the member class . concode_field_sep Logger log concode_elem_sep Validator validator concode_elem_sep MemberRegistration registration concode_elem_sep MemberRepository repository concode_field_sep List<Member> listAllMembers concode_elem_sep Response createMember concode_elem_sep void validateMember concode_elem_sep Member lookupMemberById concode_elem_sep Response.ResponseBuilder createViolationResponse