org.kuali.kfs.gl.service.impl
Class GlCorrectionProcessOriginEntryServiceImpl

java.lang.Object
  extended by org.kuali.kfs.gl.service.impl.GlCorrectionProcessOriginEntryServiceImpl
All Implemented Interfaces:
GlCorrectionProcessOriginEntryService

@Transactional
public class GlCorrectionProcessOriginEntryServiceImpl
extends Object
implements GlCorrectionProcessOriginEntryService

This implementation of GlCorrectionProcessOriginEntryService uses the database to temporarily store lists of origin entries. While this implementation does not clear out persisted origin entries, the batch job defined using the org.kuali.kfs.sys.batch.PurgeOldLookupResultsStep class may cause the purging of origin entries persisted with this implementation.

See Also:
GlCorrectionProcessOriginEntryService

Constructor Summary
GlCorrectionProcessOriginEntryServiceImpl()
           
 
Method Summary
protected  org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
          Gets the businessObjectService attribute.
 void persistAllEntries(String glcpSearchResuiltsSequenceNumber, List<OriginEntryFull> allEntries)
          Persists the origin entries under a given sequence number.
 List<OriginEntryFull> retrieveAllEntries(String glcpSearchResuiltsSequenceNumber)
          Retrieves the origin entries stored under the given sequence number
protected  org.kuali.rice.kns.bo.LookupResults retrieveGlcpAllOriginEntries(String glcpSearchResuiltsSequenceNumber)
           
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlCorrectionProcessOriginEntryServiceImpl

public GlCorrectionProcessOriginEntryServiceImpl()
Method Detail

persistAllEntries

public void persistAllEntries(String glcpSearchResuiltsSequenceNumber,
                              List<OriginEntryFull> allEntries)
                       throws Exception
Persists the origin entries under a given sequence number. If entries are persisted again under the same sequence number, then they will be overridden.

Specified by:
persistAllEntries in interface GlCorrectionProcessOriginEntryService
Parameters:
glcpSearchResuiltsSequenceNumber - a sequence number
allEntries - a list of origin entries
Throws:
Exception - thrown if anything goes wrong
See Also:
GlCorrectionProcessOriginEntryService.persistAllEntries(java.lang.String, java.util.List)

retrieveAllEntries

public List<OriginEntryFull> retrieveAllEntries(String glcpSearchResuiltsSequenceNumber)
                                         throws Exception
Retrieves the origin entries stored under the given sequence number

Specified by:
retrieveAllEntries in interface GlCorrectionProcessOriginEntryService
Parameters:
glcpSearchResuiltsSequenceNumber - a sequence number
Returns:
a list of origin entries, or null if no results are currently not in the system.
Throws:
Exception - thrown if something goes wrong - vague documentation for a vague exception
See Also:
GlCorrectionProcessOriginEntryService.retrieveAllEntries(java.lang.String)

retrieveGlcpAllOriginEntries

protected org.kuali.rice.kns.bo.LookupResults retrieveGlcpAllOriginEntries(String glcpSearchResuiltsSequenceNumber)

getBusinessObjectService

protected org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
Gets the businessObjectService attribute.

Returns:
Returns the businessObjectService.

setBusinessObjectService

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

Parameters:
businessObjectService - The businessObjectService to set.


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