| com.sun.portal.providers.containers.JSPContainerProviderAdapter com.sun.portal.providers.containers.jsp.table.JSPTableContainerProvider
All known Subclasses: com.sun.portal.providers.containers.tck.TCKContainerProvider,
Method Summary | |
public void | genMinimizedContent(Map channelsIsMinimized, List nonMinimizedList, Map content, boolean dIsMinimized) Generates the minimized content for the
channels that are minimized
This method puts an empty stringbuffer in the content Map for the
channels that are minimized in the table container. | public Map | getChannelsInCategory(String categoryName) Gets the channels under the specified category. | public String | getColumn(HttpServletRequest req, String channel) Gets the column in which this channel should be displayed in. | public int | getLayout() Gets the layout for this container. | public int | getPopupWindowHeight(HttpServletRequest req, String channelName) gets the popup window height for the detach window
when a channel is detached
Parameters: request - An HttpServletRequest that containsinformation related to thisrequest for content. | public int | getPopupWindowWidth(HttpServletRequest req, String channelName) Gets the popup window width for the detach window
when a channel is detached
Parameters: request - An HttpServletRequest that containsinformation related to thisrequest for content. Parameters: channelName - Name of the channel for whichthe detach window width is requested. | public String | getRow(HttpServletRequest req, String channel) Gets the row in which this channel should be displayed in. | public int[] | getSupportedWindowStates() Gets the supported window states. | public int | getTimeout() Gets the timeout for this container, in seconds. | public int | getWidths(int column) Gets table's left,center,right width based of the table container's
layout property.
column. | public String | getWindowName(String channelName) Gets the window name for the detached window.
The detached window name is used for naming
browser windows for detached channels. | public int | getWindowState(String channelName) Gets the window state of the channel.
Parameters: channelName - channel for which the window state is requested. | public void | init(String n, HttpServletRequest httpreq) Initializes the JSPTableContainerProvider. | public URL | processEdit(HttpServletRequest req, HttpServletResponse res) Processes data for this container.
This method is called to process data associated with the
provider.
When the desktop servlet receives a request where the action is
"process", it looks at the
parameters to identify which provider will handle the action, through
this method. | public void | setColumn(HttpServletRequest req, String channel, int column) Sets the column for this channel to be displayed in. | public void | setLayout(int lo) Sets the layout for this container. | public void | setRow(HttpServletRequest req, String channel, int row) Sets the row for this channel to be displayed in. | public void | setWindowState(String channelName, int windowState) Sets the window state of a channel. | public Map | setupColumns(HttpServletRequest req) Constructs the channel into three columns, the left column, the
center column, and the right column. |
BOTTOM | final public static int BOTTOM(Code) | | Bottom Row in the TableContainerProvider
|
CATEGORY_CONTENT | final public static String CATEGORY_CONTENT(Code) | | |
CENTER | final public static int CENTER(Code) | | Center column in the TableContainerProvider
|
LEFT | final public static int LEFT(Code) | | Left column in the TableContainerProvider
|
RIGHT | final public static int RIGHT(Code) | | Right column in the TableContainerProvider
|
TOP | final public static int TOP(Code) | | Top Row in the TableContainerProvider
|
genMinimizedContent | public void genMinimizedContent(Map channelsIsMinimized, List nonMinimizedList, Map content, boolean dIsMinimized) throws ProviderException(Code) | | Generates the minimized content for the
channels that are minimized
This method puts an empty stringbuffer in the content Map for the
channels that are minimized in the table container.
Parameters: channelsIsMinimized - Map of channelNames which are minimized. Parameters: nonMinimizedList - List of channel names which are nonminimized. Parameters: content - Map of channel contents, a map of StringBuffers. Parameters: dIsMinimized - Default value for isMinimized property. |
getChannelsInCategory | public Map getChannelsInCategory(String categoryName) throws ProviderException(Code) | | Gets the channels under the specified category.
Parameters: categoryName - Name of the category for whichthe contained channels are requested. exception: ProviderException - Map The channel names under the specified category , as a Map of Strings. |
getTimeout | public int getTimeout() throws ProviderException(Code) | | Gets the timeout for this container, in seconds.
The number of seconds to wait to fetch the content
for the selected channels when the front page is drwan.
The number of seconds the front page should wait beforedisplaying a Content Not available message for a channel |
getWidths | public int getWidths(int column) throws ProviderException(Code) | | Gets table's left,center,right width based of the table container's
layout property.
column. column for which the width is requested.either LEFT or RIGHT or Center Column width. either left or right or center width. exception: ProviderException - If the column width cannot be returned |
getWindowName | public String getWindowName(String channelName)(Code) | | Gets the window name for the detached window.
The detached window name is used for naming
browser windows for detached channels. The
detached window name is
guaranteed to end with "_detached".
Parameters: channelName - Name of the channel for whichthe detach window name is requested. String The window name as a string |
processEdit | public URL processEdit(HttpServletRequest req, HttpServletResponse res) throws ProviderException(Code) | | Processes data for this container.
This method is called to process data associated with the
provider.
When the desktop servlet receives a request where the action is
"process", it looks at the
parameters to identify which provider will handle the action, through
this method. The request passed in contains the parameters.
After calling this method, the desktop servlet will re-direct to the URL
returned from this method. Therefore, the result of a provider post
can be any desktop serlvet action, or the content of an arbitrary URL.
For more information on constructing desktop serlvet URLs, see
DesktopSerlvet .
Parameters: request - An HttpServletRequest that containsinformation related to thisrequest for content. Parameters: response - An HttpServletResponse that allows theprovider to influence theoverall response for the desktop page (besides generating the content). exception: ProviderException - If there was an error processingthe data. How this exception is handled is up to the client of theprovider object. The URL that the iPS desktop will re-direct to. A valueof null should indicate to the client that it should return to itsdefault view. See Also: com.sun.portal.desktop.DesktopServlet |
setupColumns | public Map setupColumns(HttpServletRequest req) throws ProviderException(Code) | | Constructs the channel into three columns, the left column, the
center column, and the right column. Channel names are put into
each column list and the list objects are put in a Map.
Parameters: req - An HttpServletRequest that contains information related to thisrequest for content. Map. Map of left, center, right, fullTop and fullBottom listsEach list contains the channel names in that column. exception: ProviderException - If the columns Map cannot be returned |
|
|