org.kuali.kfs.gl.batch.service.impl
Class OrganizationReversionProcessServiceImpl

java.lang.Object
  extended by org.kuali.kfs.gl.batch.service.impl.OrganizationReversionProcessServiceImpl
All Implemented Interfaces:
OrganizationReversionProcessService

@Transactional
public class OrganizationReversionProcessServiceImpl
extends Object
implements OrganizationReversionProcessService

The base implementation of OrganizationReversionProcessService


Constructor Summary
OrganizationReversionProcessServiceImpl()
           
 
Method Summary
 org.kuali.rice.kns.service.KualiConfigurationService getConfigurationService()
          Gets the configurationService attribute.
 Map getJobParameters()
          Returns a Map with the properly initialized parameters for an organization reversion job that is about to run
 ReportWriterService getOrganizationReversionReportWriterService()
          Gets the organizationReversionReportWriterService attribute.
 org.kuali.rice.kns.service.ParameterService getParameterService()
          Gets the parameterService attribute.
 void organizationReversionCurrentYearAccountProcess(Map jobParameters, Map<String,Integer> organizationReversionCounts)
          Organization Reversion Year End Process for the beginning of a fiscal year (ie, the process as it runs after the fiscal year end, thus using prior year account, etc.)
 void organizationReversionPriorYearAccountProcess(Map jobParameters, Map<String,Integer> organizationReversionCounts)
          Runs the Organization Reversion Year End Process for the end of a fiscal year (ie, a process that runs before the fiscal year end, and thus uses current account, etc.)
 void setConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService configurationService)
          Sets the implementation of the KualiConfigurationService to use
 void setOrganizationReversionReportWriterService(ReportWriterService organizationReversionReportWriterService)
          Sets the organizationReversionReportWriterService attribute value.
 void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
          Sets the implementation of ParameterService to use
 void writeReports(OrganizationReversionProcess organizationReversionProcess, Map jobParameters, Map<String,Integer> counts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationReversionProcessServiceImpl

public OrganizationReversionProcessServiceImpl()
Method Detail

getOrganizationReversionReportWriterService

public ReportWriterService getOrganizationReversionReportWriterService()
Gets the organizationReversionReportWriterService attribute.

Returns:
Returns the organizationReversionReportWriterService.

setOrganizationReversionReportWriterService

public void setOrganizationReversionReportWriterService(ReportWriterService organizationReversionReportWriterService)
Sets the organizationReversionReportWriterService attribute value.

Parameters:
organizationReversionReportWriterService - The organizationReversionReportWriterService to set.

organizationReversionPriorYearAccountProcess

public void organizationReversionPriorYearAccountProcess(Map jobParameters,
                                                         Map<String,Integer> organizationReversionCounts)
Runs the Organization Reversion Year End Process for the end of a fiscal year (ie, a process that runs before the fiscal year end, and thus uses current account, etc.)

Specified by:
organizationReversionPriorYearAccountProcess in interface OrganizationReversionProcessService
Parameters:
outputGroup - the origin entry group that this process should save entries to
jobParameters - the parameters used in the process
organizationReversionCounts - a Map of named statistics generated by running the process
See Also:
org.kuali.kfs.gl.batch.service.OrganizationReversionProcessService#organizationReversionProcessEndOfYear(org.kuali.kfs.gl.businessobject.OriginEntryGroup, java.util.Map, java.util.Map)

organizationReversionCurrentYearAccountProcess

public void organizationReversionCurrentYearAccountProcess(Map jobParameters,
                                                           Map<String,Integer> organizationReversionCounts)
Organization Reversion Year End Process for the beginning of a fiscal year (ie, the process as it runs after the fiscal year end, thus using prior year account, etc.)

Specified by:
organizationReversionCurrentYearAccountProcess in interface OrganizationReversionProcessService
Parameters:
jobParameters - the parameters used in the process
organizationReversionCounts - a Map of named statistics generated by running the process
See Also:
org.kuali.kfs.gl.batch.service.OrganizationReversionProcessService#organizationReversionProcessBeginningOfYear(org.kuali.kfs.gl.businessobject.OriginEntryGroup, java.util.Map, java.util.Map)

getJobParameters

public Map getJobParameters()
Returns a Map with the properly initialized parameters for an organization reversion job that is about to run

Specified by:
getJobParameters in interface OrganizationReversionProcessService
Returns:
a Map holding parameters for the job
See Also:
OrganizationReversionProcessService.getJobParameters()

writeReports

public void writeReports(OrganizationReversionProcess organizationReversionProcess,
                         Map jobParameters,
                         Map<String,Integer> counts)
Parameters:
organizationReversionProcess -
jobParameters -
counts -

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the implementation of ParameterService to use

Parameters:
parameterService - an implementation of ParameterService

setConfigurationService

public void setConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService configurationService)
Sets the implementation of the KualiConfigurationService to use

Parameters:
configurationService - an implementation of the KualiConfigurationService

getParameterService

public org.kuali.rice.kns.service.ParameterService getParameterService()
Gets the parameterService attribute.

Returns:
Returns the parameterService.

getConfigurationService

public org.kuali.rice.kns.service.KualiConfigurationService getConfigurationService()
Gets the configurationService attribute.

Returns:
Returns the configurationService.


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