com.microstrategy.web.objects.WebDrillAction |
![]() |
This interface is used to hold the drill actions for report drilling.
A drill action can be one of the types listed under EnumDSSXMLDrillType
A WebDrillAction object can be used to represent drill actions of type DrillFixTemplate, DrillToDetails.
Its subclasses can be used for drill actions of remaining types : [1] WebRemoveMetricDrillAction
for DrillRemoveMetric,
[2] WebGraphCoordinatesDrillAction
for DrillToGraphCoordinates, [3] WebNewObjectDrillAction
for DrillToMetric, DrillToTemplate, DrillToRemoveUnit, DrillToUnit,
DrillToChild, DrillToParent, [4] WebNewFormsDrillAction
for DrillToForm.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebTemplateUnit |
getDrillTemplateUnit()
Returns the template unit that has been set on this instance.
| ||||||||||
abstract int |
getDrillType()
Returns the type of the drill action specified by this object.
| ||||||||||
abstract int |
getDrillUnitSource()
Returns the Drill Unit Source set for the current drill action.
| ||||||||||
abstract boolean |
getFilterMetrics()
Returns the value of the filterMetrics property of this drill action.
| ||||||||||
abstract int |
getKeepIndependent()
Returns the keepIndependent property for the current drill action.
| ||||||||||
abstract boolean |
getKeepOriginal()
Returns the keepOriginal property for this drill action.
| ||||||||||
abstract boolean |
getKeepThresholds()
Returns the keepThresholds property for this drill action.
| ||||||||||
abstract String |
getName()
Returns the name of the current drill action
| ||||||||||
abstract int |
getReportFilter()
Returns the value of the reportFilter property set for this drill action.
| ||||||||||
abstract int |
getUserFilter()
Returns the value of the userFilter for this drill action.
| ||||||||||
abstract void |
setDrillTemplateUnit(int axis, int position)
Sets the template unit from where to drill on the base report instance.
| ||||||||||
abstract void |
setDrillTemplateUnit(WebTemplateUnit wtu)
Sets the template unit from where to drill on the base report instance.
| ||||||||||
abstract void |
setDrillUnitSource(int drillUnitSource)
Set the Drill Unit Source for the current drill action.
| ||||||||||
abstract void |
setFilterMetrics(boolean filterMetrics)
Sets the filterMetrics property for the current drill action.
| ||||||||||
abstract void |
setKeepIndependent(int keepIndependent)
Sets the keepIndependent property for the current drill action.
| ||||||||||
abstract void |
setKeepOriginal(boolean keepOriginal)
Sets the keepOriginal property for the current drill action.
| ||||||||||
abstract void |
setKeepThresholds(boolean keepThresholds)
Sets the keepThresholds property for the current drill action.
| ||||||||||
abstract void |
setName(String name)
Sets the name of the current drill action
| ||||||||||
abstract void |
setReportFilter(int reportFilter)
Sets the reportFilter property of the current drill action.
| ||||||||||
abstract void |
setUserFilter(int userFilter)
Sets the userFilter property for the current drill action.
|
Returns the template unit that has been set on this instance.
WebTemplateUnit
object set on this object.
WebObjectsException |
---|
Returns the type of the drill action specified by this object.
EnumDSSXMLDrillType
Returns the Drill Unit Source set for the current drill action.
A Drill Unit Source specifies where the template unit for the drill action be obtained from.
Possible values are listed under
EnumDSSXMLDrillUnitSource
Default value : DssXmlDrillUnitInstance
Returns the value of the filterMetrics property of this drill action.
Returns the keepIndependent property for the current drill action.
Possible values are listed under EnumDSSXMLKeepIndependent
Default value : DssXmlKeepIndependentSet
Returns the keepOriginal property for this drill action.
Returns the keepThresholds property for this drill action.
Returns the name of the current drill action
Returns the value of the reportFilter property set for this drill action.
EnumDSSXMLReportFilter
Returns the value of the userFilter for this drill action.
Sets the template unit from where to drill on the base report instance.
axis | The Axis on which the WebTemplateUnit , from where to drill, lies. Possible
enumerations are listed in EnumDSSXMLAxisName |
---|---|
position | The position of the WebTemplateUnit on the axis.
|
Sets the template unit from where to drill on the base report instance.
wtu | The WebTemplateUnit from where to drill.
|
---|
Set the Drill Unit Source for the current drill action.
A Drill Unit Source specifies where the template unit for the drill action be obtained from.
Possible values are listed under
EnumDSSXMLDrillUnitSource
Default value : DssXmlDrillUnitInstance
drillUnitSource | The Drill Unit Source to be set for this object. |
---|
UnsupportedOperationException |
---|
Sets the filterMetrics property for the current drill action.
Possible values :
True = Modify the template so that it only includes those metrics whose
header elements appear in the Elements collection. If the collection
does not contain any metric elements, then the metrics on the
template are not changed.
False = Do not filter the template to only show the selected metrics.
Default value : True
filterMetrics | The desired value to be set for the filterMetrics flag of this object. |
---|
Sets the keepIndependent property for the current drill action.
Possible values are listed under EnumDSSXMLKeepIndependent
Default value : DssXmlKeepIndependentSet
keepIndependent | The value of the keepIndependent property to be set for this object. |
---|
Sets the keepOriginal property for the current drill action.
Possible values :
False = Replace the user's selection of a template unit.
True = Keep the user’s selection of a template unit. The new template
will be added immediately after it on the same axis.
Default Value : False
keepOriginal | The value of the keepOriginal flag to be set for this object. |
---|
Sets the keepThresholds property for the current drill action.
Possible values :
False = Don't preserve the thresholds after drilling.
True = preserve the thresholds after drilling.
Default Value : False
keepThresholds | The value of the keepThresholds flag to be set for this object. |
---|
Sets the name of the current drill action
name | The name to be set for the drill action hold by this object. |
---|
Sets the reportFilter property of the current drill action.
The drill action property reportFilter specifies how the report server uses the report's original filter
Possible values are listed in EnumDSSXMLReportFilter
Default value : DssXmlReportFilterSmart
reportFilter | The value of the reportFilter property to be set for this object |
---|
Sets the userFilter property for the current drill action.
The drill action property userFilter specifies how the report server uses the user's original filter
Possible values are listed under EnumDSSXMLUserFilter
Default value : DssXmlUserFilterRelation
userFilter | The value of the userFilter property to be set for this object. |
---|