Permalink
Browse files

also added changes to AddAppointment class

  • Loading branch information...
1 parent c20ebb2 commit a4bf509cf37ed7d1fa479bc2cae041a1badd6e00 carl committed Jun 15, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 project/src/bean/AddAppointment.java
@@ -5,14 +5,16 @@
import javax.ejb.Remote;
import javax.ejb.Stateful;
import bean.CalendarMgt;
+import bean.Appointment;
+import java.util.Map;
@Stateful
@Remote(IAddAppointment.class)
public class AddAppointment implements IAddAppointment {
- public Boolean addAppointment(GregorianCalendar start, GregorianCalendar end, String title,
+ public Map<String, Appointment> addAppointment(GregorianCalendar start, GregorianCalendar end, String title,
String notes, Boolean isPrivate, AppointmentType type,
- Collection<String> userEmails) {
+ Collection<String> userEmails) throws Exception{
// FIXME the following code doesn't work @see(LoginUser)
CalendarMgt cMgt = new CalendarMgt();
return cMgt.addAppointment(start, end, title, notes, isPrivate, type, userEmails);

0 comments on commit a4bf509

Please sign in to comment.