org.kuali.kfs.module.ld.batch.service.impl
Class LaborNightlyOutServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.ld.batch.service.impl.LaborNightlyOutServiceImpl
All Implemented Interfaces:
LaborNightlyOutService

@Transactional
public class LaborNightlyOutServiceImpl
extends Object
implements LaborNightlyOutService

The class implements loading and cleanup methods for nightly batch jobs


Constructor Summary
LaborNightlyOutServiceImpl()
           
 
Method Summary
 void copyApprovedPendingLedgerEntries()
          This method copies the approved pending ledger entries to orign entry table
 void copyLaborGenerealLedgerEntries()
          This method copies the labor general ledger entries to GL
 void deleteCopiedLaborGenerealLedgerEntries()
          Delete all the labor general ledger entries that were copied for processing.
 void deleteCopiedPendingLedgerEntries()
          Delete all the pending entries that were copied for processing.
protected  LaborClearGeneralLedgerEntryDao getLaborClearGeneralLedgerEntryDao()
          Gets the laborClearGeneralLedgerEntryDao attribute.
protected  boolean saveAsGLOriginEntry(LaborGeneralLedgerEntry entry, OriginEntryGroup group)
           
protected  boolean saveAsLaborOriginEntry(LaborLedgerPendingEntry pendingEntry)
           
protected  boolean saveAsLaborOriginEntry(LaborLedgerPendingEntry pendingEntry, OriginEntryGroup group)
           
 void setBatchFileDirectoryName(String batchFileDirectoryName)
           
 void setBatchGlFileDirectoryName(String batchGlFileDirectoryName)
           
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
          Sets the dateTimeService attribute value.
 void setLaborClearGeneralLedgerEntryDao(LaborClearGeneralLedgerEntryDao laborClearGeneralLedgerEntryDao)
          Sets the laborClearGeneralLedgerEntryDao attribute value.
 void setLaborGLEntryReportWriterService(ReportWriterService laborGLEntryReportWriterService)
          Sets the laborGLEntryReportWriterService attribute value.
 void setLaborLedgerPendingEntryService(LaborLedgerPendingEntryService laborLedgerPendingEntryService)
          Sets the laborLedgerPendingEntryService attribute value.
 void setLaborPendingEntryLedgerReportWriterService(ReportWriterService laborPendingEntryLedgerReportWriterService)
          Sets the laborPendingEntryLedgerReportWriterService attribute value.
 void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
          Sets the originEntryGroupService attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaborNightlyOutServiceImpl

public LaborNightlyOutServiceImpl()
Method Detail

deleteCopiedPendingLedgerEntries

public void deleteCopiedPendingLedgerEntries()
Description copied from interface: LaborNightlyOutService
Delete all the pending entries that were copied for processing.

Specified by:
deleteCopiedPendingLedgerEntries in interface LaborNightlyOutService
See Also:
LaborNightlyOutService.deleteCopiedPendingLedgerEntries()

copyApprovedPendingLedgerEntries

public void copyApprovedPendingLedgerEntries()
Description copied from interface: LaborNightlyOutService
This method copies the approved pending ledger entries to orign entry table

Specified by:
copyApprovedPendingLedgerEntries in interface LaborNightlyOutService
See Also:
LaborNightlyOutService.copyApprovedPendingLedgerEntries()

deleteCopiedLaborGenerealLedgerEntries

public void deleteCopiedLaborGenerealLedgerEntries()
Description copied from interface: LaborNightlyOutService
Delete all the labor general ledger entries that were copied for processing.

Specified by:
deleteCopiedLaborGenerealLedgerEntries in interface LaborNightlyOutService
See Also:
LaborNightlyOutService.deleteCopiedLaborGenerealLedgerEntries()

copyLaborGenerealLedgerEntries

public void copyLaborGenerealLedgerEntries()
Description copied from interface: LaborNightlyOutService
This method copies the labor general ledger entries to GL

Specified by:
copyLaborGenerealLedgerEntries in interface LaborNightlyOutService
See Also:
LaborNightlyOutService.copyLaborGenerealLedgerEntries()

saveAsLaborOriginEntry

protected boolean saveAsLaborOriginEntry(LaborLedgerPendingEntry pendingEntry,
                                         OriginEntryGroup group)

saveAsLaborOriginEntry

protected boolean saveAsLaborOriginEntry(LaborLedgerPendingEntry pendingEntry)

saveAsGLOriginEntry

protected boolean saveAsGLOriginEntry(LaborGeneralLedgerEntry entry,
                                      OriginEntryGroup group)

setBusinessObjectService

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

Parameters:
businessObjectService - The businessObjectService to set.

setDateTimeService

public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
Sets the dateTimeService attribute value.

Parameters:
dateTimeService - The dateTimeService to set.

setLaborLedgerPendingEntryService

public void setLaborLedgerPendingEntryService(LaborLedgerPendingEntryService laborLedgerPendingEntryService)
Sets the laborLedgerPendingEntryService attribute value.

Parameters:
laborLedgerPendingEntryService - The laborLedgerPendingEntryService to set.

setOriginEntryGroupService

public void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
Sets the originEntryGroupService attribute value.

Parameters:
originEntryGroupService - The originEntryGroupService to set.

setBatchFileDirectoryName

public void setBatchFileDirectoryName(String batchFileDirectoryName)

setBatchGlFileDirectoryName

public void setBatchGlFileDirectoryName(String batchGlFileDirectoryName)

setLaborPendingEntryLedgerReportWriterService

public void setLaborPendingEntryLedgerReportWriterService(ReportWriterService laborPendingEntryLedgerReportWriterService)
Sets the laborPendingEntryLedgerReportWriterService attribute value.

Parameters:
laborPendingEntryLedgerReportWriterService - The laborPendingEntryLedgerReportWriterService to set.

setLaborGLEntryReportWriterService

public void setLaborGLEntryReportWriterService(ReportWriterService laborGLEntryReportWriterService)
Sets the laborGLEntryReportWriterService attribute value.

Parameters:
laborGLEntryReportWriterService - The laborGLEntryReportWriterService to set.

getLaborClearGeneralLedgerEntryDao

protected LaborClearGeneralLedgerEntryDao getLaborClearGeneralLedgerEntryDao()
Gets the laborClearGeneralLedgerEntryDao attribute.

Returns:
Returns the laborClearGeneralLedgerEntryDao.

setLaborClearGeneralLedgerEntryDao

public void setLaborClearGeneralLedgerEntryDao(LaborClearGeneralLedgerEntryDao laborClearGeneralLedgerEntryDao)
Sets the laborClearGeneralLedgerEntryDao attribute value.

Parameters:
laborClearGeneralLedgerEntryDao - The laborClearGeneralLedgerEntryDao to set.


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