/*
* Created on Nov 7, 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.usermgmt.User;
/**
* @author drig
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class VacationSchedule extends AbstractSchedule {
/* (non-Javadoc)
* @see net.reliableresponse.notification.scheduling.Schedule#isActive()
*/
public boolean isActive(User user, Notification notification) {
// TODO Auto-generated method stub
return user.isOnVacation();
}
/* (non-Javadoc)
* @see net.reliableresponse.notification.scheduling.Schedule#getName()
*/
public String getName() {
return "Vacation";
}
public String getInitials() {
return "VA";
}
}