org.kuali.kfs.coa.service.impl
Class OrganizationReversionServiceImpl

java.lang.Object
  extended by org.kuali.kfs.coa.service.impl.OrganizationReversionServiceImpl
All Implemented Interfaces:
OrganizationReversionService

public class OrganizationReversionServiceImpl
extends Object
implements OrganizationReversionService

This service implementation is the default implementation of the OrganizationReversion service that is delivered with Kuali.


Constructor Summary
OrganizationReversionServiceImpl()
           
 
Method Summary
 OrganizationReversion getByPrimaryId(Integer fiscalYear, String chartCode, String orgCode)
          Get an organization reversion record
 Map<String,OrganizationReversionCategoryLogic> getCategories()
          Get org reversion categories
 List<OrganizationReversionCategory> getCategoryList()
          List of reversion categories in order of the sort code
 String getOrganizationReversionDetaiFromSystemParameters()
          This method looks up the default object code to populate the Organization Reversion object code if the "carry Forward by Object Code" box is not checked.
 boolean isCategoryActive(String categoryCode)
          Determines if the given category code represents an active category
 boolean isCategoryActiveByName(String categoryName)
          Determines if the given category name represents an active category
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService boService)
          Sets an implementation of the business object service
 void setOrganizationReversionDao(OrganizationReversionDao orgDao)
          This method injects the OrganizationReversionDao
 void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
          This method injects the ParameterService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationReversionServiceImpl

public OrganizationReversionServiceImpl()
Method Detail

getByPrimaryId

public OrganizationReversion getByPrimaryId(Integer fiscalYear,
                                            String chartCode,
                                            String orgCode)
Description copied from interface: OrganizationReversionService
Get an organization reversion record

Specified by:
getByPrimaryId in interface OrganizationReversionService
Parameters:
fiscalYear - Fiscal Year
chartCode - Chart
orgCode - Organization code
Returns:
Org Reversion record
See Also:
OrganizationReversionService.getByPrimaryId(java.lang.Integer, java.lang.String, java.lang.String)

getCategories

public Map<String,OrganizationReversionCategoryLogic> getCategories()
Description copied from interface: OrganizationReversionService
Get org reversion categories

Specified by:
getCategories in interface OrganizationReversionService
Returns:
map of org reversion categories
See Also:
OrganizationReversionService.getCategories()

getCategoryList

public List<OrganizationReversionCategory> getCategoryList()
Description copied from interface: OrganizationReversionService
List of reversion categories in order of the sort code

Specified by:
getCategoryList in interface OrganizationReversionService
Returns:
list of org reversion category codes
See Also:
OrganizationReversionService.getCategoryList()

getOrganizationReversionDetaiFromSystemParameters

public String getOrganizationReversionDetaiFromSystemParameters()
Description copied from interface: OrganizationReversionService
This method looks up the default object code to populate the Organization Reversion object code if the "carry Forward by Object Code" box is not checked.

Specified by:
getOrganizationReversionDetaiFromSystemParameters in interface OrganizationReversionService
Returns:
system parameter default value for Organization Reversion detail
See Also:
OrganizationReversionService.getOrganizationReversionDetaiFromSystemParameters()

isCategoryActive

public boolean isCategoryActive(String categoryCode)
Description copied from interface: OrganizationReversionService
Determines if the given category code represents an active category

Specified by:
isCategoryActive in interface OrganizationReversionService
Parameters:
categoryCode - the category code to check
Returns:
true if the given category code represents an active category; false otherwise
See Also:
OrganizationReversionService.isCategoryActive(java.lang.String)

isCategoryActiveByName

public boolean isCategoryActiveByName(String categoryName)
Description copied from interface: OrganizationReversionService
Determines if the given category name represents an active category

Specified by:
isCategoryActiveByName in interface OrganizationReversionService
Parameters:
categoryName - the category name to check
Returns:
true if the given category name represents an active category; false otherwise
See Also:
OrganizationReversionService.isCategoryActiveByName(java.lang.String)

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
This method injects the ParameterService

Parameters:
parameterService -

setOrganizationReversionDao

public void setOrganizationReversionDao(OrganizationReversionDao orgDao)
This method injects the OrganizationReversionDao

Parameters:
orgDao -

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService boService)
Sets an implementation of the business object service

Parameters:
boService - the implementation of the BusinessObjectService to set


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