public abstract class NoticesExecutor extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected List<OleLoanDocument> |
loanDocuments |
Constructor and Description |
---|
NoticesExecutor(List<OleLoanDocument> loanDocuments) |
Modifier and Type | Method and Description |
---|---|
abstract List<OLEDeliverNotice> |
buildNoticesForDeletion() |
abstract String |
generateMailContent(List<OleLoanDocument> oleLoanDocuments) |
protected org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
String |
getItemTypeCodeByName(String itemTypeName) |
ParameterValueResolver |
getParameterResolverInstance() |
String |
getPatronHomeEmailId(org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityTypeContactInfoBo) |
protected Timestamp |
getSendToDate(String noticeToDate) |
protected abstract void |
postProcess(List<OleLoanDocument> loanDocuments) |
protected abstract void |
preProcess(List<OleLoanDocument> loanDocuments) |
void |
run() |
String |
sendMailsToPatron(String emailAddress,
String noticeContent,
String itemLocation) |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setCircDeskLocationResolver(CircDeskLocationResolver circDeskLocationResolver) |
protected List<OleLoanDocument> loanDocuments
public NoticesExecutor(List<OleLoanDocument> loanDocuments)
public String getPatronHomeEmailId(org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityTypeContactInfoBo) throws Exception
Exception
public String sendMailsToPatron(String emailAddress, String noticeContent, String itemLocation)
public void setCircDeskLocationResolver(CircDeskLocationResolver circDeskLocationResolver)
protected org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
protected abstract void postProcess(List<OleLoanDocument> loanDocuments)
protected abstract void preProcess(List<OleLoanDocument> loanDocuments)
public abstract List<OLEDeliverNotice> buildNoticesForDeletion()
public abstract String generateMailContent(List<OleLoanDocument> oleLoanDocuments)
public ParameterValueResolver getParameterResolverInstance()
public String getItemTypeCodeByName(String itemTypeName)
protected Timestamp getSendToDate(String noticeToDate)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.