|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Methods and constants for BI Beans thin beans that have user-interface components. Each ThinBeanUI implementation has an associated UIX Component that renders HTML for the thin bean.
You can use data binding to use one UIX Component to render HTML for more than one associated ThinBeanUI. For more information about data binding, see the documentation for Oracle UIX Components.
| Field Summary | |
static int |
EVENT_HANDLEDhandleEvent return value: This thin bean handled the event. |
static int |
EVENT_NOT_HANDLEDhandleEvent return value: This thin bean did not handle the event. |
static int |
EVENT_RESPONSE_DONEhandleEvent return value: This thin bean handled the event and wrote the HTTP response. |
| Method Summary | |
EventTarget |
getEventTarget(java.lang.String event)Retrieves the event target for the specified event. |
java.util.Locale |
getLocale()Retrieves the Locale that this ThinBeanUI uses. |
int |
handleEvent(QueryParameterProvider provider)Handles a thin-bean event. |
void |
setEventTarget(java.lang.String event, EventTarget target)Specifies an event target for an event that this ThinBeanUI generates. |
void |
setLocale(java.util.Locale locale)Specifies the Locale for this ThinBeanUI. |
| Methods inherited from interface oracle.dss.thin.beans.ThinBean |
getState, getThinBeanName, setBaseState, setState, setThinBeanName |
| Field Detail |
public static final int EVENT_HANDLED
handleEvent return value: This thin bean handled the event.public static final int EVENT_NOT_HANDLED
handleEvent return value: This thin bean did not handle the event.public static final int EVENT_RESPONSE_DONE
handleEvent return value: This thin bean handled the event and wrote the HTTP response. When handleEvent returns this value, your application should return from the current request without rendering anything else to the response stream.
The ThinDataview returns this value when it handles the export event.
BIConstants.EXPORT_EVENT, ThinDataview| Method Detail |
public int handleEvent(QueryParameterProvider provider)
throws ThinException
ThinBeanUI handles events where the value of the source query parameter is the ThinBeanName for this thin bean.
You can examine the source query parameter to determine the thin bean whose handleEvent to call. Or you can call the handleEvent for each thin bean, checking the return from this method to discover which thin bean handled the event. Alternately, you can register thin beans with the ServletRequestHandler and call the handleEvent method of the ServletRequestHandler. The ServletRequestHandler will then route the event to the proper thin bean.
For more information about thin-bean events, see the BI Beans Help system.
provider - The QueryParameterProvider for the HTTPServletRequest that is being handled.ThinBeanUI handled any events. Constants are listed in the See Also section.ThinException - If an error occurs that interrupts event handling.EVENT_NOT_HANDLED, EVENT_HANDLED, EVENT_RESPONSE_DONE, ServletRequestHandlerpublic void setLocale(java.util.Locale locale)
Locale for this ThinBeanUI.locale - The Locale for this ThinBeanUI.public java.util.Locale getLocale()
Locale that this ThinBeanUI uses.Locale for this ThinBeanUI.public void setEventTarget(java.lang.String event, EventTarget target)
ThinBeanUI generates. Call this method to specify the ThinBeanUI that should handle the event. You can also use event targets to direct an event to another part of your application, to change the target frame for an event, and to add application parameters to an event.event - A constant that identifies the event to target. Valid constants are defined in the BIConstants interface and end with "_EVENT".target - The event target that specifies the thin bean that should handle the event.BIConstantspublic EventTarget getEventTarget(java.lang.String event)
event - A constant that identifies the event whose target you want. Valid constants are defined in the BIConstants interface and end with "_EVENT".event.BIConstants
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||