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

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

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

An implementation of ValueFinder that allows inquirers to include no pending entries, approved pending entries, or all pending entries in the results of their lookup


Constructor Summary
PendingEntryOptionFinder()
           
 
Method Summary
 List getKeyValues()
          Returns a list of key/value pairs for this ValueFinder, in this case no pending entries, approved pending entries, and all pending entries
 String getValue()
          Returns the default value for this ValueFinder, in this case no pending entries
 
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

PendingEntryOptionFinder

public PendingEntryOptionFinder()
Method Detail

getKeyValues

public List getKeyValues()
Returns a list of key/value pairs for this ValueFinder, in this case no pending entries, approved pending entries, and all pending entries

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

getValue

public String getValue()
Returns the default value for this ValueFinder, in this case no pending entries

Specified by:
getValue in interface org.kuali.rice.kns.lookup.valueFinder.ValueFinder
Returns:
the key of the default value
See Also:
ValueFinder.getValue()


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