001 /** 002 * Copyright 2005-2014 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 */ 016 package org.kuali.rice.kew.mail; 017 018 import org.kuali.rice.kew.api.action.ActionRequest; 019 import org.kuali.rice.kew.api.document.Document; 020 021 022 /** 023 * Default implementation of the {@link CustomEmailAttribute}. 024 * 025 * @author Kuali Rice Team (rice.collab@kuali.org) 026 */ 027 public class CustomEmailAttributeImpl implements CustomEmailAttribute { 028 029 private Document routeHeaderVO; 030 private ActionRequest actionRequestVO; 031 032 public CustomEmailAttributeImpl() {} 033 034 public String getCustomEmailSubject() throws Exception { 035 return ""; 036 } 037 038 public String getCustomEmailBody() throws Exception { 039 return ""; 040 } 041 042 public Document getRouteHeaderVO() { 043 return routeHeaderVO; 044 } 045 046 public void setRouteHeaderVO(Document routeHeaderVO) { 047 this.routeHeaderVO = routeHeaderVO; 048 } 049 050 public ActionRequest getActionRequestVO() { 051 return actionRequestVO; 052 } 053 054 public void setActionRequestVO(ActionRequest actionRequestVO) { 055 this.actionRequestVO = actionRequestVO; 056 } 057 058 }