From 20bba0e571687cab02d72faf6f1d14fe13496a3a Mon Sep 17 00:00:00 2001 From: bspeice Date: Sat, 19 Oct 2013 21:26:59 -0400 Subject: [PATCH] RegistrationClient can now look up by first and last name --- src/com/uncc/gameday/registration/RegistrationClient.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/com/uncc/gameday/registration/RegistrationClient.java b/src/com/uncc/gameday/registration/RegistrationClient.java index b3ddbc6..abb2270 100644 --- a/src/com/uncc/gameday/registration/RegistrationClient.java +++ b/src/com/uncc/gameday/registration/RegistrationClient.java @@ -49,6 +49,10 @@ public class RegistrationClient { return gds.getUser(id); } + public Attendee listAttendee(Attendee a) { + return gds.getUser(a.getFirstName(), a.getLastName()); + } + public List listAttendees() { return gds.getAllUsers(); }