| com.sun.portal.providers.jsp.JSPProvider com.sun.portal.providers.window.WindowProvider
All known Subclasses: com.sun.portal.wsrp.consumer.wsrpwindow.WSRPWindowProvider, com.sun.portal.providers.portletwindow.PortletWindowProvider,
WindowProvider | abstract public class WindowProvider extends JSPProvider (Code) | | This class is responsible for rendering the portlet markup fragments.
It retrieves the portlet markup fragments by delegating the portlet
execution to the a container implementation.
|
Method Summary | |
protected List | getAllowableWindowStates(HttpServletRequest req, ChannelMode mode) | abstract public ChannelURLFactory | getChannelURLFactory(String desktopURLPrefix, HttpServletRequest req) | abstract public Container | getContainer(HttpServletRequest req) | public StringBuffer | getContent(HttpServletRequest req, HttpServletResponse res) | public StringBuffer | getContentInternal(HttpServletRequest req, HttpServletResponse res) | protected ChannelMode | getCurrentChannelMode(HttpServletRequest req) | protected WindowState | getCurrentWindowState(HttpServletRequest req) | abstract public String | getDefaultTitle() | public StringBuffer | getEdit(HttpServletRequest req, HttpServletResponse res) | protected URL | getEditURL(HttpServletRequest req, String parent, ProviderContext pc) | abstract public String | getEntityID(HttpServletRequest req) | protected ErrorCode | getErrorCode(ContentException ex) | public URL | getErrorCodeURL(ErrorCode errorCode, HttpServletRequest req) | protected StringBuffer | getErrorMessageContent(ErrorCode errorCode) | public URL | getHelp(HttpServletRequest req) Gets the help URL for this provider.
This method constructs a help URL which will call the
getContent() method on this provider with a parameter
mode=HELP
A URL pointing to the help page for the provider. | protected URL | getHelpURL(HttpServletRequest req, ProviderContext pc) | protected String | getParentContainerName(HttpServletRequest req) | protected ContainerProvider | getParentContainerProvider(HttpServletRequest req) | protected String | getProcessURL(HttpServletRequest req, String parent, ChannelMode channelMode) | abstract public List | getRoleList(HttpServletRequest req) | public String | getTitle() Gets the title for the channel. | abstract public Map | getUserInfoMap(HttpServletRequest req) | abstract public WindowRequestReader | getWindowRequestReader() | public void | init(String n, HttpServletRequest req) Initializes the provider.
Parameters: name - Unique name identifying this provider. | public boolean | isEditable() | abstract public boolean | isMarkupSupported(String contentType, String locale, ChannelMode mode, WindowState state) | public boolean | isPresentable(HttpServletRequest req) Dictates whether the provider is presentable. | public static boolean | isWindowProviderKey(String key) | public URL | processEdit(HttpServletRequest req, HttpServletResponse res) | public URL | processEditInternal(HttpServletRequest req, HttpServletResponse res) | protected URL | processModeChange(ChannelMode channelMode, HttpServletRequest req, ProviderContext pc) Process mode changes. | protected WindowState | processWindowStateChange(HttpServletRequest request, WindowState newWindowState, ChannelMode channelMode, boolean authless) Process window state changes. | protected ErrorCode | readErrorCode(HttpServletRequest req) | public void | setTitle(String title) |
CURRENT_CHANNEL_MODE_KEY | final public static String CURRENT_CHANNEL_MODE_KEY(Code) | | |
KEYWORD_PREFIX | final public static String KEYWORD_PREFIX(Code) | | |
PORTAL_CONTEXT_PATH | final public static String PORTAL_CONTEXT_PATH(Code) | | |
PROVIDER_CONTEXT | final public static String PROVIDER_CONTEXT(Code) | | |
RENDER_PARAM_PREFIX | final public static String RENDER_PARAM_PREFIX(Code) | | |
TARGET_PORTLET_CHANNEL_KEY | final public static String TARGET_PORTLET_CHANNEL_KEY(Code) | | |
_localParamKeyList | final public static List _localParamKeyList(Code) | | |
getHelp | public URL getHelp(HttpServletRequest req) throws ProviderException(Code) | | Gets the help URL for this provider.
This method constructs a help URL which will call the
getContent() method on this provider with a parameter
mode=HELP
A URL pointing to the help page for the provider. A returnvalue of null should signify that this provider does not have ahelp page. See Also: com.sun.portal.providers.portletwindow.getContent |
getTitle | public String getTitle() throws ProviderException(Code) | | Gets the title for the channel.
This method returns the title from the portlet.
Portlet uses javax.portlet.title namespace for its title.
A string title. exception: ProviderException - if error occurs when getting the title forthe channel. |
init | public void init(String n, HttpServletRequest req) throws ProviderException(Code) | | Initializes the provider.
Parameters: name - Unique name identifying this provider. This valueshould always be returned from getName() . Parameters: req - The HTTP request object corresponding to the HTTP requestthat caused this provider object to be created. This request may beused to extract session or user information that could be used togain access to external resources. exception: ProviderException - If there was an error initializing theprovider. See Also: com.sun.portal.providers.Provider.getName See Also: |
isPresentable | public boolean isPresentable(HttpServletRequest req)(Code) | | Dictates whether the provider is presentable.
This method checks if the current contentType is
in the list of supportedContentTypes and returns true
if it is otherwise returns false
type and returns true.
TODO:
A boolean value dictating presentability See Also: com.sun.portal.providers.Provider.isPresentable |
isWindowProviderKey | public static boolean isWindowProviderKey(String key)(Code) | | Used by subclasses to find out if key in the request
is reserved by the window provider
|
Methods inherited from com.sun.portal.providers.jsp.JSPProvider | protected File getCompiledJSPPath(ProviderContext pc, String channel, String file) throws ProviderException(Code)(Java Doc) public StringBuffer getContent(HttpServletRequest req, HttpServletResponse res) throws ProviderException(Code)(Java Doc) protected String getContentPage() throws ProviderException(Code)(Java Doc) public StringBuffer getEdit(HttpServletRequest req, HttpServletResponse res) throws ProviderException(Code)(Java Doc) protected String getEditPage() throws ProviderException(Code)(Java Doc) protected File getExistingJSPPath(ProviderContext pc, String channel, String file) throws ProviderException(Code)(Java Doc) protected File getMostSpecificJSPPath(ProviderContext pc, String channel, String file) throws ProviderException(Code)(Java Doc) protected String getProcessPage() throws ProviderException(Code)(Java Doc) protected StringBuffer includeJspPage(String jsp, Hashtable parameters, HttpServletRequest req, HttpServletResponse res) throws ProviderException(Code)(Java Doc) public void init(String n, HttpServletRequest httpreq) throws ProviderException(Code)(Java Doc) public boolean isPresentable(HttpServletRequest req)(Code)(Java Doc) public URL processEdit(HttpServletRequest req, HttpServletResponse res) throws ProviderException(Code)(Java Doc)
|
|
|