|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.pluto.internal.impl.PortletEntityImpl
The PortletEntity encapsulates all data pertaining to a single portlet
instance. This instance may appear zero or more times per user. The
PortletEntity consists of two primary peices of information, the Portlet
Definition as defined by the PortletDD and the Wrapping Servlet
information as defined by theServletDD
| Method Summary | |
java.lang.String |
getControllerServletUri()
Deprecated. |
InternalPortletPreference[] |
getDefaultPreferences()
Returns an array of default preferences of this portlet. |
org.apache.pluto.descriptors.portlet.PortletDD |
getPortletDefinition()
Returns the portlet description. |
javax.portlet.PreferencesValidator |
getPreferencesValidator()
Returns the preferences validator instance for this portlet. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getControllerServletUri()
getControllerServletUri in interface PortletEntitypublic InternalPortletPreference[] getDefaultPreferences()
Data retrieved from portlet.xml are injected into the domain
object PortletPreferenceDD. This method converts the domain
objects into PortletPreference objects.
Note that if no value is bound to a given preference key,
PortletPreferenceDD.getValues() will return an empty string
list, but the value array of PortletPreference should be set
to null (instead of an empty array).
This method never returns null, but the values held by PortletPreference may be null.
getDefaultPreferences in interface PortletEntityPortletPreferenceDDpublic org.apache.pluto.descriptors.portlet.PortletDD getPortletDefinition()
getPortletDefinition in interface PortletEntity
public javax.portlet.PreferencesValidator getPreferencesValidator()
throws javax.portlet.ValidatorException
getPreferencesValidator in interface PortletEntityjavax.portlet.ValidatorException - if fail to instantiate the validator.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||