|
© 2005 BEA Systems, Inc. | |||||||||
| 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.BackingContext
com.bea.netuix.servlets.controls.window.backing.WindowBackingContext
com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext
This is the BackingContext for a portlet.
This PortletBackingContext can only be referenced from a backing file. If you think you need to reference
this from a JSP you should look at PortletPresentationContext.
To get a handle to the BackingContext just call the following:
PortletBackingContext.getPortletBackingContext(request);
JspBacking,
Serialized Form| Field Summary | |
static String |
CLASS_NAME
|
| Fields inherited from class com.bea.netuix.servlets.controls.ControlContext |
debug |
| Method Summary | |
void |
fireCustomEvent(String eventName,
Serializable payload)
Fire a custom event. |
String |
getDisabledClassifications()
Returns classifications for which the underlying portlet is disabled. |
String |
getEnabledClassifications()
Returns classifications for which the underlying portlet is enabled. |
String |
getInstanceId()
Return the instance id of this portlet. |
String |
getInstanceLabel()
Return the unique instance label for the portlet. |
String |
getLabel()
Return the unique label for the portlet. |
PageBackingContext |
getPageBackingContext()
Return the portlets parent PageBackingContext. |
static PortletBackingContext |
getPortletBackingContext(HttpServletRequest request)
A static helper to pull the current portlet's backing context out of the request. |
String |
getPortletUri()
Get the portlet's URI. |
PortletPreferences |
getPreferences(HttpServletRequest request)
Returns preferences for this portlet. |
void |
invalidateCache()
Invalidate this control's cache. |
boolean |
isDefaultMinimized()
Returns true if the underlying portlet has defaultMinimized set to true. |
boolean |
isDeleted()
Returns true if the portlet file is deleted. |
| Methods inherited from class com.bea.netuix.servlets.controls.window.backing.WindowBackingContext |
getCapability, getCapabilityVisible, getDefinitionId, getDefinitionLabel, getDescription, getOrientation, getParentWindowBackingContext, getPlacementId, getPreviousWindowMode, getPreviousWindowState, getRenderedChildrenWindowBackingContexts, getTitle, getWindowMode, getWindowState, isCapable, isPacked, setCapabilityVisible, setDescription, setTitle, setupModeChangeEvent, setupModeChangeEvent, setupPageChangeEvent, setupStateChangeEvent, setupStateChangeEventFromParent |
| Methods inherited from class com.bea.netuix.servlets.controls.BackingContext |
getChildrenBackingContexts, getParentBackingContext, getTopParentBackingContext, isBackingPhase, isVisible, setBackingPhase, setVisible |
| Methods inherited from class com.bea.netuix.servlets.controls.ControlContext |
getControl, getRequestKey, getUniqueId, removeContextFromRequest, setContextInRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String CLASS_NAME
| Method Detail |
public void fireCustomEvent(String eventName,
Serializable payload)
eventName - The name of the event. This will be matched against the 'name' attribute of the handleCustomEvent tag.payload - The arbitrary payload that the event will carry.public String getDisabledClassifications()
public String getEnabledClassifications()
public String getInstanceId()
getInstanceId in class WindowBackingContextpublic String getInstanceLabel()
instance Label.
- Returns:
- the instance label.
public String getLabel()
instanceLabel.
getLabel in class WindowBackingContextpublic PageBackingContext getPageBackingContext()
public static PortletBackingContext getPortletBackingContext(HttpServletRequest request)
request -
public String getPortletUri()
example: /portlets/myportlet/myportlet.portlet
public PortletPreferences getPreferences(HttpServletRequest request)
Returns preferences for this portlet.
request - HTTP request
public void invalidateCache()
public boolean isDefaultMinimized()
true if the underlying portlet has defaultMinimized set to true.
true if the portlet is defaultMinimizedpublic boolean isDeleted()
Returns true if the portlet file is deleted. Portlets are marked deleted
when they are removed from the files system but still in use. The .portlet file must either
be restored or the portlet should be removed via the admin tools.
true if the portlet file is deleted
|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||