com.sas.dataselectors.exceptionhighlighting
Class OLAPExceptionHighlightingSelectorBQAdapter

com.sas.dataselectors.exceptionhighlighting.OLAPExceptionHighlightingSelectorBQAdapter
All Implemented Interfaces:
ExceptionHighlightingSelectorInterface, SelectorCommitInterface, SelectorProcessInterface
Direct Known Subclasses:
OLAPExceptionHighlightingChartSelectorBQAdapter

public class OLAPExceptionHighlightingSelectorBQAdapter


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sas.dataselectors.exceptionhighlighting.BaseExceptionHighlightingSelectorAdapter
BaseExceptionHighlightingSelectorAdapter.KeyValueItem
 
Field Summary
protected  OLAPDataSetInterface odsi
           
 
Fields inherited from class com.sas.dataselectors.exceptionhighlighting.ExceptionHighlightingSelectorBQAdapter
dataModel, rsHandler
 
Fields inherited from class com.sas.dataselectors.exceptionhighlighting.BaseExceptionHighlightingSelectorAdapter
addAutomaticToFontInfo, isOLAP, locale, RB_KEY, rules
 
Fields inherited from interface com.sas.dataselectors.SelectorCommitInterface
EXCEPTION_OCCURRED
 
Fields inherited from interface com.sas.dataselectors.exceptionhighlighting.ExceptionHighlightingSelectorInterface
AUTOMATIC, CONDITION_BETWEEN, CONDITION_EQUAL, CONDITION_GREATER_THAN, CONDITION_GREATER_THAN_OR_EQUAL, CONDITION_LESS_THAN, CONDITION_LESS_THAN_OR_EQUAL, CONDITION_MISSING_VALUE, CONDITION_NOT_EQUAL
 
Constructor Summary
OLAPExceptionHighlightingSelectorBQAdapter()
          Default constructor.
 
Method Summary
protected  java.util.Map getHierarchies()
           
 javax.swing.tree.TreeModel getLevelTreeModel()
          Returns the tree model to display list of levels(olap)
 java.util.Map getMeasureNames()
          Returns the list of the names of the measures
protected  java.lang.String getMostDetailedVisibleLevelForHierarchy(HierarchyInterface hierarchy)
           
 OLAPDataSetInterface getOLAPDataSetInterface()
           
 boolean isOLAP()
          Returns true if the data source for this adapter is OLAP based.
 void setOLAPDataSetInterface(OLAPDataSetInterface odsi)
           
 
Methods inherited from class com.sas.dataselectors.exceptionhighlighting.ExceptionHighlightingSelectorBQAdapter
commit, getBusinessQuery, getModel, getPropertiesBean, process, setModel, setModel
 
Methods inherited from class com.sas.dataselectors.exceptionhighlighting.BaseExceptionHighlightingSelectorAdapter
addRule, getColors, getDefaultFont, getDefaultFontSize, getFonts, getFontSizes, getImages, getLocale, getRules, getSupportedConditions, isAddAutomaticToFontInfo, isCompleteImagePath, removeRule, setAddAutomaticToFontInfo, setLocale
 

Field Detail

odsi

protected OLAPDataSetInterface odsi
Constructor Detail

OLAPExceptionHighlightingSelectorBQAdapter

public OLAPExceptionHighlightingSelectorBQAdapter()
Default constructor.

Method Detail

setOLAPDataSetInterface

public void setOLAPDataSetInterface(OLAPDataSetInterface odsi)

getOLAPDataSetInterface

public OLAPDataSetInterface getOLAPDataSetInterface()

getMeasureNames

public java.util.Map getMeasureNames()
Description copied from interface: ExceptionHighlightingSelectorInterface
Returns the list of the names of the measures

Specified by:
getMeasureNames in interface ExceptionHighlightingSelectorInterface
Overrides:
getMeasureNames in class ExceptionHighlightingSelectorBQAdapter
Returns:
the list of the names of the measures. In the Map there's one element for each measure, for each element in the map its key is the measure label and its value is the measure id

getMostDetailedVisibleLevelForHierarchy

protected java.lang.String getMostDetailedVisibleLevelForHierarchy(HierarchyInterface hierarchy)

getLevelTreeModel

public javax.swing.tree.TreeModel getLevelTreeModel()
Description copied from interface: ExceptionHighlightingSelectorInterface
Returns the tree model to display list of levels(olap)

Specified by:
getLevelTreeModel in interface ExceptionHighlightingSelectorInterface
Overrides:
getLevelTreeModel in class BaseExceptionHighlightingSelectorAdapter
Returns:
the tree model of the levels.

isOLAP

public boolean isOLAP()
Description copied from interface: ExceptionHighlightingSelectorInterface
Returns true if the data source for this adapter is OLAP based.

Specified by:
isOLAP in interface ExceptionHighlightingSelectorInterface
Overrides:
isOLAP in class BaseExceptionHighlightingSelectorAdapter
Returns:
Returns the isOLAP.

getHierarchies

protected java.util.Map getHierarchies()



Copyright © 2009 SAS Institute Inc. All Rights Reserved.