org.apache.pluto.om.common
Interface PreferenceSet

All Superinterfaces:
Model

public interface PreferenceSet
extends Model

This interface provides access to a set of Preference objects.

This interface defines the model as known from the MVC pattern. Its purpose is to provide read access to the data stored in the model.


Method Summary
 Preference get(java.lang.String name)
          Returns the preference object of the given name.
 javax.portlet.PreferencesValidator getPreferencesValidator()
          Returns the PreferencesValidator for this preference set.
 java.util.Iterator iterator()
          Returns all elements of this set as iterator.
 

Method Detail

iterator

public java.util.Iterator iterator()
Returns all elements of this set as iterator. The return value cannot be NULL.

Returns:
An iterator containing all preference objects

get

public Preference get(java.lang.String name)
Returns the preference object of the given name. The return value may be NULL.

Returns:
the preference object

getPreferencesValidator

public javax.portlet.PreferencesValidator getPreferencesValidator()
Returns the PreferencesValidator for this preference set.

Returns:
the preferencesValidator object


Copyright © 2003-2006 . All Rights Reserved.