| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object HttpServlet com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet org.apache.jetspeed.portlet.Portlet org.apache.jetspeed.portlet.PortletAdapter com.ibm.wps.pb.wrapper.PortletWrapperBase
public abstract class PortletWrapperBase
PortletWrapperBase
wraps the application portlet class for a cooperative portlet
which uses the IBM portlet API. For cooperative portlets programmed using the IBM portlet API,
this class must be specified using the <servlet-class>
config parameter in
web.xml. The application portlet class name must be specified using the
c2a-application-portlet-class
init param entry in web.xml.
PortletWrapperBase
is responsible for delegation
of lifecycle/service methods on the application portlet.
PortletWrapperBase
is an abstract class extended by PortletWrapper. The setApplicationPortlet
method needs to be implemented by the concrete class. The implementation of the method
must return an instance of the application class.
PortletWrapperBase
and PortletWrapper can be used
to extend PortletWrapper to add additional function. In particular, if the application
portlet implements PortletTitleListener, it is required to extend PortletWrapper and implement
PortletTitleListener in the extended class. However, the implementation of methods in PortletWrapperBase
must not be modified in the extension, to avoid problems with the cooperative
portlets function. For this reason, the methods in this class are marked final.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.jetspeed.portlet.Portlet |
---|
Portlet.Mode, Portlet.ModeModifier |
Constructor Summary | |
---|---|
PortletWrapperBase()
Deprecated. |
Method Summary | |
---|---|
void | actionPerformed(ActionEvent event)
Deprecated. This method is marked final as it must not be overridden |
void | attributeAdded(PortletApplicationSettingsAttributeEvent event)
Deprecated. This method is marked final as it must not be overridden |
void | attributeAdded(PortletSettingsAttributeEvent psevent)
Deprecated. This method is marked final as it must not be overridden |
void | attributeRemoved(PortletApplicationSettingsAttributeEvent event)
Deprecated. This method is marked final as it must not be overridden |
void | attributeRemoved(PortletSettingsAttributeEvent psevent)
Deprecated. This method is marked final as it must not be overridden |
void | attributeReplaced(PortletApplicationSettingsAttributeEvent event)
Deprecated. This method is marked final as it must not be overridden |
void | attributeReplaced(PortletSettingsAttributeEvent psevent)
Deprecated. This method is marked final as it must not be overridden |
void | beginEventPhase(PortletRequest portletRequest)
Deprecated. This method is marked final as it must not be overridden |
void | beginPage(PortletRequest request,
PortletResponse response)
Deprecated. This method is marked final as it must not be overridden |
void | destroyConcrete(PortletSettings portletSettings)
Deprecated. This method is marked final as it must not be overridden |
void | endEventPhase(PortletRequest portletRequest)
Deprecated. This method is marked final as it must not be overridden |
void | endPage(PortletRequest request,
PortletResponse response)
Deprecated. This method is marked final as it must not be overridden |
protected Portlet | getApplicationPortlet()
Deprecated. This method is marked final as it must not be overridden |
long | getLastModified(PortletRequest request)
Deprecated. This method is marked final as it must not be overridden |
void | init(PortletConfig portletConfig)
Deprecated. This method is marked final as it must not be overridden |
void | initConcrete(PortletSettings portletSettings)
Deprecated. This method is marked final as it must not be overridden |
abstract java.lang.Object | instantiateApplicationPortlet(java.lang.String applicationPortletClassName)
Deprecated. This method must be overridden in the derived class. |
void | login(PortletRequest request)
Deprecated. This method is marked final as it must not be overridden |
void | logout(PortletSession session)
Deprecated. This method is marked final as it must not be overridden |
void | messageReceived(MessageEvent event)
Deprecated. This method is marked final as it must not be overridden |
void | service(PortletRequest request,
PortletResponse response)
Deprecated. This method is marked final as it must not be overridden |
void | setProperties(PortletRequest request,
PropertyValue[] propValues)
Deprecated. This method is marked final as it must not be overridden |
void | windowClosed(WindowEvent event)
Deprecated. This method is marked final as it must not be overridden |
void | windowClosing(WindowEvent event)
Deprecated. Notifies this listener that a portlet window is about to be closed. |
void | windowDetached(WindowEvent event)
Deprecated. Notifies this listener that a portlet window has been detached. |
void | windowMaximized(WindowEvent event)
Deprecated. This method is marked final as it must not be overridden |
void | windowMinimized(WindowEvent event)
Deprecated. This method is marked final as it must not be overridden |
void | windowRestored(WindowEvent event)
Deprecated. This method is marked final as it must not be overridden |
Methods inherited from class org.apache.jetspeed.portlet.PortletAdapter |
---|
destroy, doConfigure, doEdit, doHelp, doView, getPortletConfig, getPortletLog, getVariable, removeVariable, setVariable |
Methods inherited from class org.apache.jetspeed.portlet.Portlet |
---|
destroy, doGet, doPost, doPut, getId, getInitParameter, getInitParameterNames, getPortletSettings, getServletContext, getServletInfo |
Methods inherited from class com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet |
---|
getSharingPolicy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortletWrapperBase()
Method Detail |
---|
public abstract java.lang.Object instantiateApplicationPortlet(java.lang.String applicationPortletClassName) throws java.lang.Exception
applicationPortletClassName
.
protected final Portlet getApplicationPortlet()
public final void init(PortletConfig portletConfig) throws UnavailableException
public final void initConcrete(PortletSettings portletSettings) throws UnavailableException
public final void destroyConcrete(PortletSettings portletSettings)
public final long getLastModified(PortletRequest request)
long
integer specifying
the time the PortletRequest
object was last modified, in milliseconds
since midnight, January 1, 1970 GMT, or
-1 if the time is not knownpublic final void service(PortletRequest request, PortletResponse response) throws PortletException, java.io.IOException
public final void beginPage(PortletRequest request, PortletResponse response) throws PortletException, java.io.IOException
public final void beginEventPhase(PortletRequest portletRequest)
public final void endEventPhase(PortletRequest portletRequest)
public final void endPage(PortletRequest request, PortletResponse response) throws PortletException, java.io.IOException
public final void setProperties(PortletRequest request, PropertyValue[] propValues)
changedProperties
,
EventPhaseListenerpublic final void actionPerformed(ActionEvent event) throws PortletException
public final void messageReceived(MessageEvent event) throws PortletException
public final void login(PortletRequest request) throws PortletException
public final void logout(PortletSession session) throws PortletException
public final void windowClosed(WindowEvent event) throws PortletException
public final void windowClosing(WindowEvent event) throws PortletException
public final void windowDetached(WindowEvent event) throws PortletException
public final void windowMaximized(WindowEvent event) throws PortletException
public final void windowMinimized(WindowEvent event) throws PortletException
public final void windowRestored(WindowEvent event) throws PortletException
public final void attributeAdded(PortletSettingsAttributeEvent psevent)
public final void attributeReplaced(PortletSettingsAttributeEvent psevent)
public final void attributeRemoved(PortletSettingsAttributeEvent psevent)
public final void attributeAdded(PortletApplicationSettingsAttributeEvent event)
public final void attributeRemoved(PortletApplicationSettingsAttributeEvent event)
public final void attributeReplaced(PortletApplicationSettingsAttributeEvent event)
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |