org.formproc.store
Interface Storer

All Known Implementing Classes:
AbstractStorer

public interface Storer

Interface implemented by classes which can store the given field data in the target object.

Author:
Anthony Eden

Method Summary
 void loadConfiguration(com.anthonyeden.lib.config.Configuration configuration)
          Load the storer's configuration.
 void store(Form form, java.lang.String name, java.lang.Object value, java.util.Locale locale)
          Store the field data in the target object of the given form.
 

Method Detail

store

public void store(Form form,
                  java.lang.String name,
                  java.lang.Object value,
                  java.util.Locale locale)
           throws java.lang.Exception
Store the field data in the target object of the given form. Implementations should handle the possibility that the target object of the given form may be null.

Parameters:
form - The form
name - The field name
value - The field value
locale - The Locale
Throws:
java.lang.Exception

loadConfiguration

public void loadConfiguration(com.anthonyeden.lib.config.Configuration configuration)
                       throws com.anthonyeden.lib.config.ConfigurationException
Load the storer's configuration.

Parameters:
configuration - The configuration object
Throws:
com.anthonyeden.lib.config.ConfigurationException


Copyright (c) 2001-2003 Anthony Eden. All Rights Reserved.