|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.netuix.servlets.controls.ControlContext
com.bea.netuix.servlets.controls.PresentationContext
com.bea.netuix.servlets.controls.window.WindowPresentationContext
com.bea.netuix.servlets.controls.portlet.PortletPresentationContext
com.bea.wsrp.consumer.controls.ProxyPortletPresentationContext
public class ProxyPortletPresentationContext
Presentation context for proxy portlets.
Field Summary |
---|
Fields inherited from class com.bea.netuix.servlets.controls.window.WindowPresentationContext |
---|
CLASS_NAME |
Fields inherited from class com.bea.netuix.servlets.controls.ControlContext |
---|
debug |
Method Summary | |
---|---|
int |
getConnectionEstablishmentTimeoutMSecs()
Returns the connection establishment timeout in milli secs. |
int |
getConnectionTimeoutMSecs()
Returns the read timeout, in milliseconds. |
String |
getGroupId()
Returns the group ID as specified by the producer. |
String |
getPortletHandle()
Returns the portlet's handle. |
String |
getPortletStateChange()
Returns the current value of the portlet state change. |
String |
getProducerHandle()
Returns the producer handle used when creating the proxy portlet. |
static ProxyPortletPresentationContext |
getProxyPortletPresentationContext(javax.servlet.http.HttpServletRequest request)
This is a convenience method for returning a reference to the current ProxyPortletPresentationContext . |
boolean |
isCacheRenderDependencies()
Returns true if the consumer can cache render dependencies. |
boolean |
isDoesUrlTemplateProcessing()
Specifies whether the producer does URL template processing or not for this portlet. |
boolean |
isInvokeRenderDependencies()
Returns true if the portlet has render dependencies, and the consumer is required to collect render dependencies for this portlet from the producer. |
boolean |
isTemplatesStoredInSession()
Specifies whether the producer stores URL templates in the user's session on the producer side or not. |
boolean |
isUserContextStoredInSession()
Returns true if the consumer stores the user's context in its session. |
Methods inherited from class com.bea.netuix.servlets.controls.portlet.PortletPresentationContext |
---|
getInstanceLabel, getLabel, getPagePresentationContext, getPortletPreferences, getPortletPresentationContext, getPortletUri, getPreferences, isAsyncContent, isCapable, isContentOnly, isDefaultMinimized |
Methods inherited from class com.bea.netuix.servlets.controls.window.WindowPresentationContext |
---|
getCapability, getContentAttributeRenderer, getContentPresentationClass, getContentPresentationContextChildren, getContentPresentationStyle, getDefinitionId, getDefinitionLabel, getInstanceId, getMetaData, getMetaDatas, getOrientation, getParentPagePresentationContext, getPreviousWindowMode, getThemePresentationContext, getTitle, getTitlebarPresentationContext, getWindowMode, getWindowPresentationContext, getWindowState, isPacked |
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
---|
getAttributeRenderer, getChildren, getChildren, getFirstChild, getOrderedChildren, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getRenderFormat, getResolvedLocale, getTagName, isVisible, setVisible |
Methods inherited from class com.bea.netuix.servlets.controls.ControlContext |
---|
getContextFromRequest, getContextFromRequest, getControl, getControlContextStack, getPrimaryControlContextStack, getRequestKey, getUniqueId, removeContextFromRequest, setCloneContexts, setContextInRequest, unsetCloneContexts |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ProxyPortletPresentationContext getProxyPortletPresentationContext(javax.servlet.http.HttpServletRequest request)
ProxyPortletPresentationContext
.
Note this method will only work if called from within a portal (typically, from the window.jsp skeleton).
This method may return null if called when no appropriate context exists, but such a context should safely
exist when being fetched from the associated skeleton JSP during normal portal rendering.
request
- The current HTTPServletRequest instance
public String getPortletHandle()
Returns the portlet's handle. Note that, after a portlet is customized, this handle will be different from the value used while creating a proxy portlet.
public String getProducerHandle()
Returns the producer handle used when creating the proxy portlet.
public String getGroupId()
Returns the group ID as specified by the producer.
public boolean isDoesUrlTemplateProcessing()
Specifies whether the producer does URL template processing or not for this portlet.
public boolean isTemplatesStoredInSession()
Specifies whether the producer stores URL templates in the user's session on the producer side or not.
public int getConnectionEstablishmentTimeoutMSecs()
Returns the connection establishment timeout in milli secs. If the timeout expires before the connection can be established, the connection to the producer will be terminated.
public int getConnectionTimeoutMSecs()
public String getPortletStateChange()
Returns the current value of the portlet state change. This enum will be used by the consumer to determine when to allow a producer to clone a portlet.
public boolean isInvokeRenderDependencies()
Returns true if the portlet has render dependencies, and the consumer is required to collect render dependencies for this portlet from the producer.
public boolean isCacheRenderDependencies()
Returns true if the consumer can cache render dependencies.
public boolean isUserContextStoredInSession()
Returns true if the consumer stores the user's context in its session.
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |