Package com.microstrategy.web.app.utils
Class IPhoneUtils
- java.lang.Object
-
- com.microstrategy.web.app.utils.IPhoneUtils
-
public class IPhoneUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_RESULT_FLAGS
static int
INTERACTIVE_GRID_RESULT_FLAGS
static int
MAP_RESULT_FLAGS
static int
MOJO_GRID_RESULT_FLAGS
static int
TIME_SERIES_RESULT_FLAGS
-
Constructor Summary
Constructors Constructor Description IPhoneUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getFirstNodeKeyFromRL(java.lang.String rl)
static java.lang.String
getGridKey(RWInstance rwi)
static java.lang.String
getGridKeyForMap(RWInstance rwi)
static java.lang.String
getGridKeyForTimeSeries(RWInstance rwi)
static java.lang.String[]
getGridKeys(RWInstance rwi)
Returns an array of grid keysstatic int
getResultFlagsForIPhoneVisualization(java.lang.String visStyleName)
static java.lang.String
getRLFromVisProps(java.lang.String visProps)
static boolean
isIPhoneInteractiveGridStyle(java.lang.String styleName)
static boolean
isIPhoneMapStyle(java.lang.String styleName)
static boolean
isIPhoneMojoGridStyle(java.lang.String styleName)
static boolean
isIPhoneTimeSeriesStyle(RWLayoutSectionDef layout)
static boolean
isIPhoneTimeSeriesStyle(java.lang.String styleName)
static boolean
isIPhoneVisualization(java.lang.String visStyle, AppContext appContext)
Whether a visualization with the name specified is defined on the iphone visualization list
-
-
-
Field Detail
-
TIME_SERIES_RESULT_FLAGS
public static final int TIME_SERIES_RESULT_FLAGS
- See Also:
- Constant Field Values
-
INTERACTIVE_GRID_RESULT_FLAGS
public static final int INTERACTIVE_GRID_RESULT_FLAGS
- See Also:
- Constant Field Values
-
MAP_RESULT_FLAGS
public static final int MAP_RESULT_FLAGS
- See Also:
- Constant Field Values
-
MOJO_GRID_RESULT_FLAGS
public static final int MOJO_GRID_RESULT_FLAGS
- See Also:
- Constant Field Values
-
DEFAULT_RESULT_FLAGS
public static final int DEFAULT_RESULT_FLAGS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getGridKey
public static java.lang.String getGridKey(RWInstance rwi) throws WebObjectsException, WebBeanException
- Throws:
WebObjectsException
WebBeanException
-
getGridKeys
public static java.lang.String[] getGridKeys(RWInstance rwi) throws WebObjectsException, WebBeanException
Returns an array of grid keys- Parameters:
rwi
- the RWInstance- Returns:
- an array of grid keys
- Throws:
WebObjectsException
WebBeanException
-
getGridKeyForTimeSeries
public static java.lang.String getGridKeyForTimeSeries(RWInstance rwi) throws WebObjectsException, WebBeanException
- Throws:
WebObjectsException
WebBeanException
-
getFirstNodeKeyFromRL
public static java.lang.String getFirstNodeKeyFromRL(java.lang.String rl) throws XMLSupportRuntimeException, org.xml.sax.SAXException
- Throws:
XMLSupportRuntimeException
org.xml.sax.SAXException
-
getGridKeyForMap
public static java.lang.String getGridKeyForMap(RWInstance rwi) throws WebObjectsException, WebBeanException
- Throws:
WebObjectsException
WebBeanException
-
isIPhoneTimeSeriesStyle
public static boolean isIPhoneTimeSeriesStyle(RWLayoutSectionDef layout) throws WebObjectsException, WebBeanException
- Throws:
WebObjectsException
WebBeanException
-
isIPhoneTimeSeriesStyle
public static boolean isIPhoneTimeSeriesStyle(java.lang.String styleName)
-
isIPhoneInteractiveGridStyle
public static boolean isIPhoneInteractiveGridStyle(java.lang.String styleName)
-
isIPhoneMapStyle
public static boolean isIPhoneMapStyle(java.lang.String styleName)
-
isIPhoneMojoGridStyle
public static boolean isIPhoneMojoGridStyle(java.lang.String styleName)
-
getRLFromVisProps
public static java.lang.String getRLFromVisProps(java.lang.String visProps) throws WebBeanException
- Throws:
WebBeanException
-
getResultFlagsForIPhoneVisualization
public static int getResultFlagsForIPhoneVisualization(java.lang.String visStyleName)
-
isIPhoneVisualization
public static boolean isIPhoneVisualization(java.lang.String visStyle, AppContext appContext)
Whether a visualization with the name specified is defined on the iphone visualization list- Parameters:
visStyle
- the visualization nameappContext
- the Application Context- Returns:
- Whether a visualization with the name specified is defined on the iphone visualization list
-
-