Package com.microstrategy.web.objects
Interface WebDrillAction
- 
- All Known Subinterfaces:
- WebGraphCoordinatesDrillAction,- WebNewFormsDrillAction,- WebNewObjectDrillAction,- WebRemoveMetricDrillAction
 
 public interface WebDrillActionThis interface is used to hold the drill actions for report drilling. A drill action can be one of the types listed underEnumDSSXMLDrillTypeA 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]WebRemoveMetricDrillActionfor DrillRemoveMetric, [2]WebGraphCoordinatesDrillActionfor DrillToGraphCoordinates, [3]WebNewObjectDrillActionfor DrillToMetric, DrillToTemplate, DrillToRemoveUnit, DrillToUnit, DrillToChild, DrillToParent, [4]WebNewFormsDrillActionfor DrillToForm.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description WebTemplateUnitgetDrillTemplateUnit()Returns the template unit that has been set on this instance.intgetDrillType()Returns the type of the drill action specified by this object.intgetDrillUnitSource()Returns the Drill Unit Source set for the current drill action.booleangetFilterMetrics()Returns the value of the filterMetrics property of this drill action.intgetKeepIndependent()Returns the keepIndependent property for the current drill action.booleangetKeepOriginal()Returns the keepOriginal property for this drill action.booleangetKeepThresholds()Returns the keepThresholds property for this drill action.java.lang.StringgetName()Returns the name of the current drill actionintgetReportFilter()Returns the value of the reportFilter property set for this drill action.intgetUserFilter()Returns the value of the userFilter for this drill action.voidsetDrillTemplateUnit(int axis, int position)Sets the template unit from where to drill on the base report instance.voidsetDrillTemplateUnit(WebTemplateUnit wtu)Sets the template unit from where to drill on the base report instance.voidsetDrillUnitSource(int drillUnitSource)Set the Drill Unit Source for the current drill action.voidsetFilterMetrics(boolean filterMetrics)Sets the filterMetrics property for the current drill action.voidsetKeepIndependent(int keepIndependent)Sets the keepIndependent property for the current drill action.voidsetKeepOriginal(boolean keepOriginal)Sets the keepOriginal property for the current drill action.voidsetKeepThresholds(boolean keepThresholds)Sets the keepThresholds property for the current drill action.voidsetName(java.lang.String name)Sets the name of the current drill actionvoidsetReportFilter(int reportFilter)Sets the reportFilter property of the current drill action.voidsetUserFilter(int userFilter)Sets the userFilter property for the current drill action.
 
- 
- 
- 
Method Detail- 
getDrillTemplateUnitWebTemplateUnit getDrillTemplateUnit() throws WebObjectsException Returns the template unit that has been set on this instance.- Returns:
- The WebTemplateUnitobject set on this object.
- Throws:
- WebObjectsException
 
 - 
setDrillTemplateUnitvoid setDrillTemplateUnit(WebTemplateUnit wtu) Sets the template unit from where to drill on the base report instance.- Parameters:
- wtu- The- WebTemplateUnitfrom where to drill.
 
 - 
setDrillTemplateUnitvoid setDrillTemplateUnit(int axis, int position)Sets the template unit from where to drill on the base report instance.- Parameters:
- axis- The Axis on which the- WebTemplateUnit, from where to drill, lies. Possible enumerations are listed in- EnumDSSXMLAxisName
- position- The position of the- WebTemplateUniton the axis.
 
 - 
getFilterMetricsboolean getFilterMetrics() Returns the value of the filterMetrics property of this drill action.- Returns:
- The value of the filterMetrics flag for this object.
 
 - 
setFilterMetricsvoid setFilterMetrics(boolean filterMetrics) 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- Parameters:
- filterMetrics- The desired value to be set for the filterMetrics flag of this object.
 
 - 
getKeepOriginalboolean getKeepOriginal() Returns the keepOriginal property for this drill action.- Returns:
- The value of the keepOriginal flag for this object.
 
 - 
setKeepOriginalvoid setKeepOriginal(boolean keepOriginal) Sets the keepOriginal property for the current drill action.
 
 Possible values :
 False = Replace the user's selection of a template unit.
 True = Keep the users selection of a template unit. The new template will be added immediately after it on the same axis.
 Default Value : False- Parameters:
- keepOriginal- The value of the keepOriginal flag to be set for this object.
 
 - 
getKeepThresholdsboolean getKeepThresholds() Returns the keepThresholds property for this drill action.- Returns:
- The value of the keepThresholds flag for this object.
 
 - 
setKeepThresholdsvoid setKeepThresholds(boolean keepThresholds) 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- Parameters:
- keepThresholds- The value of the keepThresholds flag to be set for this object.
 
 - 
getDrillTypeint getDrillType() Returns the type of the drill action specified by this object.- Returns:
- The type of this WebDrillAction object. The possible drill types are listed in
 EnumDSSXMLDrillType
 
 - 
getReportFilterint getReportFilter() Returns the value of the reportFilter property set for this drill action.- Returns:
- The value of the reportFilter property for this object. The possible settings are
 listed in EnumDSSXMLReportFilter
 
 - 
setReportFiltervoid setReportFilter(int reportFilter) 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 inEnumDSSXMLReportFilter
 Default value :EnumDSSXMLReportFilter.DssXmlReportFilterSmart- Parameters:
- reportFilter- The value of the reportFilter property to be set for this object
 
 - 
getUserFilterint getUserFilter() Returns the value of the userFilter for this drill action.- Returns:
- The value of the userFilter property set for this object.
 
 - 
setUserFiltervoid setUserFilter(int userFilter) 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 underEnumDSSXMLUserFilter
 
 Default value :EnumDSSXMLUserFilter.DssXmlUserFilterRelation- Parameters:
- userFilter- The value of the userFilter property to be set for this object.
 
 - 
setKeepIndependentvoid setKeepIndependent(int keepIndependent) Sets the keepIndependent property for the current drill action.
 
 Possible values are listed underEnumDSSXMLKeepIndependent
 
 Default value :EnumDSSXMLKeepIndependent.DssXmlKeepIndependentSet- Parameters:
- keepIndependent- The value of the keepIndependent property to be set for this object.
 
 - 
getKeepIndependentint getKeepIndependent() Returns the keepIndependent property for the current drill action.
 
 Possible values are listed underEnumDSSXMLKeepIndependent
 
 Default value :EnumDSSXMLKeepIndependent.DssXmlKeepIndependentSet- Returns:
- The value of the keepIndependent property set.
 
 - 
getNamejava.lang.String getName() Returns the name of the current drill action- Returns:
- The name of the drill action hold by this object.
 
 - 
setNamevoid setName(java.lang.String name) Sets the name of the current drill action- Parameters:
- name- The name to be set for the drill action hold by this object.
 
 - 
getDrillUnitSourceint getDrillUnitSource() 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 underEnumDSSXMLDrillUnitSource
 Default value :EnumDSSXMLDrillUnitSource.DssXmlDrillUnitInstance- Returns:
- The Drill Unit Source for this object.
 
 - 
setDrillUnitSourcevoid setDrillUnitSource(int drillUnitSource) throws java.lang.UnsupportedOperationExceptionSet 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 underEnumDSSXMLDrillUnitSource
 Default value :EnumDSSXMLDrillUnitSource.DssXmlDrillUnitInstance- Parameters:
- drillUnitSource- The Drill Unit Source to be set for this object.
- Throws:
- java.lang.UnsupportedOperationException
 
 
- 
 
-