|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJSPContainerProviderAdapter
com.sun.portal.wireless.providers.containers.jsp.WirelessJSPContainerProviderAdapter
com.sun.portal.wireless.providers.containers.jsp.rendering.JSPRenderingContainerProvider
This class extends WirelessJSPContainerProviderAdapter
for the wireless desktop on rendered devices.
| Constructor Summary | |
JSPRenderingContainerProvider()
|
|
| Method Summary | |
void |
cleanUpWrappedChannels(ContainerProviderContext cpc)
This method gets called only in case of authenticated desktop. |
java.lang.StringBuffer |
getContent(HttpServletRequest req,
HttpServletResponse res)
This method overrides the JSPProvider.getContent() method. |
java.lang.StringBuffer |
getEdit(HttpServletRequest req,
HttpServletResponse res)
This method overrides the JSPProvider.getEdit() method. |
java.lang.String |
getMaximizedChannel(HttpServletRequest request)
Gets the maximized channel specified by this request, or null if none exists, or the channel is not presentable. |
java.util.List |
getWrappedOrderedSelectedChannels(HttpServletRequest req)
Gets an ordered list of existing presentable selected channels and movable channel names. |
java.util.List |
getWrappedOrderedSelectedChannels(HttpServletRequest req,
boolean onlyMovable)
Gets an ordered list of existing presentable selected channels, wrapping any native channels if required. |
void |
init(java.lang.String name,
HttpServletRequest httpReq)
Initializes this JSPRenderingContainerProvider. |
| Methods inherited from class com.sun.portal.wireless.providers.containers.jsp.WirelessJSPContainerProviderAdapter |
downRow, getAvailableChannels, getAvailableChannels, getOrderedSelectedChannels, getOrderedSelectedChannels, getRow, getUserDefinedChannels, getWindowState, hasMaximizedChannel, processContentChannelSelection, upRow |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JSPRenderingContainerProvider()
| Method Detail |
public void init(java.lang.String name,
HttpServletRequest httpReq)
throws ProviderException
name - the namehttpReq - the HTTP servlet request
ProviderException
public java.lang.StringBuffer getContent(HttpServletRequest req,
HttpServletResponse res)
throws ProviderException
JSPProvider.getContent() method.
It gets the JSP content from JSPProvider, and passes it to the
renderContent() method.
Based on a few checks, it will either return device specfic markup or
AML.
req - An HttpServletRequest that contains information related to
this request for content.res - An HttpServletResponse that allows the provider to
influence the overall response for the desktop page
(besides generating the content).
StringBuffer holding the channel content that is markup
specific or AML.
ProviderException - If there was an error generating content.
ProviderException - if there was a problem obtaining contentcom.sun.portal.providers.jsp.JSPProvider#getContent
public java.lang.StringBuffer getEdit(HttpServletRequest req,
HttpServletResponse res)
throws ProviderException
JSPProvider.getEdit() method. It
gets the JSP edit page content from JSPProvider, and passes
it to the renderContent() method.
Based on a few checks, it will either return device-specfic markup or AML.
req - An HttpServletRequest that contains information related to
this request for content.res - An HttpServletResponse that allows the provider to
influence the overall response for the desktop page
ProviderException - If there was an error generating content.com.sun.portal.providers.jsp.JSPProvider#getEdit
public java.util.List getWrappedOrderedSelectedChannels(HttpServletRequest req,
boolean onlyMovable)
throws ProviderException
req - HttpServletRequestonlyMovable - should list only include movable channels
ProviderException - if there was a problem obtaining the list
public java.util.List getWrappedOrderedSelectedChannels(HttpServletRequest req)
throws ProviderException
req - HttpServletRequest
ProviderException - if there was a problem obtaining the list
public java.lang.String getMaximizedChannel(HttpServletRequest request)
throws ProviderException
null if none exists, or the channel is not presentable.
getMaximizedChannel in class WirelessJSPContainerProviderAdapterrequest - the current request
ProviderException - if there was a problem obtaining the channelpublic void cleanUpWrappedChannels(ContainerProviderContext cpc)
cpc - ContainerProviderContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||