|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pluto.internal.impl.PortletEntityImpl
public class 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 | |
---|---|
String |
getControllerServletUri()
Deprecated. |
InternalPortletPreference[] |
getDefaultPreferences()
Returns an array of default preferences of this portlet. |
PortletDD |
getPortletDefinition()
Returns the portlet description. |
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 String getControllerServletUri()
getControllerServletUri
in interface PortletEntity
public 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 PortletEntity
PortletPreferenceDD
public PortletDD getPortletDefinition()
getPortletDefinition
in interface PortletEntity
public PreferencesValidator getPreferencesValidator() throws ValidatorException
getPreferencesValidator
in interface PortletEntity
ValidatorException
- if fail to instantiate the validator.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |