|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.portal.providers.ProviderAdapter
com.sun.portal.providers.ProfileProviderAdapter
com.sun.portal.providers.jsp.JSPProvider
com.sun.portal.providers.containers.JSPContainerProviderAdapter
This class provides default implementations of methods in the
ContainerProvider
interface implemented using a containerProviderContext object as the
persistent store and extends JSPProvider
to facilitate
the execution of JSPs
For method details, see the descriptions in the ContainerProvider
interface.
ContainerProviderContext
,
JSPProvider
Field Summary |
Fields inherited from interface com.sun.portal.providers.ProviderWidths |
WIDTH_FULL_BOTTOM, WIDTH_FULL_TOP, WIDTH_THICK, WIDTH_THIN |
Fields inherited from interface com.sun.portal.providers.ProviderEditTypes |
EDIT_COMPLETE, EDIT_SUBSET |
Constructor Summary | |
JSPContainerProviderAdapter()
|
Method Summary | |
java.util.List |
getAvailableAndUserDefinedChannels()
Gets the list of available and user defined channel names. |
java.util.List |
getAvailableChannels()
Gets the list of available channel names. |
ContainerProviderContext |
getContainerProviderContext()
|
long |
getRefreshTime()
Gets the refresh time for the channel. |
java.util.List |
getSelectedChannels()
Gets the list of selected channel names. |
int[] |
getSupportedWindowStates()
Gets the supported window states. |
int |
getWindowState(java.lang.String channelName)
Gets the window state of the channel. |
void |
setAvailableChannels(java.util.List avail)
Sets the list of available channel names. |
void |
setSelectedChannels(java.util.List sel)
Sets the list of selected channel names. |
void |
setWindowState(java.lang.String channelName,
int windowState)
Sets the window state of a channel. |
Methods inherited from class com.sun.portal.providers.jsp.JSPProvider |
getContent, getContentPage, getEdit, getEditPage, getExistingJSPPath, getMostSpecificJSPPath, getProcessPage, includeJspPage, init, isPresentable, processEdit |
Methods inherited from class com.sun.portal.providers.ProviderAdapter |
getContent, getDescription, getEdit, getEditType, getHelp, getHelp, getName, getProviderContext, getResourceBundle, getResourceBundle, getTitle, getWidth, isEditable, isPresentable, processEdit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JSPContainerProviderAdapter()
Method Detail |
public ContainerProviderContext getContainerProviderContext() throws ProviderException
ProviderException
public java.util.List getSelectedChannels() throws ProviderException
ContainerProvider
getSelectedChannels
in interface ContainerProvider
ProviderException
- If the list of channel names cannot be
returned.public java.util.List getAvailableChannels() throws ProviderException
ContainerProvider
getAvailableChannels
in interface ContainerProvider
ProviderException
- If the list of channel names cannot be
returned.public java.util.List getAvailableAndUserDefinedChannels() throws ProviderException
ProviderException
- If the list of channel names cannot be returned.public void setSelectedChannels(java.util.List sel) throws ProviderException
ContainerProvider
setSelectedChannels
in interface ContainerProvider
ProviderException
- If the list of channel names cannot be
set.public void setAvailableChannels(java.util.List avail) throws ProviderException
ContainerProvider
setAvailableChannels
in interface ContainerProvider
ProviderException
- If the list of channel names cannot be
set.public long getRefreshTime() throws ProviderException
ProviderAdapter
getRefreshTime
in interface Provider
getRefreshTime
in class ProviderAdapter
ProviderException
- If there was an error getting the refresh
time for the channel.public int getWindowState(java.lang.String channelName) throws ProviderException
getWindowState
in interface ContainerProvider
channelName
- channel for which the window state is requested.
ProviderException
ProviderWindowStates.NOT_DEFINED
public void setWindowState(java.lang.String channelName, int windowState) throws UnsupportedWindowStateException
setWindowState
in interface ContainerProvider
channelName
- channel for which the window state needs to be setwindowState
- The new window state
UnsupportedWindowStateException.
UnsupportedWindowStateException
- If the window state cannot be set or
if the window state passed in is not in supported window states.com.sun.portal.providers.containers.ContainerProvider#getWindowState()
,
ContainerProvider.getSupportedWindowStates()
public int[] getSupportedWindowStates() throws ProviderException
getSupportedWindowStates
in interface ContainerProvider
ProviderException
- If the window states cannot be returned.com.sun.portal.providers.containers.JSPContainerProviderAdapter#getWindowState()
,
com.sun.portal.providers.containers.JSPContainerProviderAdapter#setWindowState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |