|
||||||||||
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
The WirelessJSPContainerProviderAdapter
class extends
JSPContainerProviderAdapter
to provide methods specific for the wireless desktop for obtaining
and manipulating row and channel data.
Constructor Summary | |
WirelessJSPContainerProviderAdapter()
|
Method Summary | |
void |
downRow(HttpServletRequest httpReq,
java.lang.String channel)
Decreases the row in which this channel should be displayed. |
java.util.List |
getAvailableChannels(HttpServletRequest req)
Gets a list of existing, presentable, available, and removable channels names (including any user-defined channels). |
java.util.List |
getAvailableChannels(HttpServletRequest req,
boolean onlyRemovable)
Gets a list of existing, presentable, and available channel names (including any user-defined channels). |
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 |
getOrderedSelectedChannels(HttpServletRequest req)
Gets an ordered list of existing, presentable, selected and movable channel names. |
java.util.List |
getOrderedSelectedChannels(HttpServletRequest req,
boolean onlyMovable)
Gets an ordered list of existing, presentable, and selected channel names. |
java.lang.String |
getRow(HttpServletRequest httpReq,
java.lang.String channel)
Gets the row in which this channel should be displayed. |
java.util.List |
getUserDefinedChannels()
Gets the user-defined channels, or an empty list if none exist. |
int |
getWindowState(java.lang.String channelName)
Gets the window state for the specified channel. |
boolean |
hasMaximizedChannel(HttpServletRequest request)
Determines whether or not there is a maximized channel. |
void |
processContentChannelSelection(HttpServletRequest request)
Processes submission from JSP desktop content selection page |
void |
upRow(HttpServletRequest httpReq,
java.lang.String channel)
Increases the row in which this channel should be displayed. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WirelessJSPContainerProviderAdapter()
Method Detail |
public java.lang.String getRow(HttpServletRequest httpReq, java.lang.String channel) throws ProviderException
httpReq
- The servlet requestchannel
- the channel for which the row is requested
ProviderException
public void upRow(HttpServletRequest httpReq, java.lang.String channel) throws ProviderException
httpReq
- The servlet requestchannel
- The channel for which the row is requested
ProviderException
public void downRow(HttpServletRequest httpReq, java.lang.String channel) throws ProviderException
httpReq
- The servlet requestchannel
- The channel for which the row is requested
ProviderException
public java.util.List getUserDefinedChannels() throws ProviderException
ProviderException
public java.util.List getAvailableChannels(HttpServletRequest req, boolean onlyRemovable) throws ProviderException
req
- the HttpServletRequestonlyRemovable
- true
includes only removable channels
ProviderException
- if the channel names could not be obtainedpublic java.util.List getAvailableChannels(HttpServletRequest req) throws ProviderException
req
- the HttpServletRequest
ProviderException
- if the channel names could not be obtainedpublic java.util.List getOrderedSelectedChannels(HttpServletRequest req, boolean onlyMovable) throws ProviderException
req
- the HttpServletRequestonlyMovable
- true
includes only movable channels
ProviderException
- if the channel names could not be obtainedpublic java.util.List getOrderedSelectedChannels(HttpServletRequest req) throws ProviderException
ProviderException
- if the channel names could not be obtainedpublic java.lang.String getMaximizedChannel(HttpServletRequest request) throws ProviderException
null
if none exists, or the channel is not presentable.
request
- the current request
ProviderException
- if the channel could not be obtainedpublic int getWindowState(java.lang.String channelName) throws ProviderException
channelName
- Name of the channel whose state is sought
ProviderException
- if the state could not be obtainedpublic boolean hasMaximizedChannel(HttpServletRequest request) throws ProviderException
ProviderException
- if the determination could not be madepublic void processContentChannelSelection(HttpServletRequest request) throws ProviderException
request
- HttpServletRequest
ProviderException
- if the submission could not be processed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |