it.eng.spagobi.jpivotaddins.crossnavigation
Class SpagoBICrossNavigationConfig

java.lang.Object
  extended by it.eng.spagobi.jpivotaddins.crossnavigation.SpagoBICrossNavigationConfig

public class SpagoBICrossNavigationConfig
extends java.lang.Object

An instance of this class contains information for cross navigation choices, retrieved by SpagoBI OLAP document template. An example of this configuration could be:
<CROSS_NAVIGATION>
<TARGET documentLabel="QBE_FOODMART" customizedView="Unit sales on product family">
<TITLE>
<![CDATA[
Go to QbE over Foodmart DB
]]>
</TITLE>
<DESCRIPTION>
<![CDATA[
Detail on unit sales per selected product family
]]>
</DESCRIPTION>
<PARAMETERS>
<PARAMETER name="family" scope="relative" dimension="Product" hierarchy="[Product]" level="[Product].[Product Family]" />
<PARAMETER name="city" scope="relative" dimension="Region" hierarchy="[Region]" level="[Region].[Sales City]" property="code" />
</PARAMETERS>
</TARGET>
</CROSS_NAVIGATION>

Author:
Zerbetto Davide (davide.zerbetto@eng.it) DATE CONTRIBUTOR/DEVELOPER NOTE 17-12-2009 Zerbetto Davide/Gilles CAFIERO (G2C) parameter value can be retrieved by a member property

Nested Class Summary
protected  class SpagoBICrossNavigationConfig.Target
           
protected  class SpagoBICrossNavigationConfig.TargetParameter
           
 
Field Summary
static java.lang.String ID
           
 
Constructor Summary
SpagoBICrossNavigationConfig(org.dom4j.Node config)
          Constructor given the CROSS_NAVIGATION node of the xml document template.
 
Method Summary
 java.lang.String[] getChoice(int rowIndex, mondrian.olap.Cell cell, com.tonbeller.jpivot.mondrian.MondrianModel model)
           
 int getChoicesNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

SpagoBICrossNavigationConfig

public SpagoBICrossNavigationConfig(org.dom4j.Node config)
Constructor given the CROSS_NAVIGATION node of the xml document template.

Parameters:
config: - the CROSS_NAVIGATION node of the xml document template
Method Detail

getChoicesNumber

public int getChoicesNumber()

getChoice

public java.lang.String[] getChoice(int rowIndex,
                                    mondrian.olap.Cell cell,
                                    com.tonbeller.jpivot.mondrian.MondrianModel model)