|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Drill
The Drill interface is used to set and execute a drill operation in an open document.
Example: Entering into the drill mode.
Action[] aobjActions = new Action[1];
Drill objDrill = Drill.Factory.newInstance();
objDrill.setActiveDrill(true);
aobjActions[0] = objDrill;
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;
RetrieveData retBOData = RetrieveData.Factory.newInstance();
RetrieveView retBOView = RetrieveView.Factory.newInstance();
retBOView.setCallbackOptionArray(aobjCallbackOptions);
retBOData.setRetrieveView(retBOView);
DocumentInformation docInfo = boRepEng.getDocumentInformation(strDocid,null,aobjActions,null,retBOData);
CharacterView myBOView = (CharacterView)docInfo.getView();
String docContents = myBOView.getContent();
DrillPath,
DrillHierarchy,
DrillInfo,
Action,
DocumentInformation,
RetrieveData| Nested Class Summary | |
|---|---|
static class |
Drill.Factory
A class with methods for creating instances of the Drill type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
DrillPath |
addNewDrillPath()
Appends and returns a new empty DrillPath element. |
ModifyDrillBar |
addNewModifyDrillBar()
Appends and returns a new empty ModifyDrillBar element. |
boolean |
getActiveDrill()
Internal Use Only. |
DrillPath |
getDrillPath()
Returns the DrillPath object. |
ModifyDrillBar |
getModifyDrillBar()
Gets the ModifyDrillBar element. |
boolean |
getSnapshot()
Internal Use Only. |
boolean |
isNilDrillPath()
Checks if the DrillPath element is nil. |
boolean |
isNilModifyDrillBar()
Checks if the ModifyDrillBar element is nil. |
boolean |
isSetDrillPath()
Checks if the DrillPath element is set. |
boolean |
isSetModifyDrillBar()
Checks if the ModifyDrillBar element is set. |
void |
setActiveDrill(boolean activeDrill)
Set to true to activate the drill in this document when the Drill action is performed. |
void |
setDrillPath(DrillPath drillPath)
Sets the path to be drilled to. |
void |
setModifyDrillBar(ModifyDrillBar modifyDrillBar)
Sets the ModifyDrillBar element to the Drill object. |
void |
setNilDrillPath()
Sets the DrillPath element to nil. |
void |
setNilModifyDrillBar()
Sets the ModifyDrillBar element to nil. |
void |
setSnapshot(boolean snapshot)
Set to true if this Drill action will create a duplicate report based on a snapshot of the current report's display. |
void |
unsetDrillPath()
Unsets the DrillPath element. |
void |
unsetModifyDrillBar()
Unsets the ModifyDrillBar element. |
org.apache.xmlbeans.XmlBoolean |
xgetActiveDrill()
Internal Use Only. |
org.apache.xmlbeans.XmlBoolean |
xgetSnapshot()
Internal Use Only. |
void |
xsetActiveDrill(org.apache.xmlbeans.XmlBoolean activeDrill)
Internal Use Only. |
void |
xsetSnapshot(org.apache.xmlbeans.XmlBoolean snapshot)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
DrillPath getDrillPath()
boolean isNilDrillPath()
true if the DrillPath element is nil, otherwise false.boolean isSetDrillPath()
true if the DrillPath element is set, otherwise false.void setDrillPath(DrillPath drillPath)
drillPath - the path to be drilled to.DrillPathDrillPath addNewDrillPath()
void setNilDrillPath()
void unsetDrillPath()
ModifyDrillBar getModifyDrillBar()
boolean isNilModifyDrillBar()
true if the ModifyDrillBar element is nil, otherwise false.boolean isSetModifyDrillBar()
true if the ModifyDrillBar element is set, otherwise false.void setModifyDrillBar(ModifyDrillBar modifyDrillBar)
modifyDrillBar - The ModifyDrillBar object.ModifyDrillBar addNewModifyDrillBar()
void setNilModifyDrillBar()
void unsetModifyDrillBar()
boolean getActiveDrill()
Internal Use Only.
org.apache.xmlbeans.XmlBoolean xgetActiveDrill()
Internal Use Only.
void setActiveDrill(boolean activeDrill)
activeDrill - Set to true to activate the drill.Actionvoid xsetActiveDrill(org.apache.xmlbeans.XmlBoolean activeDrill)
Internal Use Only.
boolean getSnapshot()
Internal Use Only.
org.apache.xmlbeans.XmlBoolean xgetSnapshot()
Internal Use Only.
void setSnapshot(boolean snapshot)
snapshot - true if this drill action is to create a snapshot.Actionvoid xsetSnapshot(org.apache.xmlbeans.XmlBoolean snapshot)
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||