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

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

@Transactional
public class PostEntry
extends Object
implements PostTransaction

An implementation of PostTransaction that posts the actual entry


Constructor Summary
PostEntry()
          Constructs an instance of PostEntry
 
Method Summary
 String getDestinationName()
          The name of the destination for the post (ie, the database table name where resultant records will be posted)
 String post(Transaction t, int mode, Date postDate, ReportWriterService posterReportWriterService)
          Saves the transaction as a new GL Entry
 void setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
           
 void setPersistenceStructureService(org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostEntry

public PostEntry()
Constructs an instance of PostEntry

Method Detail

post

public String post(Transaction t,
                   int mode,
                   Date postDate,
                   ReportWriterService posterReportWriterService)
Saves the transaction as a new GL Entry

Specified by:
post in interface PostTransaction
Parameters:
t - the transaction which is being posted
mode - the mode the poster is currently running in
postDate - the date this transaction should post to
posterReportWriterService - the writer service where the poster is writing its report
Returns:
the accomplished post type
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()

setAccountingCycleCachingService

public void setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)

setPersistenceStructureService

public void setPersistenceStructureService(org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService)


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