1 package org.kuali.ole.deliver.notice.noticeFormatters;
2
3 import org.kuali.ole.deliver.bo.OleDeliverRequestBo;
4
5 import java.util.Map;
6
7
8
9
10 public class RecallRequestEmailContentFormatter extends RequestEmailContentFormatter {
11 @Override
12 public String getCustomItemHeaderInfo(OleDeliverRequestBo oleDeliverRequestBo,Map<String,String> fieldLabelMap) {
13 return null;
14 }
15
16 @Override
17 public String getCustomItemFooterInfo(OleDeliverRequestBo oleDeliverRequestBo,Map<String,String> fieldLabelMap) {
18 StringBuffer stringBuffer = new StringBuffer();
19 stringBuffer.append("<TR><TD>");
20 stringBuffer.append(fieldLabelMap.get("Original Due Date")!=null ?fieldLabelMap.get("Original Due Date"):"Original Due Date" +":</TD><TD>" + ( oleDeliverRequestBo.getOriginalDueDate()!= null ? oleDeliverRequestBo.getOriginalDueDate() : "") + "</TD></TR><TR><TD>");
21 stringBuffer.append(fieldLabelMap.get("Recall Due Date")!=null ?fieldLabelMap.get("Recall Due Date"):"Recall Due Date" +":</TD><TD>" + ( oleDeliverRequestBo.getRecallDueDate()!= null ? oleDeliverRequestBo.getRecallDueDate() : "") + "</TD></TR>");
22 return stringBuffer.toString();
23 }
24 }