/*
* Created on Sep 29, 2004
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package net.reliableresponse.notification.scheduling;
import net.reliableresponse.notification.Notification;
import net.reliableresponse.notification.broker.BrokerFactory;
import net.reliableresponse.notification.usermgmt.User;
/**
* @author Administrator
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class InMeetingSchedule extends AbstractSchedule {
/* (non-Javadoc)
* @see net.reliableresponse.notification.scheduling.Schedule#isActive()
*/
public boolean isActive(User user, Notification notification) {
return BrokerFactory.getCalendarBroker().isInMeeting(user);
}
/* (non-Javadoc)
* @see net.reliableresponse.notification.scheduling.Schedule#getName()
*/
public String getName() {
return "In Meeting";
}
public String getInitials() {
return "M";
}
}