public interface PreferencesValidator
PreferencesValidator allows to validate the set of
preferences of the associated portlet just before they are
stored in the persistent store.
The portlet container invokes the validate method as
part of the invocation of the store method of the
PortletPreferences.
| Modifier and Type | Method and Description |
|---|---|
void |
validate(PortletPreferences preferences)
If the preferences values are successfully validated the call to this method
must finish gracefully.
|
void validate(PortletPreferences preferences) throws ValidatorException
ValidatorException.preferences - preferences to validateValidatorException - if the given preferences contains invalid
settingsJava Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.