|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImageManagement
The ImageManagement interface is used to set a callback script used to view images
embedded in a document.
Documents viewed using CharacterView return a stream of a pure HTML.
Images are included as HTML links. Use the ImageManagement object to set a
callback script used to return images in binary form on the output stream.
Example: Set image management callback script.
CallbackOption[] boCallOpt = new CallbackOption[1];
ImageManagement boImgMan = ImageManagement.Factory.newInstance();
boImgMan.setCallbackScript("getImage.jsp");
boImgMan.setImageManagementHolder("imageName");
boImgMan.setDocumentReferenceHolder("docRef");
boCallOpt[0] = boImgMan;
RetrieveData retBOData = RetrieveData.Factory.newInstance();
RetrieveView retBOView = RetrieveView.Factory.newInstance();
retBOView.setCallbackOptionArray(boCallOpt);
retBOData.setRetrieveView(retBOView);
DocumentInformation docInfo = boRepEng.getDocumentInformation(strDocid,null,null,null,retBOData);
See Image for an example
of an image callback script.
Image,
CallbackOption,
DrillOption,
EmbeddedCallbackOption,
RetrieveView,
CharacterView,
RetrieveData,
ReportEngine,
DocumentInformation| Nested Class Summary | |
|---|---|
static class |
ImageManagement.Factory
A class with methods for creating instances of the ImageManagement type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
java.lang.String |
getImageManagementHolder()
Internal Use Only. |
boolean |
isSetImageManagementHolder()
Checks if the ImageManagementHolder attribute is set. |
void |
setImageManagementHolder(java.lang.String imageManagementHolder)
Sets the name of the parameter in the URL which contains the name of the image to be passed to the callback script. |
void |
unsetImageManagementHolder()
Unsets the ImageManagementHolder attribute. |
org.apache.xmlbeans.XmlString |
xgetImageManagementHolder()
Internal Use Only. |
void |
xsetImageManagementHolder(org.apache.xmlbeans.XmlString imageManagementHolder)
Internal Use Only. |
| Methods inherited from interface com.businessobjects.dsws.reportengine.CallbackOption |
|---|
getCallbackFrame, getCallbackScript, getDocumentReferenceHolder, isSetCallbackFrame, isSetCallbackScript, isSetDocumentReferenceHolder, setCallbackFrame, setCallbackScript, setDocumentReferenceHolder, unsetCallbackFrame, unsetCallbackScript, unsetDocumentReferenceHolder, xgetCallbackFrame, xgetCallbackScript, xgetDocumentReferenceHolder, xsetCallbackFrame, xsetCallbackScript, xsetDocumentReferenceHolder |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
java.lang.String getImageManagementHolder()
Internal Use Only.
org.apache.xmlbeans.XmlString xgetImageManagementHolder()
Internal Use Only.
boolean isSetImageManagementHolder()
true if the ImageManagementHolder element is set, otherwise falsevoid setImageManagementHolder(java.lang.String imageManagementHolder)
Example: Retrieve the image name in a callback script.
DrillOption.setImageManagementHolder("imageName");
viewImage.jsp
String imageName = request.getParameter( "imageName" );
imageManagementHolder - a string containing the holder (parameter) name.void xsetImageManagementHolder(org.apache.xmlbeans.XmlString imageManagementHolder)
Internal Use Only.
void unsetImageManagementHolder()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||