Package com.webmethods.portal.framework
Interface IPresentationManager
- All Superinterfaces:
IComponent
,IComponentProvider
,IInitializable
,IThingComponentProvider
,IURIResolver
Handles presentation responsibilites for the portal
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from interface com.webmethods.portal.system.IComponentProvider
ATTR_APP_NAME, ATTR_BEG_QUERY, ATTR_END_QUERY, ATTR_MID_QUERY, BIZPOLICY_MANAGER, CACHE_PROVIDER, COMMAND_PROVIDER, COMPONENTS_QUERY, INSTALL_PROVIDER, MECH_PROVIDER, METACONTEXT_PROVIDER, PHASE_PROVIDER, POLICY_PROVIDER, SEARCH_PROVIDER
-
Method Summary
Modifier and TypeMethodDescriptiongetBrowserBean
(HttpServletRequest request) Factory to get or create a browser bean instance for the supplied requestgetPresentationData
(HttpServletRequest request) Obtain an appropriate presentation data beangetPresentationData
(HttpServletRequest request, HttpServletResponse response) Deprecated.void
handlePres
(HttpServletRequest request, HttpServletResponse response) Delegate to the appropriateIPresentationHandler
void
overrideLayout
(HttpServletRequest request, String layout) Override the default layout for theIPresentationData
with the layout parameterpreparePresentationData
(IPresentationData presentationData, HttpServletRequest request, HttpServletResponse response) This method prepares acom.webmethods.portal.framework.presentation.impl.PresentationData
for subsequent handling throughout the request.resolveDefaultSubRenderer
(IContext context, IURI currentResource) Calculates the default subrenderer for the resourceboolean
setContentType
(HttpServletResponse response, IPresentationData pdo) Sets the content-type response header appropriately for the mime-type of the content stream and the charset of the zone.Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.IComponentProvider
exists, getComponent, getComponent, getComponent, getComponentQueryString, getComponents, getDefaultComponent, getLogger, initDeferredWebAppComponents, lookup, registerComponent, reloadComponent, reloadComponent, unregisterComponent, upgradeComponentDataFromBootstrapComponentData
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
Methods inherited from interface com.webmethods.portal.system.IThingComponentProvider
getComponentDataXTypeName, getDefaultCategoryName, getRootStorageFolder
Methods inherited from interface com.webmethods.portal.system.IURIResolver
acquireURI, acquireURI
-
Field Details
-
_PREFIX
- See Also:
-
CURRENT_REQUEST_URL_KEY
- See Also:
-
PREVIOUS_REQUEST_URL_KEY
- See Also:
-
PREVIOUS_PREVIOUS_REQUEST_URL_KEY
- See Also:
-
HIDDEN_REQUEST_PARAM
- See Also:
-
HIDDEN_REQUEST_PARAM_PAIR
- See Also:
-
CURRENT_REQUEST_URL
- See Also:
-
PREVIOUS_REQUEST_URL
- See Also:
-
PREVIOUS_PREVIOUS_REQUEST_URL
- See Also:
-
CONTENT_PREFIX
- See Also:
-
PARAM_RETURN_URL
- See Also:
-
PARAM_DYN_RETURN_URL
- See Also:
-
RENDERER_RULE_FOLDER
- See Also:
-
-
Method Details
-
getPresentationData
@Deprecated IPresentationData getPresentationData(HttpServletRequest request, HttpServletResponse response) throws PortalException Deprecated.Obtain an appropriate presentation data bean- Parameters:
request
-response
-- Returns:
- Throws:
PortalException
-
getPresentationData
Obtain an appropriate presentation data bean- Parameters:
request
-response
-- Returns:
- Throws:
PortalException
-
preparePresentationData
IPresentationData preparePresentationData(IPresentationData presentationData, HttpServletRequest request, HttpServletResponse response) throws PortalException This method prepares acom.webmethods.portal.framework.presentation.impl.PresentationData
for subsequent handling throughout the request.- Parameters:
request
-response
-- Returns:
- the
IPresentationData
- Throws:
PortalException
-
overrideLayout
Override the default layout for theIPresentationData
with the layout parameter -
setContentType
Sets the content-type response header appropriately for the mime-type of the content stream and the charset of the zone.- Returns:
- true if the contentType is Compressed, false otherwise
-
handlePres
Delegate to the appropriateIPresentationHandler
- Parameters:
request
-response
-- Throws:
PortalException
-
resolveDefaultSubRenderer
ISubRenderer resolveDefaultSubRenderer(IContext context, IURI currentResource) throws PortalException Calculates the default subrenderer for the resource- Parameters:
context
-currentResource
-- Returns:
- Throws:
PortalException
-
getBrowserBean
Factory to get or create a browser bean instance for the supplied request- Parameters:
request
- the http request to process- Returns:
- a browser bean object that describes the details about the supplied request
-