|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--oracle.dss.thin.beans.dataView.ExportEvent
Describes an Export operation. A thin presentation bean sends an ExportEvent
to ThinViewListener
implementations that have been registered with the presentation.
ThinViewListener
, Serialized FormConstructor Summary | |
ExportEvent(java.lang.Object source, java.lang.String format, java.lang.String range, java.util.Vector hPos, QueryParameterProvider provider) Constructor. |
Method Summary | |
void |
consume() Consumes this event. |
java.lang.String |
getExportFormat() Retrieves the export format. |
java.util.Vector |
getExportHPos() Retrieves the hPos vector that identifies the pages to export. |
java.lang.String |
getExportRange() Retrieves the range of pages to export. |
QueryParameterProvider |
getQueryParameterProvider() Retrieves the QueryParameterProvider for this event. |
boolean |
isConsumed() Indicates whether this event has been consumed. |
boolean |
isResponseDone() Indicates whether the exporting method has written to the response stream. |
void |
responseDone() Specifies that the application should not write to the response. |
java.lang.String |
toString() Generates a String representation of this event. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ExportEvent(java.lang.Object source, java.lang.String format, java.lang.String range, java.util.Vector hPos, QueryParameterProvider provider)
source
- The view that generates this ExportEvent
.format
- The format to use in exporting.range
- The range of pages to export.hpos
- Identifier of the data to export.provider
- The QueryParameterProvider
for the current request.Method Detail |
public java.lang.String getExportFormat()
EXPORT_FORMAT
+ORIGIN
parameter of the EXPORT_EVENT
.ExportOptions.EXPORT_FORMAT_CSV
, ExportOptions.EXPORT_FORMAT_TAB_DELIMITED
, BIConstants.EXPORT_EVENT
public java.lang.String getExportRange()
PAGE_RANGE
+ORIGIN
parameter of the EXPORT_EVENT
.ThinBeanDialog.ALL_PAGES
, ThinBeanDialog.CURRENT_PAGE
, ThinBeanDialog.SELECTED_PAGES
, BIConstants.EXPORT_EVENT
public java.util.Vector getExportHPos()
hPos
vector that identifies the pages to export. This data is specified only when the ExportRange
is ThinBeanDialog.SELECTED_PAGES
.DataAccess
public QueryParameterProvider getQueryParameterProvider()
QueryParameterProvider
for this event.QueryParameterProvider
for the current request.public java.lang.String toString()
String
representation of this event. This method places the source, export format, page range, and HPos
information in the returned String
.toString
in class java.util.EventObject
String
representation of this event.public void consume()
public boolean isConsumed()
true
if this event has been consumed, false
if it has not.public void responseDone()
exporting
method has already exported the data and written to the response stream. After you call this method, the event handler returns ThinBeanUI.EVENT_RESPONSE_DONE
.ThinBeanUI.EVENT_RESPONSE_DONE
public boolean isResponseDone()
exporting
method has written to the response stream. When this method returns true
, the event handler assumes that the view has been exported. It then returns ThinBeanUI.EVENT_RESPONSE_DONE
.true
if this response is done, false
if it has not.ThinBeanUI.EVENT_RESPONSE_DONE
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |