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

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

@Transactional
public class LaborLedgerEntryPoster
extends Object
implements PostTransaction

The class is used to post a transaction to labor ledger entry table


Constructor Summary
LaborLedgerEntryPoster()
           
 
Method Summary
 String getDestinationName()
          The name of the destination for the post (ie, the database table name where resultant records will be posted)
 LaborAccountingCycleCachingService getLaborAccountingCycleCachingService()
          Gets the laborAccountingCycleCachingService attribute.
 String post(Transaction transaction, int mode, Date postDate, ReportWriterService posterReportWriterService)
          Post a single transaction to a single destination.
 void setLaborAccountingCycleCachingService(LaborAccountingCycleCachingService laborAccountingCycleCachingService)
          Sets the laborAccountingCycleCachingService attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaborLedgerEntryPoster

public LaborLedgerEntryPoster()
Method Detail

post

public String post(Transaction transaction,
                   int mode,
                   Date postDate,
                   ReportWriterService posterReportWriterService)
Description copied from interface: PostTransaction
Post a single transaction to a single destination.

Specified by:
post in interface PostTransaction
Parameters:
transaction - Transaction to post
mode - PosterService.MODE_ENTRIES or PosterService.MODE_REVERSAL
postDate - post date/time
posterReportWriterService - the writer service where the poster is writing its report
Returns:
The letter I if a row was inserted, U updated, D deleted. The string can have multiple codes.
See Also:
org.kuali.kfs.gl.batch.service.PostTransaction#post(org.kuali.kfs.gl.businessobject.Transaction, int, java.util.Date)

getDestinationName

public String getDestinationName()
Description copied from interface: PostTransaction
The name of the destination for the post (ie, the database table name where resultant records will be posted)

Specified by:
getDestinationName in interface PostTransaction
Returns:
name
See Also:
PostTransaction.getDestinationName()

getLaborAccountingCycleCachingService

public LaborAccountingCycleCachingService getLaborAccountingCycleCachingService()
Gets the laborAccountingCycleCachingService attribute.

Returns:
Returns the laborAccountingCycleCachingService.

setLaborAccountingCycleCachingService

public void setLaborAccountingCycleCachingService(LaborAccountingCycleCachingService laborAccountingCycleCachingService)
Sets the laborAccountingCycleCachingService attribute value.

Parameters:
laborAccountingCycleCachingService - The laborAccountingCycleCachingService to set.


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