|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RetrieveData
The RetrieveData interface is used to select the information stored in the DocumentInformation object returned by the ReportEngine.getDocumentInformation Web Service call.
Example: Retrieve a document's contents in binary PDF format
ViewSupport pdfViewSupport = ViewSupport.Factory.newInstance();
pdfViewSupport.setOutputFormat(OutputFormatType.PDF);
pdfViewSupport.setViewType(ViewType.BINARY);
pdfViewSupport.setViewMode(ViewModeType.DOCUMENT);
RetrieveBinaryView retBinView = RetrieveBinaryView.Factory.newInstance();
retBinView.setViewSupport(pdfViewSupport);
RetrieveData retBOData = RetrieveData.Factory.newInstance();
retBOData.setRetrieveView(retBinView);
DocumentInformation docInfo = boRepEng.getDocumentInformation(strDocid,null,null,null,retBOData);
BinaryView myBinView = (BinaryView) docInfo.getView();
OutputStream outputStream = response.getOutputStream();
response.setContentType("application/pdf");
response.setHeader("Content-Type","application/pdf");
response.setDateHeader("expires", 0);
byte[] abyBinaryContent = myBinView.getContent();
//output the binary stream via the response object
outputStream.write(abyBinaryContent);
TransportType,
BinaryView,
RetrieveView,
RetrieveData,
DataProviderInfo,
RetrieveBinaryView,
RetrieveCharacterView,
RetrieveCurrentReportState,
RetrieveData,
RetrieveDataProvidersInfo,
RetrieveDrillInfo,
RetrieveMustFillInfo,
RetrieveNavigationMap,
RetrievePromptsInfo,
RetrieveQueryContext,
RetrieveReportList,
RetrieveView,
RetrieveViewSupport,
RetrieveXMLView,
ReportEngine| Nested Class Summary | |
|---|---|
static class |
RetrieveData.Factory
A class with methods for creating instances of the RetrieveData type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
RetrieveCurrentReportState |
addNewRetrieveCurrentReportState()
Appends and returns a new empty RetrieveCurrentReportState element |
RetrieveDataProvidersInfo |
addNewRetrieveDataProvidersInfo()
Appends and returns a new empty RetrieveDataProvidersInfo element |
RetrieveDrillInfo |
addNewRetrieveDrillInfo()
Appends and returns a new empty RetrieveDrillInfo element |
RetrieveNavigationMap |
addNewRetrieveNavigationMap()
Appends and returns a new empty RetrieveNavigationMap element. |
RetrieveReportList |
addNewRetrieveReportList()
Appends and returns a new empty RetrieveReportList element. |
RetrieveView |
addNewRetrieveView()
Appends and returns a new empty RetrieveView element. |
RetrieveViewSupport |
addNewRetrieveViewSupport()
Appends and returns a new empty RetrieveViewSupport element |
RetrieveCurrentReportState |
getRetrieveCurrentReportState()
Internal Use Only. |
RetrieveDataProvidersInfo |
getRetrieveDataProvidersInfo()
Internal Use Only. |
RetrieveDrillInfo |
getRetrieveDrillInfo()
Internal Use Only. |
RetrieveNavigationMap |
getRetrieveNavigationMap()
Internal Use Only. |
RetrieveReportList |
getRetrieveReportList()
Internal Use Only. |
RetrieveView |
getRetrieveView()
Internal Use Only. |
RetrieveViewSupport |
getRetrieveViewSupport()
Internal Use Only. |
boolean |
isNilRetrieveCurrentReportState()
Checks if the RetrieveCurrentReportState element is nil. |
boolean |
isNilRetrieveDataProvidersInfo()
Checks if the RetrieveDataProvidersInfo element is nil. |
boolean |
isNilRetrieveDrillInfo()
Checks if the RetrieveDrillInfo element is nil. |
boolean |
isNilRetrieveNavigationMap()
Checks if the RetrieveNavigationMap element is nil. |
boolean |
isNilRetrieveReportList()
Checks if the RetrieveReportList element is nil. |
boolean |
isNilRetrieveView()
Checks if the RetrieveView element is nil. |
boolean |
isNilRetrieveViewSupport()
Checks if the RetrieveViewSupport element is nil. |
boolean |
isSetRetrieveCurrentReportState()
Checks if the RetrieveCurrentReportState element is set. |
boolean |
isSetRetrieveDataProvidersInfo()
Checks if the RetrieveDataProvidersInfo element is set. |
boolean |
isSetRetrieveDrillInfo()
Checks if the RetrieveDrillInfo element is set. |
boolean |
isSetRetrieveNavigationMap()
Checks if the RetrieveNavigationMap element is set. |
boolean |
isSetRetrieveReportList()
Checks if the RetrieveReportList element is set. |
boolean |
isSetRetrieveView()
Checks if the RetrieveView element is set. |
boolean |
isSetRetrieveViewSupport()
Checks if the RetrieveViewSupport element is set. |
void |
setNilRetrieveCurrentReportState()
Sets the RetrieveCurrentReportState element to nil. |
void |
setNilRetrieveDataProvidersInfo()
Sets if the RetrieveDataProvidersInfo element is nil. |
void |
setNilRetrieveDrillInfo()
Sets the RetrieveDrillInfo element to nil. |
void |
setNilRetrieveNavigationMap()
Sets the RetrieveNavigationMap element to nil. |
void |
setNilRetrieveReportList()
Sets the RetrieveReportList element to nil. |
void |
setNilRetrieveView()
Sets the RetrieveView element to nil. |
void |
setNilRetrieveViewSupport()
Sets the RetrieveViewSupport element to nil. |
void |
setRetrieveCurrentReportState(RetrieveCurrentReportState retrieveCurrentReportState)
Retrieves information about a state of the selected report inside a DocumentInformation object. |
void |
setRetrieveDataProvidersInfo(RetrieveDataProvidersInfo retrieveDataProvidersInfo)
Retrieves information about a document's DataProviders inside a DocumentInformation object. |
void |
setRetrieveDrillInfo(RetrieveDrillInfo retrieveDrillInfo)
Retrieves information about the possible Drill Actions that can be performed on this document. |
void |
setRetrieveNavigationMap(RetrieveNavigationMap retrieveNavigationMap)
Retrieves the NavigationNode tree inside a DocumentInformation object retrieved by the ReportEngine.getDocumentInformation Web Service call. |
void |
setRetrieveReportList(RetrieveReportList retrieveReportList)
Retrieves a list of reports contained inside this document. |
void |
setRetrieveView(RetrieveView retrieveView)
Sets the format in which the document view will be retrieved by the ReportEngine.getDocumentInformation Web Service call. |
void |
setRetrieveViewSupport(RetrieveViewSupport retrieveViewSupport)
Retrieves the list of ViewSupport in which it is possible to display the document. |
void |
unsetRetrieveCurrentReportState()
Unsets the RetrieveCurrentReportState element. |
void |
unsetRetrieveDataProvidersInfo()
Unsets the RetrieveDataProvidersInfo element. |
void |
unsetRetrieveDrillInfo()
Unsets the RetrieveDrillInfo element. |
void |
unsetRetrieveNavigationMap()
Unsets the RetrieveNavigationMap element. |
void |
unsetRetrieveReportList()
Unsets the RetrieveReportList element. |
void |
unsetRetrieveView()
Unsets the RetrieveView element. |
void |
unsetRetrieveViewSupport()
Unsets the RetrieveViewSupport element. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
RetrieveNavigationMap getRetrieveNavigationMap()
Internal Use Only.
boolean isNilRetrieveNavigationMap()
true if the RetrieveNavigationMap element is nil, otherwise falseboolean isSetRetrieveNavigationMap()
true if the RetrieveNavigationMap element is set, otherwise falsevoid setRetrieveNavigationMap(RetrieveNavigationMap retrieveNavigationMap)
retrieveNavigationMap - a RetrieveNavigationMap object.RetrieveData,
RetrieveNavigationMap,
NavigationNodeRetrieveNavigationMap addNewRetrieveNavigationMap()
void setNilRetrieveNavigationMap()
void unsetRetrieveNavigationMap()
RetrieveView getRetrieveView()
Internal Use Only.
boolean isNilRetrieveView()
true if the RetrieveView element is nil, otherwise falseboolean isSetRetrieveView()
true if the RetrieveView element is set, otherwise falsevoid setRetrieveView(RetrieveView retrieveView)
retrieveView - view format to be retrieved with the DocumentInformation object.BinaryView,
CharacterView,
XMLView,
RetrieveViewRetrieveView addNewRetrieveView()
void setNilRetrieveView()
void unsetRetrieveView()
RetrieveDataProvidersInfo getRetrieveDataProvidersInfo()
Internal Use Only.
boolean isNilRetrieveDataProvidersInfo()
true if the RetrieveDataProvidersInfo element is nil, otherwise falseboolean isSetRetrieveDataProvidersInfo()
true if the RetrieveDataProvidersInfo element is set, otherwise falsevoid setRetrieveDataProvidersInfo(RetrieveDataProvidersInfo retrieveDataProvidersInfo)
RetrieveDataProvidersInfo
for an example of how to use this method.
retrieveDataProvidersInfo - a RetrieveDataProvidersInfo object.RetrieveView,
RetrieveData,
DataProviderInfo,
ReportEngine,
DocumentInformationRetrieveDataProvidersInfo addNewRetrieveDataProvidersInfo()
void setNilRetrieveDataProvidersInfo()
void unsetRetrieveDataProvidersInfo()
RetrieveCurrentReportState getRetrieveCurrentReportState()
Internal Use Only.
boolean isNilRetrieveCurrentReportState()
true if the RetrieveCurrentReportState element is nil, otherwise falseboolean isSetRetrieveCurrentReportState()
true if the RetrieveCurrentReportState element is set, otherwise falsevoid setRetrieveCurrentReportState(RetrieveCurrentReportState retrieveCurrentReportState)
RetrieveCharacterView
for an example of how the retrieve methods are used.
retrieveCurrentReportState - a RetrieveCurrentReportState objectRetrieveCurrentReportState,
RetrieveView,
RetrieveData,
DataProviderInfo,
ReportEngine,
DocumentInformationRetrieveCurrentReportState addNewRetrieveCurrentReportState()
void setNilRetrieveCurrentReportState()
void unsetRetrieveCurrentReportState()
RetrieveReportList getRetrieveReportList()
Internal Use Only.
boolean isNilRetrieveReportList()
true if the RetrieveReportList element is nil, otherwise falseboolean isSetRetrieveReportList()
true if the RetrieveReportList element is set, otherwise falsevoid setRetrieveReportList(RetrieveReportList retrieveReportList)
DocumentInformation.getReports()
retrieveReportList - a RetrieveReportList object.RetrieveReportList,
RetrieveView,
RetrieveData,
DataProviderInfo,
ReportEngine,
DocumentInformationRetrieveReportList addNewRetrieveReportList()
void setNilRetrieveReportList()
void unsetRetrieveReportList()
RetrieveViewSupport getRetrieveViewSupport()
Internal Use Only.
boolean isNilRetrieveViewSupport()
true if the RetrieveViewSupport element is nil, otherwise falseboolean isSetRetrieveViewSupport()
true if the RetrieveViewSupport element is set, otherwise falsevoid setRetrieveViewSupport(RetrieveViewSupport retrieveViewSupport)
retrieveViewSupport - a RetrieveViewSupport object.ViewSupport,
RetrieveViewSupport,
RetrieveView,
RetrieveData,
DataProviderInfo,
ReportEngine,
DocumentInformationRetrieveViewSupport addNewRetrieveViewSupport()
void setNilRetrieveViewSupport()
void unsetRetrieveViewSupport()
RetrieveDrillInfo getRetrieveDrillInfo()
Internal Use Only.
boolean isNilRetrieveDrillInfo()
true if the RetrieveDrillInfo element is nil, otherwise falseboolean isSetRetrieveDrillInfo()
true if the RetrieveDrillInfo element is set, otherwise falsevoid setRetrieveDrillInfo(RetrieveDrillInfo retrieveDrillInfo)
DrillInfo for an
example of how use the DrillInfo object.
Drill for an
example of how to activate the drill in a document.
retrieveDrillInfo - a RetrieveDrillInfo object.RetrieveDrillInfo addNewRetrieveDrillInfo()
void setNilRetrieveDrillInfo()
void unsetRetrieveDrillInfo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||