Modifier and Type | Method and Description |
---|---|
PortletWindow |
RenderingJob.getWindow()
Returns the portlet window associated with this job
|
Modifier and Type | Method and Description |
---|---|
boolean |
PortletTrackingManager.exceededTimeout(long renderTime,
PortletWindow window)
Given a render time, ask if the given portlet window has exceeded the timeout threshold
|
void |
PortletTrackingManager.incrementRenderTimeoutCount(PortletWindow window)
Increment the render timeout count for a given portlet window
|
boolean |
PortletTrackingManager.isOutOfService(PortletWindow window)
Ask if a given window is out of service or not
|
void |
PortletRenderer.notifyContentComplete(RequestContext context,
PortletWindow window)
Notification callback from job to this renderer informing that the content rendering has completed.
|
void |
PortletTrackingManager.putIntoService(PortletWindow window)
Put a given portlet window that is out of service back into service and re-enable rendering of the window
|
void |
PortletTrackingManager.setExpiration(PortletWindow window,
long expiration)
Set a specific caching expiration timeout for a given portlet window
|
void |
PortletTrackingManager.success(PortletWindow window)
Reset this portlet window as successfully rendered, clearing all expiration counts
|
void |
PortletTrackingManager.takeOutOfService(PortletWindow window)
Take a given portlet window out of service.
|
Modifier and Type | Method and Description |
---|---|
Map<String,org.apache.pluto.container.PortletPreference> |
PortletPreferencesProvider.retrieveEntityPreferences(PortletWindow window)
Retrieve entity (window) default preferences for a given window
|
Map<String,org.apache.pluto.container.PortletPreference> |
PortletPreferencesProvider.retrieveUserPreferences(PortletWindow window,
String userName)
Retrieve the user preferences for the window and user parameters
|
void |
PortletPreferencesProvider.storeEntityPreferences(Map<String,org.apache.pluto.container.PortletPreference> map,
PortletWindow window)
Store entity preferences contained in the map parameter for a given window
|
void |
PortletPreferencesProvider.storeUserPreferences(Map<String,org.apache.pluto.container.PortletPreference> map,
PortletWindow window,
String userName)
Store user preferences contained in the map parameter for a given user and window
|
Modifier and Type | Method and Description |
---|---|
void |
PortletEntity.setPortletWindow(PortletWindow window) |
Modifier and Type | Method and Description |
---|---|
PortletWindow |
NavigationalState.getMaximizedWindow()
For the current request return the (first) maximized window or
return null if no windows are maximized.
|
PortletWindow |
NavigationalState.getPortletWindowOfAction() |
PortletWindow |
NavigationalState.getPortletWindowOfResource() |
Modifier and Type | Method and Description |
---|---|
void |
MutableNavigationalState.clearParameters(PortletWindow window) |
String |
NavigationalState.encode(PortletWindow window,
Map<String,String[]> parameters,
String actionScopeId,
boolean actionScopeRendered,
String cacheLevel,
String resourceId,
Map<String,String[]> privateRenderParameters,
Map<String,String[]> publicRenderParameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean action)
Deprecated.
|
String |
NavigationalState.encode(PortletWindow window,
Map<String,String[]> parameters,
String actionScopeId,
boolean actionScopeRendered,
String cacheLevel,
String resourceId,
Map<String,String[]> privateRenderParameters,
Map<String,String[]> publicRenderParameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
PortalURL.URLType urlType)
Encodes the Navigational State with overrides for a specific PortletWindow into a string to be embedded within a
PortalURL.
|
String |
NavigationalState.encode(PortletWindow window,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state)
Encodes the Navigational State with overrides for a specific PortletWindow while retaining its (request)
parameters into a string to be embedded within a renderURL.
|
String |
NavigationalState.getActionScopeId(PortletWindow window) |
String |
NavigationalState.getCacheLevel(PortletWindow window) |
javax.portlet.PortletMode |
NavigationalState.getMappedMode(PortletWindow window)
Gets the internal (portal) portlet mode for the given portlet window.
|
javax.portlet.WindowState |
NavigationalState.getMappedState(PortletWindow window)
Gets the internal (portal) window state for given portlet window.
|
javax.portlet.PortletMode |
NavigationalState.getMode(PortletWindow window)
Gets the portlet mode for the given portlet window.
|
Map<String,String[]> |
NavigationalState.getParameterMap(PortletWindow window) |
Map<String,String[]> |
NavigationalState.getPrivateRenderParameterMap(PortletWindow window) |
Map<String,String[]> |
NavigationalState.getPublicRenderParameterMap(PortletWindow window) |
String |
NavigationalState.getResourceID(PortletWindow window) |
javax.portlet.WindowState |
NavigationalState.getState(PortletWindow window)
Gets the window state for given portlet window.
|
boolean |
NavigationalState.isActionScopedRequestAttributes(PortletWindow window) |
boolean |
NavigationalState.isActionScopeRendered(PortletWindow window) |
void |
MutableNavigationalState.removeState(PortletWindow window)
Remove state for the given (possibly invalid) portlet window
|
void |
MutableNavigationalState.setActionScopeId(PortletWindow window,
String actionScopeId) |
void |
MutableNavigationalState.setActionScopeRendered(PortletWindow window,
boolean actionScopeRendered) |
void |
MutableNavigationalState.setCacheLevel(PortletWindow window,
String cacheLevel) |
void |
MutableNavigationalState.setMode(PortletWindow window,
javax.portlet.PortletMode portletMode)
Sets the portlet mode for the given portlet window.
|
void |
MutableNavigationalState.setParametersMap(PortletWindow window,
Map<String,String[]> parametersMap) |
void |
MutableNavigationalState.setPrivateRenderParametersMap(PortletWindow window,
Map<String,String[]> privateRenderParametersMap) |
void |
MutableNavigationalState.setPublicRenderParametersMap(PortletWindow window,
Map<String,String[]> publicRenderParametersMap) |
void |
MutableNavigationalState.setResourceId(PortletWindow window,
String resourceId) |
void |
MutableNavigationalState.setState(PortletWindow window,
javax.portlet.WindowState windowState)
Sets the window state for the given portlet window.
|
void |
MutableNavigationalState.setTargetted(PortletWindow window)
Clear the request parameters to emulate an action reset
|
Modifier and Type | Method and Description |
---|---|
String |
PortalURL.createNavigationalEncoding(PortletWindow window,
Map<String,String[]> parameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean action)
Deprecated.
|
String |
PortalURL.createNavigationalEncoding(PortletWindow window,
Map<String,String[]> parameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
PortalURL.URLType urlType)
Deprecated.
|
String |
PortalURL.createNavigationalEncoding(PortletWindow window,
Map<String,String[]> parameters,
String actionScopeId,
boolean actionScopeRendered,
String cacheLevel,
String resourceId,
Map<String,String[]> privateRenderParameters,
Map<String,String[]> publicRenderParameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
PortalURL.URLType urlType)
Creates the navigational encoding for a given window
Similiar to createPortletURL above
|
String |
PortalURL.createNavigationalEncoding(PortletWindow window,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state)
Creates the navigational encoding for a given window
Similiar to createPortletURL above
|
String |
PortalURL.createPortletURL(PortletWindow window,
Map<String,String[]> parameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean action,
boolean secure)
Deprecated.
|
String |
PortalURL.createPortletURL(PortletWindow window,
Map<String,String[]> parameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
PortalURL.URLType urlType,
boolean secure)
Deprecated.
|
String |
PortalURL.createPortletURL(PortletWindow window,
Map<String,String[]> parameters,
String actionScopeId,
boolean actionScopeRendered,
String cacheLevel,
String resourceId,
Map<String,String[]> privateRenderParameters,
Map<String,String[]> publicRenderParameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
PortalURL.URLType urlType,
boolean secure)
Create a new PortletURL for a PortletWindow including request or action parameters.
|
String |
PortalURL.createPortletURL(PortletWindow window,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean secure)
Create a new PortletURL for a PortletWindow retaining its (request) parameters.
|
Modifier and Type | Method and Description |
---|---|
List<ProcessEvent> |
PortletEventQueue.dequeueEvents(PortletWindow window)
Remove an event from Portlet API queue
|
Modifier and Type | Method and Description |
---|---|
PortletWindow |
JetspeedPowerTool.getPortletWindow(ContentFragment fragment)
Return the associated PortletWindow for a given fragment
|
Modifier and Type | Method and Description |
---|---|
PortletWindow |
MockRequestContext.getActionWindow() |
PortletWindow |
MockRequestContext.getCurrentPortletWindow() |
PortletWindow |
MockRequestContext.getInstantlyCreatedPortletWindow(String windowId,
String portletUniqueName) |
PortletWindow |
MockRequestContext.getPortletWindow(ContentFragment fragment) |
PortletWindow |
MockRequestContext.getPortletWindow(String windowId) |
PortletWindow |
MockRequestContext.resolvePortletWindow(String windowId) |
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.HttpServletRequest |
MockRequestContext.getRequestForWindow(PortletWindow window) |
javax.servlet.http.HttpServletResponse |
MockRequestContext.getResponseForWindow(PortletWindow window) |
Throwable |
MockRequestContext.popActionFailure(PortletWindow window) |
void |
MockRequestContext.setActionFailure(PortletWindow window,
Throwable actionFailure) |
void |
MockRequestContext.setActionWindow(PortletWindow window) |
void |
MockRequestContext.setCurrentPortletWindow(PortletWindow window) |
Modifier and Type | Method and Description |
---|---|
PortletWindow |
RequestContext.getActionWindow()
Get the target Action Window
|
PortletWindow |
RequestContext.getCurrentPortletWindow() |
PortletWindow |
RequestContext.getInstantlyCreatedPortletWindow(String windowId,
String portletUniqueName) |
PortletWindow |
RequestContext.getPortletWindow(ContentFragment fragment) |
PortletWindow |
RequestContext.getPortletWindow(String windowId) |
PortletWindow |
RequestContext.resolvePortletWindow(String windowId) |
Modifier and Type | Method and Description |
---|---|
Throwable |
RequestContext.popActionFailure(PortletWindow window) |
void |
RequestContext.setActionFailure(PortletWindow window,
Throwable actionFailure) |
void |
RequestContext.setActionWindow(PortletWindow window)
Sets the target Portlet Window
|
void |
RequestContext.setCurrentPortletWindow(PortletWindow window) |
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.