com.tonbeller.jpivot.mondrian.script
Class ScriptableMondrianDrillThrough

java.lang.Object
  extended by com.tonbeller.jpivot.core.ExtensionSupport
      extended by com.tonbeller.jpivot.mondrian.script.ScriptableMondrianDrillThrough
All Implemented Interfaces:
Extension, DrillThrough

public class ScriptableMondrianDrillThrough
extends ExtensionSupport
implements DrillThrough

Author:
Engineering Ingegneria Informatica S.p.A. - Luca Barozzi Implementation of the DrillExpand Extension for Mondrian Data Source.

Field Summary
 
Fields inherited from interface com.tonbeller.jpivot.olap.navi.DrillThrough
ID
 
Constructor Summary
ScriptableMondrianDrillThrough()
          Constructor sets ID
 
Method Summary
 boolean canDrillThrough(Cell cell)
          drill through is possible if member is not calculated
 com.tonbeller.wcf.table.TableModel drillThrough(Cell cell)
          does a drill through, retrieves data that makes up the selected Cell
 mondrian.olap.Connection getConnection()
          gets the mondrian connection
 boolean isExtendedContext()
           
 void setExtendedContext(boolean extendedContext)
           
 
Methods inherited from class com.tonbeller.jpivot.core.ExtensionSupport
decorate, getId, getModel, modelInitialized, setId, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.tonbeller.jpivot.core.Extension
decorate, getId, modelInitialized, setModel
 

Constructor Detail

ScriptableMondrianDrillThrough

public ScriptableMondrianDrillThrough()
Constructor sets ID

Method Detail

canDrillThrough

public boolean canDrillThrough(Cell cell)
drill through is possible if member is not calculated

Specified by:
canDrillThrough in interface DrillThrough

drillThrough

public com.tonbeller.wcf.table.TableModel drillThrough(Cell cell)
does a drill through, retrieves data that makes up the selected Cell

Specified by:
drillThrough in interface DrillThrough

getConnection

public mondrian.olap.Connection getConnection()
gets the mondrian connection

Returns:

isExtendedContext

public boolean isExtendedContext()

setExtendedContext

public void setExtendedContext(boolean extendedContext)