org.kuali.kfs.module.ec.batch.service.impl
Class EffortCertificationCreateServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.ec.batch.service.impl.EffortCertificationCreateServiceImpl
All Implemented Interfaces:
EffortCertificationCreateService

@Transactional
public class EffortCertificationCreateServiceImpl
extends Object
implements EffortCertificationCreateService

This Process creates effort certification documents from the temporary build table created by the batch process and routes effort certification documents to project directors, fiscal officers, and central workgroups. The process includes the following steps:

  • construct an effort certification document from a temporary effort certification document;
  • route each effort certification document;
  • delete the temporary effort certification document after routing successfully.

  • Constructor Summary
    EffortCertificationCreateServiceImpl()
               
     
    Method Summary
     void create()
              create effort certification documents and submit it for approval.
     void create(Integer fiscalYear, String reportNumber)
              create effort certification documents and submit it for approval.
     void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
              Sets the businessObjectService attribute value.
     void setEffortCertificationDocumentService(EffortCertificationDocumentService effortCertificationDocumentService)
              Sets the effortCertificationDocumentService attribute value.
    protected  String validateReportDefintion(Map<String,String> fieldValues)
              check if a report has been defined and its docuemnts have not been generated.
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    EffortCertificationCreateServiceImpl

    public EffortCertificationCreateServiceImpl()
    Method Detail

    create

    public void create()
    Description copied from interface: EffortCertificationCreateService
    create effort certification documents and submit it for approval. The reporting period can be determined by both of fiscal year and report number declared as system parameters.

    Specified by:
    create in interface EffortCertificationCreateService
    See Also:
    EffortCertificationCreateService.create()

    create

    public void create(Integer fiscalYear,
                       String reportNumber)
    Description copied from interface: EffortCertificationCreateService
    create effort certification documents and submit it for approval. The reporting period can be determined by both of fiscal year and report number.

    Specified by:
    create in interface EffortCertificationCreateService
    Parameters:
    fiscalYear - the given fiscal year with which Labor ledgers can be extracted.
    reportNumber - the given report number to run.
    See Also:
    EffortCertificationCreateService.create(java.lang.Integer, java.lang.String)

    validateReportDefintion

    protected String validateReportDefintion(Map<String,String> fieldValues)
    check if a report has been defined and its docuemnts have not been generated. The combination of fiscal year and report number can determine a report definition.

    Parameters:
    fieldValues - the map containing fiscalYear and report number
    Returns:
    a message if a report has not been defined or its documents have been gerenated; otherwise, return null

    setBusinessObjectService

    public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
    Sets the businessObjectService attribute value.

    Parameters:
    businessObjectService - The businessObjectService to set.

    setEffortCertificationDocumentService

    public void setEffortCertificationDocumentService(EffortCertificationDocumentService effortCertificationDocumentService)
    Sets the effortCertificationDocumentService attribute value.

    Parameters:
    effortCertificationDocumentService - The effortCertificationDocumentService to set.


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