Novell exteNd
Director 5.2 API

com.novell.afw.portlet.api
Interface EbiPortletPreferencesDefaultType

All Superinterfaces:
Cloneable, EbiPortletPreferences

public interface EbiPortletPreferencesDefaultType
extends EbiPortletPreferences

Interace used to represent a collection of preferences that are related to a portlet's deployment. These preferences are the ones that were set byt the developer or deployer and can not be changed except by a re-deployment of the portlet.

Since:
v5.0

Method Summary
 javax.portlet.PreferencesValidator createValidator(javax.portlet.PortletContext portletContext)
          Creates a new instance of the validator class specified by the deployment decriptor.
 String getPreferenceValidator()
          Returns the class name of the preference validator.
 
Methods implemented from interface com.novell.afw.portlet.api.EbiPortletPreferences
getAllPreferences, getDisplayableXML, getParentPreferences, getPreference, getPreferenceMap, isPreferenceInherited, toXML
 

Method Detail

getPreferenceValidator

public String getPreferenceValidator()
Returns the class name of the preference validator.
Returns:
String for the fully qualified name of the preference validator class for this portlet, or null if none specified.
Since:
v5.0

createValidator

public javax.portlet.PreferencesValidator createValidator(javax.portlet.PortletContext portletContext)
                                                   throws EboUnrecoverableSystemException
Creates a new instance of the validator class specified by the deployment decriptor. If none was specified in the descriptor, null is returned. If there is an error creating the class, an unrecovereable exception is thrown.
Parameters:
portletContext - The portletContext for the application.
Returns:
An instance of the class specified in the descriptor, or null if none specified.
Throws:
EboUnrecoverableSystemException - if there is an error loading the class specified in the descriptor.
Since:
v5.0

Novell exteNd
Director 5.2 API