|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletEntity
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. |
Method Detail |
---|
String getControllerServletUri()
Note: this method has been deprecated as of Pluto 1.1.2. Future versions
of Pluto will use the PortletInvokerService
for resolving
the invoker url pattern.
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.
PortletPreferenceDD
PortletDD getPortletDefinition()
PreferencesValidator getPreferencesValidator() throws ValidatorException
ValidatorException
- if fail to instantiate the validator.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |