Package javax.portlet
Interface PreferencesValidator
-
public interface PreferencesValidatorThePreferencesValidatorallows to validate the set of preferences of the associated portlet just before they are stored in the persistent store. The portlet container invokes thevalidatemethod as part of the invocation of thestoremethod of thePortletPreferences.- Version:
- $Revision: 5441 $
- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(PortletPreferences preferences)If the preferences values are successfully validated the call to this method must finish gracefully.
-
-
-
Method Detail
-
validate
void validate(PortletPreferences preferences) throws ValidatorException
If the preferences values are successfully validated the call to this method must finish gracefully. Otherwise it must throw aValidatorException.- Parameters:
preferences- preferences to validate- Throws:
ValidatorException- if the given preferences contains invalid settings
-
-