|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CallbackOption
The CallbackOption is the parent interface for all callback mechanisms.
A CallbackOption sets a script that is to be called each time an action or object
of a certain type is retrieved with a document view.
Note: If your Web Services consumer application uses
HTML frames, it is possible to set the frame in which the callback script will
be run.
Example: Setting the DrillOption to CallbackOption.
DrillOption objDrillOption = DrillOption.Factory.newInstance();
objDrillOption.setCallbackFrame("view");
objDrillOption.setCallbackScript("manageDrill.jsp");
objDrillOption.setAmbiguousDrillCallbackScript("ambiguous.jsp");
objDrillOption.setBlockHolder("block");
objDrillOption.setFromHolder("from");
objDrillOption.setDrillActionHolder("action");
objDrillOption.setFilterHolder("filter");
objDrillOption.setToHolder("to");
objDrillOption.setHierarchyHolder("hierarchy");
objDrillOption.setDocumentReferenceHolder("referenceHolder");
CallbackOption[] aobjCallbackOptions = new CallbackOption[1];
aobjCallbackOptions[0] = objDrillOption;
RetrieveView retBOView = RetrieveView.Factory.newInstance();
retBOView.setCallbackOptionArray(aobjCallbackOptions);
DrillOption,
EmbeddedCallbackOption,
ImageManagement,
RetrieveView,
RetrieveData,
ReportEngine,
DocumentInformation| Nested Class Summary | |
|---|---|
static class |
CallbackOption.Factory
A class with methods for creating instances of the CallbackOption type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
java.lang.String |
getCallbackFrame()
Internal Use Only. |
java.lang.String |
getCallbackScript()
Internal Use Only. |
java.lang.String |
getDocumentReferenceHolder()
Internal Use Only. |
boolean |
isSetCallbackFrame()
Checks if the CallbackFrame attribute is set. |
boolean |
isSetCallbackScript()
Checks if the CallbackScript attribute is set. |
boolean |
isSetDocumentReferenceHolder()
Checks if the DocumentReferenceHolder attribute is set. |
void |
setCallbackFrame(java.lang.String callbackFrame)
Sets the name of the frame in which the callback script is to be executed. |
void |
setCallbackScript(java.lang.String callbackScript)
Sets the name of the script that has to be called. |
void |
setDocumentReferenceHolder(java.lang.String documentReferenceHolder)
Sets the name of the parameter in the URL containing the DocumentReference set after executing the action specified in the callback script. |
void |
unsetCallbackFrame()
Unsets the CallbackFrame attribute. |
void |
unsetCallbackScript()
Unsets the CallbackScript attribute |
void |
unsetDocumentReferenceHolder()
Unsets the DocumentReferenceHolder attribute |
org.apache.xmlbeans.XmlString |
xgetCallbackFrame()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetCallbackScript()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetDocumentReferenceHolder()
Internal Use Only. |
void |
xsetCallbackFrame(org.apache.xmlbeans.XmlString callbackFrame)
Internal Use Only. |
void |
xsetCallbackScript(org.apache.xmlbeans.XmlString callbackScript)
Internal Use Only. |
void |
xsetDocumentReferenceHolder(org.apache.xmlbeans.XmlString documentReferenceHolder)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
java.lang.String getCallbackScript()
Internal Use Only.
org.apache.xmlbeans.XmlString xgetCallbackScript()
Internal Use Only.
boolean isSetCallbackScript()
true, if the CallbackScript element is set, otherwise false.void setCallbackScript(java.lang.String callbackScript)
callbackScript - the name of the callback script with variables if necessary.void xsetCallbackScript(org.apache.xmlbeans.XmlString callbackScript)
Internal Use Only.
void unsetCallbackScript()
java.lang.String getCallbackFrame()
Internal Use Only.
org.apache.xmlbeans.XmlString xgetCallbackFrame()
Internal Use Only.
boolean isSetCallbackFrame()
true, if the CallbackFrame attribute is set, otherwise falsevoid setCallbackFrame(java.lang.String callbackFrame)
callbackFrame - the name of the frame in which the callback script is to be run.
Possibilities are:
ImageManagementvoid xsetCallbackFrame(org.apache.xmlbeans.XmlString callbackFrame)
Internal Use Only.
void unsetCallbackFrame()
java.lang.String getDocumentReferenceHolder()
Internal Use Only.
org.apache.xmlbeans.XmlString xgetDocumentReferenceHolder()
Internal Use Only.
boolean isSetDocumentReferenceHolder()
true, if the DocumentReferenceHolder attribute is set, otherwise falsevoid setDocumentReferenceHolder(java.lang.String documentReferenceHolder)
Example: Retrieve a document reference.
page1.jsp
CallbackOption.setDocumentReferenceHolder("docRef");
callbackScript.jsp
String docRef = request.getParameter( "docRef" );
documentReferenceHolder - A string containing the DocumentReferenceHolder name.void xsetDocumentReferenceHolder(org.apache.xmlbeans.XmlString documentReferenceHolder)
Internal Use Only.
void unsetDocumentReferenceHolder()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||