net.sf.chainedoptions
Class ChainedOptionManagerImpl
java.lang.Object
net.sf.chainedoptions.ChainedOptionManagerImpl
- All Implemented Interfaces:
- ChainedOptionManager, org.springframework.beans.factory.InitializingBean
public class ChainedOptionManagerImpl
- extends java.lang.Object
- implements ChainedOptionManager, org.springframework.beans.factory.InitializingBean
Default implementation of ChainedOptionManager. Operates on an
ordered collection of ChainedOption objects.
- Author:
- Mattias Arthursson, Ulrik Sandberg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChainedOptionManagerImpl
public ChainedOptionManagerImpl()
referenceData
public void referenceData(java.util.Map model,
java.lang.Object command,
java.lang.Object context)
- Iterate through the collection of
ChainedOption objects and
call retrieveOptions and updateValue. Put
the option Lists in the map with keys retrieved from the ChainedOption
objects.
- Specified by:
referenceData in interface ChainedOptionManager
- Parameters:
model - the map to store option Lists in.command - the command to operate on.context - the context.
getChainedOptions
public java.util.List getChainedOptions()
- Returns:
- Returns the chainedOptions.
setChainedOptions
public void setChainedOptions(java.util.List chainedOptions)
- Parameters:
chainedOptions - The chainedOptions to set.
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
Copyright ? 2005. All Rights Reserved.