org.kuali.kfs.module.endow.batch.service.impl
Class TicklerDeliveryServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.endow.batch.service.impl.TicklerDeliveryServiceImpl
All Implemented Interfaces:
TicklerDeliveryService

@Transactional
public class TicklerDeliveryServiceImpl
extends Object
implements TicklerDeliveryService


Constructor Summary
TicklerDeliveryServiceImpl()
           
 
Method Summary
protected  List<org.kuali.rice.kns.bo.AdHocRouteRecipient> combineAdHocRecipients(org.kuali.rice.kns.document.MaintenanceDocument ticklerDocument)
          Combines persons and workgroups from document into one list.
protected  List<org.kuali.rice.kns.bo.AdHocRouteWorkgroup> convertTicklerGroupsToAdhocRouteGroup(List<TicklerRecipientGroup> groups)
          Converts tickler groups into normal AdHocRouteWorkgroup list
protected  List<org.kuali.rice.kns.bo.AdHocRoutePerson> convertTicklerPrincipalToAdhocRoutePerson(List<TicklerRecipientPrincipal> principals)
          Converts tickler principals into normal AdHocRoutePerson list
protected  org.kuali.rice.kns.document.MaintenanceDocument createTicklerDocument(Tickler ticklerBo)
          Creates a Tickler Maintenance Document based on a Tickler BO
 boolean generateTicklerNotices()
           
protected  List<Tickler> getTicklerBusinessObjects()
          Retrieves a list of tickler BOs where the next review date is equal to today, the term date is null or greater than today, and the record is active.
protected  TicklerDeliveryStatisticsReportDetailTableRow getTicklerDeliveryStatisticsReportDetailTableRow()
           
protected  boolean routeTicklerDeliveryNotice(List<Tickler> ticklerBOs)
          Routes FYI tickler documents to Tickler persons and groups
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
           
 void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
           
 void setKemService(KEMService kemService)
           
 void setKualiRuleService(org.kuali.rice.kns.service.KualiRuleService kualiRuleService)
           
 void setTicklerDeliveryStatisticsReportDetailTableRow(TicklerDeliveryStatisticsReportDetailTableRow ticklerDeliveryStatisticsReportDetailTableRow)
           
 void setTicklerDeliveryStatisticsReportsWriterService(ReportWriterService ticklerDeliveryStatisticsReportsWriterService)
           
 void setUniversityDateService(UniversityDateService universityDateService)
           
protected  void writeStatisticsReport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TicklerDeliveryServiceImpl

public TicklerDeliveryServiceImpl()
Method Detail

generateTicklerNotices

public boolean generateTicklerNotices()
Specified by:
generateTicklerNotices in interface TicklerDeliveryService

getTicklerBusinessObjects

protected List<Tickler> getTicklerBusinessObjects()
Retrieves a list of tickler BOs where the next review date is equal to today, the term date is null or greater than today, and the record is active.

Parameters:
currentDate -
Returns:

routeTicklerDeliveryNotice

protected boolean routeTicklerDeliveryNotice(List<Tickler> ticklerBOs)
Routes FYI tickler documents to Tickler persons and groups

Parameters:
ticklerDocs -
Returns:

createTicklerDocument

protected org.kuali.rice.kns.document.MaintenanceDocument createTicklerDocument(Tickler ticklerBo)
Creates a Tickler Maintenance Document based on a Tickler BO

Parameters:
ticklerBo -
Returns:

convertTicklerPrincipalToAdhocRoutePerson

protected List<org.kuali.rice.kns.bo.AdHocRoutePerson> convertTicklerPrincipalToAdhocRoutePerson(List<TicklerRecipientPrincipal> principals)
Converts tickler principals into normal AdHocRoutePerson list

Parameters:
principals -
Returns:

convertTicklerGroupsToAdhocRouteGroup

protected List<org.kuali.rice.kns.bo.AdHocRouteWorkgroup> convertTicklerGroupsToAdhocRouteGroup(List<TicklerRecipientGroup> groups)
Converts tickler groups into normal AdHocRouteWorkgroup list

Parameters:
groups -
Returns:

combineAdHocRecipients

protected List<org.kuali.rice.kns.bo.AdHocRouteRecipient> combineAdHocRecipients(org.kuali.rice.kns.document.MaintenanceDocument ticklerDocument)
Combines persons and workgroups from document into one list.

Parameters:
ticklerDocument -
Returns:

writeStatisticsReport

protected void writeStatisticsReport()

getTicklerDeliveryStatisticsReportDetailTableRow

protected TicklerDeliveryStatisticsReportDetailTableRow getTicklerDeliveryStatisticsReportDetailTableRow()

setTicklerDeliveryStatisticsReportDetailTableRow

public void setTicklerDeliveryStatisticsReportDetailTableRow(TicklerDeliveryStatisticsReportDetailTableRow ticklerDeliveryStatisticsReportDetailTableRow)

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)

setKemService

public void setKemService(KEMService kemService)

setUniversityDateService

public void setUniversityDateService(UniversityDateService universityDateService)

setKualiRuleService

public void setKualiRuleService(org.kuali.rice.kns.service.KualiRuleService kualiRuleService)

setDocumentService

public void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)

setTicklerDeliveryStatisticsReportsWriterService

public void setTicklerDeliveryStatisticsReportsWriterService(ReportWriterService ticklerDeliveryStatisticsReportsWriterService)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.