org.springframework.ldap.samples.person.options
Class CountryOption

java.lang.Object
  extended by net.sf.chainedoptions.AbstractChainedOption
      extended by org.springframework.ldap.samples.person.options.CountryOption
All Implemented Interfaces:
net.sf.chainedoptions.ChainedOption, InitializingBean

public class CountryOption
extends net.sf.chainedoptions.AbstractChainedOption

Responsible for retrieving available countries, sorting them, and adjusting the command object if necessary. Collaborates with ChainedOptionStrategy, BeanConverter, CountryDao.

Author:
Ulrik Sandberg

Constructor Summary
CountryOption()
           
 
Method Summary
protected  void initChainedOption()
           
 List retrieveOptions(Object command, Object context)
           
 void setCountryDao(CountryDao countryDao)
           
 
Methods inherited from class net.sf.chainedoptions.AbstractChainedOption
afterPropertiesSet, getCommandProperty, getConverter, getOptionsKey, getProperty, getStrategy, matches, setCommandProperty, setConverter, setDefaultStrategy, setOptionsKey, setProperty, updateValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountryOption

public CountryOption()
Method Detail

retrieveOptions

public List retrieveOptions(Object command,
                            Object context)
Specified by:
retrieveOptions in interface net.sf.chainedoptions.ChainedOption
Specified by:
retrieveOptions in class net.sf.chainedoptions.AbstractChainedOption

initChainedOption

protected void initChainedOption()
Overrides:
initChainedOption in class net.sf.chainedoptions.AbstractChainedOption

setCountryDao

public void setCountryDao(CountryDao countryDao)


Copyright © 2006-2009 Spring Framework. All Rights Reserved.