org.kuali.kfs.module.bc.document.service.impl
Class BudgetParameterServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.bc.document.service.impl.BudgetParameterServiceImpl
All Implemented Interfaces:
BudgetParameterService

public class BudgetParameterServiceImpl
extends Object
implements BudgetParameterService

See BudgetParameterService. This implements value added methods associated with ParameterService that are specific to the budget module.


Constructor Summary
BudgetParameterServiceImpl()
           
 
Method Summary
 String getLookupObjectTypes(boolean isRevenue)
          returns a string containing the allowed revenue or expenditure object types setup in the Budget Construction parameter space.
 List getParameterValues(Class componentClass, String parameterName)
          Returns a system parameter value as a list.
 BCConstants.AccountSalarySettingOnlyCause isSalarySettingOnlyAccount(BudgetConstructionDocument bcDoc)
          determines if a BudgetConstructionDocument's account is a salary setting only account returns AccountSalarySettingOnlyCause.NONE if not and if both system parameters don't exist
 void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
          Sets the parameterService attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BudgetParameterServiceImpl

public BudgetParameterServiceImpl()
Method Detail

getParameterValues

public List getParameterValues(Class componentClass,
                               String parameterName)
Description copied from interface: BudgetParameterService
Returns a system parameter value as a list. If the parameter doesn't exist, a null list is returned and an info message is written to the log

Specified by:
getParameterValues in interface BudgetParameterService
Returns:
See Also:
BudgetParameterService.getParameterValues(java.lang.Class, java.lang.String)

isSalarySettingOnlyAccount

public BCConstants.AccountSalarySettingOnlyCause isSalarySettingOnlyAccount(BudgetConstructionDocument bcDoc)
Description copied from interface: BudgetParameterService
determines if a BudgetConstructionDocument's account is a salary setting only account returns AccountSalarySettingOnlyCause.NONE if not and if both system parameters don't exist

Specified by:
isSalarySettingOnlyAccount in interface BudgetParameterService
Returns:
See Also:
BudgetParameterService.isSalarySettingOnlyAccount(org.kuali.kfs.module.bc.document.BudgetConstructionDocument)

getLookupObjectTypes

public String getLookupObjectTypes(boolean isRevenue)
Description copied from interface: BudgetParameterService
returns a string containing the allowed revenue or expenditure object types setup in the Budget Construction parameter space. this string is typically used in the lookup search criteria

Specified by:
getLookupObjectTypes in interface BudgetParameterService
Returns:
See Also:
this implementation returns a string where the values are separated by the OR symbol.

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value.

Parameters:
parameterService - The parameterService to set.


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