org.kuali.kfs.gl.businessobject.options
Class AmountViewOptionFinder

java.lang.Object
  extended by org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase
      extended by org.kuali.kfs.gl.businessobject.options.AmountViewOptionFinder
All Implemented Interfaces:
org.kuali.rice.kns.lookup.keyvalues.KeyValuesFinder, org.kuali.rice.kns.lookup.valueFinder.ValueFinder

public class AmountViewOptionFinder
extends org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase
implements org.kuali.rice.kns.lookup.valueFinder.ValueFinder

An implementation of ValuesFinder that allows GL inquiries to select either monthly totals or accumulated totals on balance inquiries


Constructor Summary
AmountViewOptionFinder()
           
 
Method Summary
 List getKeyValues()
          Returns a list of key values to populate a drop down to choose between monthly totals and accumulated totals
 String getValue()
          Returns the default value of this ValueFinder: here, MONTHLY
 
Methods inherited from class org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase
clearInternalCache, getKeyLabel, getKeyLabelMap, getKeyValues, getOptionLabels, getOptionValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmountViewOptionFinder

public AmountViewOptionFinder()
Method Detail

getValue

public String getValue()
Returns the default value of this ValueFinder: here, MONTHLY

Specified by:
getValue in interface org.kuali.rice.kns.lookup.valueFinder.ValueFinder
Returns:
the default value for this finder, which should be "monthly totals"
See Also:
ValueFinder.getValue()

getKeyValues

public List getKeyValues()
Returns a list of key values to populate a drop down to choose between monthly totals and accumulated totals

Specified by:
getKeyValues in interface org.kuali.rice.kns.lookup.keyvalues.KeyValuesFinder
Returns:
a List of key value pairs
See Also:
KeyValuesFinder.getKeyValues()


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