public interface PortletInstance
extends javax.portlet.Portlet, javax.portlet.EventPortlet, javax.portlet.ResourceServingPortlet
Modifier and Type | Method and Description |
---|---|
JetspeedPortletConfig |
getConfig()
Returns Jetspeed portlet config object.
|
javax.portlet.Portlet |
getRealPortlet()
Returns the real portlet object instance.
|
boolean |
hasRenderHelperMethod(javax.portlet.PortletMode mode)
Returns true when the real portlet object instance is type of javax.portlet.GenericPortlet
and the instance contains a helper method for the portlet mode with public access.
|
boolean |
isProxyInstance()
True if the real portlet object instance is a proxy instance.
|
JetspeedPortletConfig getConfig()
javax.portlet.Portlet getRealPortlet()
isProxyInstance()
.boolean isProxyInstance()
boolean hasRenderHelperMethod(javax.portlet.PortletMode mode)
The helper methods can be overriden from the javax.portlet.GenericPortlet
such as the following methods
or annotated with @RenderMode (javax.portlet.RenderMode)
.
doView
for handling view
requestsdoEdit
for handling edit
requestsdoHelp
for handling help
requestsmode
- RenderMode
,
GenericPortlet.doView(RenderRequest, RenderResponse)
,
GenericPortlet.doEdit(RenderRequest, RenderResponse)
,
GenericPortlet.doHelp(RenderRequest, RenderResponse)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.