net.sf.chainedoptions
Interface ChainedOptionManager

All Known Implementing Classes:
ChainedOptionManagerImpl

public interface ChainedOptionManager

Responsible for retrieving options and maintaining default values in command objects.

Author:
Mattias Arthursson, Ulrik Sandberg

Method Summary
 void referenceData(java.util.Map model, java.lang.Object command, java.lang.Object context)
          Sets option Lists in the supplied map and makes sure that the command object always has valid values for all managed properties.
 

Method Detail

referenceData

void referenceData(java.util.Map model,
                   java.lang.Object command,
                   java.lang.Object context)
Sets option Lists in the supplied map and makes sure that the command object always has valid values for all managed properties.

Parameters:
model - Map where the option Lists will be stored.
command - the command object to operate on.
context - any context that might be useful for selecting valid options and default values. E.g. a Request might be passed as a context for filtering options based on user access.


Copyright ? 2005. All Rights Reserved.