001/** 002 * Copyright 2005-2011 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package mocks; 017 018import org.kuali.rice.kew.mail.service.ActionListEmailService; 019 020 021/** 022 * Spring proxies cannot be cast to implementation classes... 023 * 024 * @author Kuali Rice Team (rice.collab@kuali.org) 025 */ 026public interface MockEmailNotificationService extends ActionListEmailService { 027 028 public void sendDailyReminder(); 029 public void sendWeeklyReminder(); 030 031 public int immediateReminderEmailsSent(String networkId, String documentId, String actionRequestCd); 032 public Integer getTotalPeriodicRemindersSent(String emailReminderConstant); 033 public Integer getTotalPeriodicRemindersSent(); 034 /** 035 * Resets the reminder counts 036 */ 037 public void resetReminderCounts(); 038 039 public boolean wasStyleServiceAccessed(); 040 041 public boolean wasDailyReminderSent(); 042 043 public boolean wasWeeklyReminderSent(); 044}