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

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

@Transactional
public class OrganizationReversionUnitOfWorkServiceImpl
extends Object
implements OrganizationReversionUnitOfWorkService

The base implementation of OrganizationReversionUnitOfWorkService


Constructor Summary
OrganizationReversionUnitOfWorkServiceImpl()
           
 
Method Summary
 void destroyAllUnitOfWorkSummaries()
          Immediate deletion awaits all entries of the unit of work summary tables in the persistence store once you call this method, for this method is both powerful and deadly and also gets called to clear out those tables before every single org reversion run.
 org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
          Gets the businessObjectService attribute.
 OrganizationReversionUnitOfWorkDao getOrgReversionUnitOfWorkDao()
          Gets the orgReversionUnitOfWorkDao attribute.
 OrgReversionUnitOfWork loadCategories(OrgReversionUnitOfWork orgRevUnitOfWork)
          This method takes a unit of work retrieved from the persistence store and loads its categories
 void save(OrgReversionUnitOfWork orgRevUnitOfWork)
          This save method is guaranteed to save the category data as well.
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 void setOrgReversionUnitOfWorkDao(OrganizationReversionUnitOfWorkDao orgReversionUnitOfWorkDao)
          Sets the orgReversionUnitOfWorkDao attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationReversionUnitOfWorkServiceImpl

public OrganizationReversionUnitOfWorkServiceImpl()
Method Detail

loadCategories

public OrgReversionUnitOfWork loadCategories(OrgReversionUnitOfWork orgRevUnitOfWork)
This method takes a unit of work retrieved from the persistence store and loads its categories

Specified by:
loadCategories in interface OrganizationReversionUnitOfWorkService
Parameters:
orgRevUnitOfWork - org reversion unit of work to load categories for
Returns:
the org reversion unit of work with loaded categories
See Also:
OrganizationReversionUnitOfWorkService.loadCategories(org.kuali.kfs.gl.businessobject.OrgReversionUnitOfWork)

destroyAllUnitOfWorkSummaries

public void destroyAllUnitOfWorkSummaries()
Immediate deletion awaits all entries of the unit of work summary tables in the persistence store once you call this method, for this method is both powerful and deadly and also gets called to clear out those tables before every single org reversion run.

Specified by:
destroyAllUnitOfWorkSummaries in interface OrganizationReversionUnitOfWorkService
See Also:
org.kuali.kfs.gl.batch.service.OrganizationReversionUnitOfWorkService#removeAll()

save

public void save(OrgReversionUnitOfWork orgRevUnitOfWork)
This save method is guaranteed to save the category data as well.

Specified by:
save in interface OrganizationReversionUnitOfWorkService
Parameters:
orgRevUnitOfWork - organizationReversionUnitOfWork to save
See Also:
OrganizationReversionUnitOfWorkService.save(org.kuali.kfs.gl.businessobject.OrgReversionUnitOfWork)

getBusinessObjectService

public 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.

getOrgReversionUnitOfWorkDao

public OrganizationReversionUnitOfWorkDao getOrgReversionUnitOfWorkDao()
Gets the orgReversionUnitOfWorkDao attribute.

Returns:
Returns the orgReversionUnitOfWorkDao.

setOrgReversionUnitOfWorkDao

public void setOrgReversionUnitOfWorkDao(OrganizationReversionUnitOfWorkDao orgReversionUnitOfWorkDao)
Sets the orgReversionUnitOfWorkDao attribute value.

Parameters:
orgReversionUnitOfWorkDao - The orgReversionUnitOfWorkDao to set.


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