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 intDEFAULT_RESULT_FLAGSstatic intINTERACTIVE_GRID_RESULT_FLAGSstatic intMAP_RESULT_FLAGSstatic intMOJO_GRID_RESULT_FLAGSstatic intTIME_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.StringgetFirstNodeKeyFromRL(java.lang.String rl)static java.lang.StringgetGridKey(RWInstance rwi)static java.lang.StringgetGridKeyForMap(RWInstance rwi)static java.lang.StringgetGridKeyForTimeSeries(RWInstance rwi)static java.lang.String[]getGridKeys(RWInstance rwi)Returns an array of grid keysstatic intgetResultFlagsForIPhoneVisualization(java.lang.String visStyleName)static java.lang.StringgetRLFromVisProps(java.lang.String visProps)static booleanisIPhoneInteractiveGridStyle(java.lang.String styleName)static booleanisIPhoneMapStyle(java.lang.String styleName)static booleanisIPhoneMojoGridStyle(java.lang.String styleName)static booleanisIPhoneTimeSeriesStyle(RWLayoutSectionDef layout)static booleanisIPhoneTimeSeriesStyle(java.lang.String styleName)static booleanisIPhoneVisualization(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:
WebObjectsExceptionWebBeanException
-
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:
WebObjectsExceptionWebBeanException
-
getGridKeyForTimeSeries
public static java.lang.String getGridKeyForTimeSeries(RWInstance rwi) throws WebObjectsException, WebBeanException
- Throws:
WebObjectsExceptionWebBeanException
-
getFirstNodeKeyFromRL
public static java.lang.String getFirstNodeKeyFromRL(java.lang.String rl) throws XMLSupportRuntimeException, org.xml.sax.SAXException- Throws:
XMLSupportRuntimeExceptionorg.xml.sax.SAXException
-
getGridKeyForMap
public static java.lang.String getGridKeyForMap(RWInstance rwi) throws WebObjectsException, WebBeanException
- Throws:
WebObjectsExceptionWebBeanException
-
isIPhoneTimeSeriesStyle
public static boolean isIPhoneTimeSeriesStyle(RWLayoutSectionDef layout) throws WebObjectsException, WebBeanException
- Throws:
WebObjectsExceptionWebBeanException
-
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
-
-