Class ViewBeanTransformHelper
- java.lang.Object
 - 
- com.microstrategy.web.app.transforms.ViewBeanTransformHelper
 
 
- 
public class ViewBeanTransformHelper extends java.lang.ObjectViewBeanTransformHelper Provides utility functions used in report transforms- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCACHED_ADVANCED_DRILL_EDITOR_PROCESS_EVENTprotected static java.lang.StringCACHED_ADVANCED_DRILL_EVENTprotected static java.lang.StringCACHED_APPLIED_SORT_ARRAYprotected static java.lang.StringCACHED_DRILL_EDITOR_NAMEprotected static java.lang.StringCACHED_DRILL_EDITOR_PROCESS_EVENTprotected static java.lang.StringCACHED_DRILL_EVENTprotected static java.lang.StringCACHED_DRILL_FILTER_PAGEBYprotected static java.lang.StringCACHED_DRILL_FILTERONSELECTION_PROCESS_EVENTprotected static java.lang.StringCACHED_FORMAL_PARAMETERSprotected static java.lang.StringCACHED_IFRAME_REQUESTprotected static java.lang.StringCACHED_IMAGE_FOLDERprotected static java.lang.StringCACHED_IS_NETSCAPEprotected static java.lang.StringCACHED_MAX_COL_HEADER_DEPTHprotected static java.lang.StringCACHED_SORT_EVENTprotected static java.lang.StringCACHED_SORT_SUBTOTAL_POSITIONprotected static java.lang.StringCACHED_SPECIFY_ID_FOR_FOR_TITLE_CELLprotected static java.lang.StringCACHED_SPECIFY_WIDTH_FOR_CELLprotected static java.lang.StringCACHED_URL_TYPICAL_BEAN_STATESstatic java.lang.StringDRILL_RETAIN_THRESHOLDS_NOstatic java.lang.StringDRILL_RETAIN_THRESHOLDS_USE_DRILL_PATHstatic java.lang.StringDRILL_RETAIN_THRESHOLDS_YESstatic java.lang.StringLOCK_COLUMN_HEADERS_PROPERTY_NAMEstatic java.lang.StringLOCK_COLUMN_HEADERS_PROPERTY_OFFstatic java.lang.StringLOCK_COLUMN_HEADERS_PROPERTY_ONstatic java.lang.StringLOCK_HEADERS_PROPERTY_GROUPstatic java.lang.StringLOCK_ROW_HEADERS_PROPERTY_NAMEstatic java.lang.StringLOCK_ROW_HEADERS_PROPERTY_OFFstatic java.lang.StringLOCK_ROW_HEADERS_PROPERTY_ONprotected static intMAX_CACHED_OBJECTSstatic java.lang.StringSORT_ASCENDINGstatic java.lang.StringSORT_CUSTOMstatic java.lang.StringSORT_DESCENDING 
- 
Constructor Summary
Constructors Constructor Description ViewBeanTransformHelper() 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleancheckReportSettingsDefault(ViewBean vb, java.lang.String PropertySet, java.lang.String PropertyName)check if this report property is set to defaultstatic java.lang.StringdetermineDrillRetainParent(ViewBean vb, java.lang.String preferenceValue)Deprecated.This method is no longer used.static java.lang.StringdetermineDrillRetainThreshold(ViewBean vb, java.lang.String preferenceValue)Deprecated.This method is no longer used.static voidgenerateAttributeFormContextMenu(ViewBean vb, WebTemplateUnit tu, boolean isIFrame, ContextMenu rhMenu, ContextMenuManager cmm, java.lang.String datasetID)Deprecated.please use the new approach for generating context menu options, seeReportCellAttributeFormsstatic java.lang.StringgenerateAttributeFormListForContextMenus(WebWorkingSet ws, WebAttribute att, boolean isRWDoc)Generates aStringwith the list of attribute forms.static java.lang.StringgenerateAttributeFormListForContextMenus(WebWorkingSet ws, WebTemplateAttribute wta, boolean isRWDoc)Generates aStringwith the list of attribute forms.static voidgenerateClientSideRemoveContextMenu(ViewBean vb, int pos, ContextMenu rhMenu, boolean enableExtraRemove)Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridstatic java.lang.StringgenerateColHeaderSortDisplayString(ViewBean vb, WebHeader header)generate the sort display for column header.static java.lang.StringgenerateColHeaderSortID(ViewBean vb, WebHeader header)generat the sort id for column headerstatic java.lang.StringgenerateColTitleSortID(WebSubTitle parentSubTitle, WebSubTitle childSubTitle)generate the sort id for col title.static java.lang.StringgenerateColTitleSortID(WebTitle title, WebAttributeForm attForm)static voidgenerateFilterOnContextMenu(ViewBean vb, WebObjectInfo objInfo, java.lang.String unitAlias, ContextMenu cm, EventManager eventManager, boolean isIFrame)Deprecated.please use the new approach for generating context menu options, seeReportCellFilterOnstatic voidgenerateFormattingContextMenu(ViewBean vb, int axis, int pos, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellFormatstatic voidgenerateFormattingContextMenu(ViewBean vb, int pos, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellFormatstatic voidgenerateFormattingContextMenuForRWB(ViewBean vb, int axis, int pos, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager, java.lang.String viewerID)Deprecated.please use the new approach for generating context menu options, seeReportCellFormatstatic voidgenerateFormattingContextMenuForRWB(ViewBean vb, int pos, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager, java.lang.String viewerID)Deprecated.please use the new approach for generating context menu options, seeReportCellFormatstatic voidgenerateFormattingContextMenuForRWB(ViewBean vb, ContextMenu rhMenu, java.lang.String viewerID)Deprecated.please use the new approach for generating context menu options, seeReportCellFormatstatic BlockgenerateFormattingInfoBlock(WebTemplate template, AppContext context)static voidgenerateFormattingInfoBlock(WebTemplate template, AppContext context, Block all)static voidgenerateGraphProperties(WebGraph graphObject, AppContext appContext, Block rootBlock)static BlockgenerateGraphPropertiesInfoBlock(WebGraph graph, AppContext context)static java.lang.StringgenerateHeaderSortDisplayString(ViewBean vb, WebHeader header, int axis)generate the sort display for column header.static java.lang.StringgenerateHeaderSortID(ViewBean vb, WebHeader header, int axis, int sortAxis)generat the sort id for column headerstatic booleangenerateMoveContextMenu(ViewBean vb, int pos, boolean isFirst, boolean isLast, boolean applyNow, java.lang.String extraUrl, boolean isIFrame, ContextMenu rhMenu, ContextMenuManager cmm, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellMovestatic booleangenerateMoveContextMenu(ViewBean vb, int pos, boolean isFirst, boolean isLast, ContextMenu rhMenu, ContextMenuManager cmm)Deprecated.please use the new approach for generating context menu options, seeReportCellMovestatic voidgenerateMoveContextMenu(ViewBean vb, int axis, int pos, boolean isFirst, boolean isLast, boolean applyNow, java.lang.String extraUrl, boolean isIFrame, ContextMenu rhMenu, ContextMenuManager cmm, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellMovestatic voidgenerateMoveContextMenu(ViewBean vb, int axis, int pos, boolean isFirst, boolean isLast, ContextMenu rhMenu, ContextMenuManager cmm)Deprecated.please use the new approach for generating context menu options, seeReportCellMovestatic voidgenerateRemoveClientSideContextMenu(ViewBean vb, int axis, int pos, ContextMenu rhMenu, boolean enableExtraRemove)Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridstatic voidgenerateRemoveContextMenu(ViewBean vb, int pos, boolean applyNow, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridstatic voidgenerateRemoveTemplateUnitContextMenu(ViewBean vb, int axis, int pos, boolean applyNow, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridstatic voidgenerateRemoveWorkingSetAllMetricsContextMenu(ViewBean vb, boolean applyNow, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridstatic voidgenerateRemoveWorkingSetUnitContextMenu(ViewBean vb, WebObjectInfo object, boolean applyNow, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridstatic voidgenerateRenameContextMenu(ViewBean vb, int key, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellRenamestatic voidgenerateRenameContextMenuForRWB(ViewBean vb, int key, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellRenamestatic java.lang.StringgenerateRowHeaderSortID(ViewBean vb, WebHeader header)generat the sort id for column headerstatic java.lang.StringgenerateRowTitleSortID(WebSubTitle parentSubTitle, WebSubTitle childSubTitle)generate the sort id for row title.static java.lang.StringgenerateRowTitleSortID(WebTitle title, WebAttributeForm attForm)static java.lang.StringgenerateRowTitleSortID(WebTitle title, WebSubTitle subTitle)generate the sort id for row titlestatic voidgenerateShortcutMetricsContextMenu(ViewBean vb, java.lang.String metricID, ContextMenu rhMenu, ContextMenuManager cmm, EventManager eventManager, boolean isIFrame)Deprecated.please use the new approach for generating context menu options, seeReportCellInsertMetricstatic java.lang.StringgenerateTitleSortID(WebTitle title, WebAttributeForm attForm, int axis)static WebEventgetAddAttFormEvent(ViewBean vb, java.lang.String attID, java.lang.String attFormID, boolean isBase, java.lang.String toPos, java.lang.String datasetID)static java.lang.StringgetAddAttFormLink(ViewBean vb, java.lang.String attID, java.lang.String attFormID, boolean isBase, int toPos, java.lang.String extraURL, boolean addState, EventManager eventManager, java.lang.String datasetID)static BlockgetBlockProps(WebTemplate template, java.lang.String[] properties, int axis, int position, int level, AppContext context)static java.lang.StringgetCartesianJoinDisabledTooltip(WebBean wb)Get disabled reason for cartesian join drop downstatic intgetDefaultOutlineModeExpansionLevel(ViewBean vb)static java.lang.String[]getFeaturesList()static voidgetGridBoneFormalParameters(Transform t, JsonGenerator json)Sets formal paramters used by grid bones for client-side template manipulations as properties of aJsonGenerator.static JsonGeneratorgetGridFeatures(WebComponent bean, boolean isDesignMode)Creates a json generator for the client-side template features property.static JsonGeneratorgetGridFeatures(WebComponent bean, boolean isDesignMode, boolean hasMetrics)Deprecated.static JsonGeneratorgetGridFeatures(WebFeatures featuresManager, boolean isDesignMode)Creates a json generator for the client-side template features property.static JsonGeneratorgetGridFeatures(WebFeatures featuresManager, boolean isDesignMode, boolean hasMetrics)Deprecated.static WebEventgetMoveMetricEvent(ViewBean vb, java.lang.String fromPos, java.lang.String toPos, boolean applyNow)get an event object for a move metric actionstatic java.lang.StringgetMoveMetricLink(ViewBean vb, java.lang.String fromPos, java.lang.String toPos, boolean applyNow, java.lang.String extraURL, boolean addState, EventManager eventManager)Deprecated.please use the transform and cell information for pivot manipulationsstatic java.lang.StringgetObjectDescription(WebTemplateUnit unit)static java.lang.StringgetObjectID(WebTemplateUnit unit)static java.lang.StringgetObjectIDInfo(WebTemplateUnit unit)Based on the type of unit instance, obtain its IDstatic intgetObjectSubType(WebTemplateUnit unit)static intgetObjectType(WebTemplateUnit unit)static intgetObjectTypeInfo(WebTemplateUnit unit)Get the object type defined for theWebTemplateUnitspecifiedstatic WebEventgetOpenAttFormEditorEvent(ViewBean vb, java.lang.String attID)static java.lang.StringgetOpenAttFormEditorLink(ViewBean vb, java.lang.String attID, java.lang.String extraURL, boolean addState, EventManager eventManager)static intgetOutlineModeMaxLevels(ViewBean vb)static WebHeadersgetPageByHeadersByIndex(ViewBean vb, WebGridHeaders pageHeaders, int titleIndex)get the index for a pageby headerstatic java.lang.StringgetProjectProperty(WebSessionInfo sessionInfo, java.lang.String propertySetName, java.lang.String propertyName)Get a project level property valuestatic WebEventgetRemoveAttFormEvent(ViewBean vb, java.lang.String attID, java.lang.String attFormID, boolean isBase, java.lang.String datasetID)static java.lang.StringgetRemoveAttFormLink(ViewBean vb, java.lang.String attID, java.lang.String attFormID, boolean isBase, java.lang.String extraURL, boolean addState, EventManager eventManager, java.lang.String datasetID)static WebEventgetRemoveMetricEvent(ViewBean vb, java.lang.String metricPos, boolean applyNow)get an event object for a remove metric actionstatic java.lang.StringgetRemoveMetricLink(ViewBean vb, java.lang.String metricPos, boolean applyNow, java.lang.String extraURL, boolean addState, EventManager eventManager)Deprecated.please consult the transform class for remove manipulationsstatic WebEventgetRemoveTemplateUnitEvent(ViewBean vb, java.lang.String fromAxis, java.lang.String fromPos, boolean applyNow)get an event object for a remove actionstatic java.lang.StringgetRemoveUnitLink(ViewBean vb, java.lang.String fromAxis, java.lang.String fromPos, boolean applyNow, java.lang.String extraURL, boolean addState, EventManager eventManager)Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGrid; or about the generation of remove manipulations available onReportGridDisplayCellstatic WebEventgetRemoveWorkingSetAllMetricsEvent(ViewBean vb, boolean applyNow)static WebEventgetRemoveWorkingSetUnitEvent(ViewBean vb, WebObjectInfo object, boolean applyNow)static java.lang.StringgetReportPropertyValue(ViewBean vb, java.lang.String propertyName)static java.lang.StringgetReportStyleID(ViewBean vb)get report style id from report propertystatic java.lang.StringgetReportStyleLocalizedName(ViewBean vb)get report localized style namestatic java.lang.StringgetReportStyleName(ViewBean vb)get report style name from report propertystatic WebEventgetSinglePivotEvent(ViewBean vb, java.lang.String fromAxis, java.lang.String fromPos, java.lang.String toAxis, java.lang.String toPos, boolean applyNow)Deprecated.Please useEventManagerand event details available on transform related classes such asReportGridDisplayCellfor generating this information.static java.lang.StringgetSinglePivotLink(ViewBean vb, java.lang.String fromAxis, java.lang.String fromPos, java.lang.String toAxis, java.lang.String toPos, boolean applyNow, java.lang.String extraURL, boolean addState, EventManager eventManager)Deprecated.Please useEventManagerand event details available on transform related classes such asReportGridDisplayCellfor generating this information.static intgetSortsubtotalPostion(ViewBean vb)Deprecated.Please use getSortsubtotalPostion(ViewBean vb, int axis)static intgetSortsubtotalPostion(ViewBean vb, int axis)get the subtotal position for sortingstatic intgetSortsubtotalPostion(WebTemplate template, int axis)get the subtotal position for sortingstatic java.lang.StringgetTemplatePropertyDefaultValue(ViewBean vb, java.lang.String propertySetName, java.lang.String propertyName)Get a template property's default valuestatic intgetToPageByPosition(ViewBean vb)get the target position for a pivot to pageby axis actionstatic java.lang.StringgetUnitCellId(java.lang.String gridBoneId, int axis, int depth, int subDepth)static WebObjectInfogetWebObjectInfo(WebTemplateUnit unit)Deprecated.static booleanignoreOldStyle(ViewBean vb)whether the report is old or new formattingstatic booleanisDrillPathsInOldFormat(ViewBean vb)static java.lang.StringmapCssFileNameToStyleName(java.lang.String fileName)map a css file name to a style namestatic java.lang.StringmapStyleNameToCssFileName(java.lang.String styleName)map a style name to a css file namestatic java.lang.StringReadReportSettings(ViewBean vb, java.lang.String PropertySet, java.lang.String PropertyName)get report property valuestatic voidrenderColTags(int dpi, double zoom, MarkupOutput out, ViewBean vb)Deprecated.transforms should extendReportGridTransformImpland use protected method renderColTagsHtmlstatic voidsetFormalParameters(WebComponent wc, boolean designMode, FormalParameters formalParameters)Sets the template formal parametersstatic java.lang.StringsetReportPropertyValue(ViewBean vb, java.lang.String propertyName, java.lang.String propertyValue)static booleanshowAttributeForms(ViewBean vb)Check whether to show the attribute form names on the view bean 
 - 
 
- 
- 
Field Detail
- 
MAX_CACHED_OBJECTS
protected static final int MAX_CACHED_OBJECTS
- See Also:
 - Constant Field Values
 
 
- 
CACHED_URL_TYPICAL_BEAN_STATES
protected static final java.lang.String CACHED_URL_TYPICAL_BEAN_STATES
- See Also:
 - Constant Field Values
 
 
- 
CACHED_DRILL_EVENT
protected static final java.lang.String CACHED_DRILL_EVENT
- See Also:
 - Constant Field Values
 
 
- 
CACHED_IMAGE_FOLDER
protected static final java.lang.String CACHED_IMAGE_FOLDER
- See Also:
 - Constant Field Values
 
 
- 
CACHED_ADVANCED_DRILL_EVENT
protected static final java.lang.String CACHED_ADVANCED_DRILL_EVENT
- See Also:
 - Constant Field Values
 
 
- 
CACHED_DRILL_EDITOR_PROCESS_EVENT
protected static final java.lang.String CACHED_DRILL_EDITOR_PROCESS_EVENT
- See Also:
 - Constant Field Values
 
 
- 
CACHED_ADVANCED_DRILL_EDITOR_PROCESS_EVENT
protected static final java.lang.String CACHED_ADVANCED_DRILL_EDITOR_PROCESS_EVENT
- See Also:
 - Constant Field Values
 
 
- 
CACHED_DRILL_FILTERONSELECTION_PROCESS_EVENT
protected static final java.lang.String CACHED_DRILL_FILTERONSELECTION_PROCESS_EVENT
- See Also:
 - Constant Field Values
 
 
- 
CACHED_SORT_EVENT
protected static final java.lang.String CACHED_SORT_EVENT
- See Also:
 - Constant Field Values
 
 
- 
CACHED_APPLIED_SORT_ARRAY
protected static final java.lang.String CACHED_APPLIED_SORT_ARRAY
- See Also:
 - Constant Field Values
 
 
- 
CACHED_DRILL_EDITOR_NAME
protected static final java.lang.String CACHED_DRILL_EDITOR_NAME
- See Also:
 - Constant Field Values
 
 
- 
CACHED_SORT_SUBTOTAL_POSITION
protected static final java.lang.String CACHED_SORT_SUBTOTAL_POSITION
- See Also:
 - Constant Field Values
 
 
- 
CACHED_IFRAME_REQUEST
protected static final java.lang.String CACHED_IFRAME_REQUEST
- See Also:
 - Constant Field Values
 
 
- 
CACHED_DRILL_FILTER_PAGEBY
protected static final java.lang.String CACHED_DRILL_FILTER_PAGEBY
- See Also:
 - Constant Field Values
 
 
- 
CACHED_IS_NETSCAPE
protected static final java.lang.String CACHED_IS_NETSCAPE
- See Also:
 - Constant Field Values
 
 
- 
CACHED_SPECIFY_WIDTH_FOR_CELL
protected static final java.lang.String CACHED_SPECIFY_WIDTH_FOR_CELL
- See Also:
 - Constant Field Values
 
 
- 
CACHED_SPECIFY_ID_FOR_FOR_TITLE_CELL
protected static final java.lang.String CACHED_SPECIFY_ID_FOR_FOR_TITLE_CELL
- See Also:
 - Constant Field Values
 
 
- 
CACHED_MAX_COL_HEADER_DEPTH
protected static final java.lang.String CACHED_MAX_COL_HEADER_DEPTH
- See Also:
 - Constant Field Values
 
 
- 
CACHED_FORMAL_PARAMETERS
protected static final java.lang.String CACHED_FORMAL_PARAMETERS
- See Also:
 - Constant Field Values
 
 
- 
SORT_DESCENDING
public static final java.lang.String SORT_DESCENDING
- See Also:
 - Constant Field Values
 
 
- 
SORT_ASCENDING
public static final java.lang.String SORT_ASCENDING
- See Also:
 - Constant Field Values
 
 
- 
SORT_CUSTOM
public static final java.lang.String SORT_CUSTOM
- See Also:
 - Constant Field Values
 
 
- 
DRILL_RETAIN_THRESHOLDS_NO
public static final java.lang.String DRILL_RETAIN_THRESHOLDS_NO
- See Also:
 - Constant Field Values
 
 
- 
DRILL_RETAIN_THRESHOLDS_YES
public static final java.lang.String DRILL_RETAIN_THRESHOLDS_YES
- See Also:
 - Constant Field Values
 
 
- 
DRILL_RETAIN_THRESHOLDS_USE_DRILL_PATH
public static final java.lang.String DRILL_RETAIN_THRESHOLDS_USE_DRILL_PATH
- See Also:
 - Constant Field Values
 
 
- 
LOCK_HEADERS_PROPERTY_GROUP
public static final java.lang.String LOCK_HEADERS_PROPERTY_GROUP
- See Also:
 - Constant Field Values
 
 
- 
LOCK_ROW_HEADERS_PROPERTY_NAME
public static final java.lang.String LOCK_ROW_HEADERS_PROPERTY_NAME
- See Also:
 - Constant Field Values
 
 
- 
LOCK_ROW_HEADERS_PROPERTY_ON
public static final java.lang.String LOCK_ROW_HEADERS_PROPERTY_ON
- See Also:
 - Constant Field Values
 
 
- 
LOCK_ROW_HEADERS_PROPERTY_OFF
public static final java.lang.String LOCK_ROW_HEADERS_PROPERTY_OFF
- See Also:
 - Constant Field Values
 
 
- 
LOCK_COLUMN_HEADERS_PROPERTY_NAME
public static final java.lang.String LOCK_COLUMN_HEADERS_PROPERTY_NAME
- See Also:
 - Constant Field Values
 
 
- 
LOCK_COLUMN_HEADERS_PROPERTY_ON
public static final java.lang.String LOCK_COLUMN_HEADERS_PROPERTY_ON
- See Also:
 - Constant Field Values
 
 
- 
LOCK_COLUMN_HEADERS_PROPERTY_OFF
public static final java.lang.String LOCK_COLUMN_HEADERS_PROPERTY_OFF
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getRemoveWorkingSetUnitEvent
public static WebEvent getRemoveWorkingSetUnitEvent(ViewBean vb, WebObjectInfo object, boolean applyNow)
 
- 
getRemoveWorkingSetAllMetricsEvent
public static WebEvent getRemoveWorkingSetAllMetricsEvent(ViewBean vb, boolean applyNow)
 
- 
getRemoveTemplateUnitEvent
public static WebEvent getRemoveTemplateUnitEvent(ViewBean vb, java.lang.String fromAxis, java.lang.String fromPos, boolean applyNow)
get an event object for a remove action- Parameters:
 vb- the ViewBean objectfromAxis- the origin axisfromPos- the origin positionapplyNow- whether to apply change- Returns:
 - the event object
 
 
- 
getRemoveMetricEvent
public static WebEvent getRemoveMetricEvent(ViewBean vb, java.lang.String metricPos, boolean applyNow)
get an event object for a remove metric action- Parameters:
 vb- the ViewBean objectmetricPos- the metric positionapplyNow- whether to apply change- Returns:
 - the event object
 
 
- 
getMoveMetricEvent
public static WebEvent getMoveMetricEvent(ViewBean vb, java.lang.String fromPos, java.lang.String toPos, boolean applyNow)
get an event object for a move metric action- Parameters:
 vb- the ViewBean objectfromPos- the origin positiontoPos- the target positionapplyNow- whether to apply change- Returns:
 - the event object
 
 
- 
mapStyleNameToCssFileName
public static java.lang.String mapStyleNameToCssFileName(java.lang.String styleName)
map a style name to a css file name- Parameters:
 styleName- style name- Returns:
 - css file name
 
 
- 
mapCssFileNameToStyleName
public static java.lang.String mapCssFileNameToStyleName(java.lang.String fileName)
map a css file name to a style name- Parameters:
 fileName- css file name- Returns:
 - style name
 
 
- 
getObjectIDInfo
public static java.lang.String getObjectIDInfo(WebTemplateUnit unit)
Based on the type of unit instance, obtain its ID- Parameters:
 unit-WebTemplateUnitinstance to analyze- Returns:
 - String value with the object ID information.
 
 
- 
getObjectTypeInfo
public static int getObjectTypeInfo(WebTemplateUnit unit)
Get the object type defined for theWebTemplateUnitspecified- Parameters:
 unit-WebTemplateUnitinstance to analyze- Returns:
 - value from the 
EnumDSSXMLObjectTypesenumeration indicating the object type of the instance 
 
- 
getUnitCellId
public static java.lang.String getUnitCellId(java.lang.String gridBoneId, int axis, int depth, int subDepth)- Parameters:
 gridBoneId- identifier of the grid where the unit is locatedaxis- axis location of the unitdepth- depth location of the unit in the axissubDepth- sub-depth location of the unit in the axis- Returns:
 - a String with an ID value for a Template Unit
 
 
- 
getObjectID
public static java.lang.String getObjectID(WebTemplateUnit unit)
- Parameters:
 unit-WebTemplateUnitobject- Returns:
 - object identifier from a template unit. 
 
 
- 
getObjectType
public static int getObjectType(WebTemplateUnit unit)
- Parameters:
 unit-WebTemplateUnitobject- Returns:
 - object type from a template unit. 
 
 
- 
getObjectSubType
public static int getObjectSubType(WebTemplateUnit unit)
- Parameters:
 unit-WebTemplateUnitobject- Returns:
 - object type from a template unit. 
 - Since:
 - MicroStrategy Web 8.1.0
 
 
- 
getObjectDescription
public static java.lang.String getObjectDescription(WebTemplateUnit unit)
- Parameters:
 unit-WebTemplateUnitobject- Returns:
 - object description from a template unit. 
 
 
- 
generateRowTitleSortID
public static java.lang.String generateRowTitleSortID(WebTitle title, WebSubTitle subTitle)
generate the sort id for row title- Parameters:
 title-WebTitleobjectsubTitle-WebSubTitleobject- Returns:
 - the sort id
 
 
- 
generateTitleSortID
public static java.lang.String generateTitleSortID(WebTitle title, WebAttributeForm attForm, int axis)
- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
generateRowTitleSortID
public static java.lang.String generateRowTitleSortID(WebTitle title, WebAttributeForm attForm)
- Parameters:
 title-WebTitleobjectattForm-WebAttributeForm- Returns:
 - the sort id for row title
 
 
- 
generateColTitleSortID
public static java.lang.String generateColTitleSortID(WebTitle title, WebAttributeForm attForm)
- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
generateRowTitleSortID
public static java.lang.String generateRowTitleSortID(WebSubTitle parentSubTitle, WebSubTitle childSubTitle)
generate the sort id for row title.- Parameters:
 parentSubTitle-WebSubTitleobjectchildSubTitle-WebSubTitleobject- Returns:
 - the sort id
 
 
- 
generateColTitleSortID
public static java.lang.String generateColTitleSortID(WebSubTitle parentSubTitle, WebSubTitle childSubTitle)
generate the sort id for col title.- Parameters:
 parentSubTitle-WebSubTitleobjectchildSubTitle-WebSubTitleobject- Returns:
 - the sort id
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
generateHeaderSortID
public static java.lang.String generateHeaderSortID(ViewBean vb, WebHeader header, int axis, int sortAxis)
generat the sort id for column header- Parameters:
 vb- the ViewBean objectheader- the WebHeader object- Returns:
 - the sort id
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
generateColHeaderSortID
public static java.lang.String generateColHeaderSortID(ViewBean vb, WebHeader header)
generat the sort id for column header- Parameters:
 vb- the ViewBean objectheader- the WebHeader object- Returns:
 - the sort id
 
 
- 
generateRowHeaderSortID
public static java.lang.String generateRowHeaderSortID(ViewBean vb, WebHeader header)
generat the sort id for column header- Parameters:
 vb- the ViewBean objectheader- the WebHeader object- Returns:
 - the sort id
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
generateHeaderSortDisplayString
public static java.lang.String generateHeaderSortDisplayString(ViewBean vb, WebHeader header, int axis)
generate the sort display for column header.- Parameters:
 vb- the ViewBean objectheader- the WebHeader object- Returns:
 - the sort display
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
generateColHeaderSortDisplayString
public static java.lang.String generateColHeaderSortDisplayString(ViewBean vb, WebHeader header)
generate the sort display for column header.- Parameters:
 vb- the ViewBean objectheader- the WebHeader object- Returns:
 - the sort display
 
 
- 
getPageByHeadersByIndex
public static WebHeaders getPageByHeadersByIndex(ViewBean vb, WebGridHeaders pageHeaders, int titleIndex)
get the index for a pageby header- Parameters:
 vb- the ViewBean objectpageHeaders- the pageby headerstitleIndex- the index of the pageby item in the pageby axis- Returns:
 - the pageby header at that index
 
 
- 
setFormalParameters
public static void setFormalParameters(WebComponent wc, boolean designMode, FormalParameters formalParameters)
Sets the template formal parameters- Parameters:
 wc-WebComponentbase instancedesignMode- boolean indicating if the environment is design mode or notformalParameters-FormalParametersinstance with the values to set
 
- 
getToPageByPosition
public static int getToPageByPosition(ViewBean vb)
get the target position for a pivot to pageby axis action- Parameters:
 vb- theViewBeanobject- Returns:
 - the target position
 
 
- 
ReadReportSettings
public static java.lang.String ReadReportSettings(ViewBean vb, java.lang.String PropertySet, java.lang.String PropertyName)
get report property value- Parameters:
 vb- the ViewBean objectPropertySet- the property set namePropertyName- the property name- Returns:
 - the property value
 
 
- 
checkReportSettingsDefault
public static boolean checkReportSettingsDefault(ViewBean vb, java.lang.String PropertySet, java.lang.String PropertyName)
check if this report property is set to default- Parameters:
 vb- the ViewBean objectPropertySet- the property set namePropertyName- the property name- Returns:
 - the property value
 
 
- 
getTemplatePropertyDefaultValue
public static java.lang.String getTemplatePropertyDefaultValue(ViewBean vb, java.lang.String propertySetName, java.lang.String propertyName)
Get a template property's default value- Parameters:
 vb- the ViewBean objectPropertySet- the property set namePropertyName- the property name- Returns:
 - default property value
 
 
- 
getProjectProperty
public static java.lang.String getProjectProperty(WebSessionInfo sessionInfo, java.lang.String propertySetName, java.lang.String propertyName)
Get a project level property value- Parameters:
 sessionInfo- the WebSessionInfo object- Returns:
 - the project property
 
 
- 
getCartesianJoinDisabledTooltip
public static java.lang.String getCartesianJoinDisabledTooltip(WebBean wb)
Get disabled reason for cartesian join drop down- Returns:
 - the disabled reason
 
 
- 
showAttributeForms
public static boolean showAttributeForms(ViewBean vb)
Check whether to show the attribute form names on the view bean- Parameters:
 vb-ViewBeanbase instance- Returns:
 - whether to show the attribute form names
 
 
- 
getSortsubtotalPostion
@Deprecated public static int getSortsubtotalPostion(ViewBean vb)
Deprecated.Please use getSortsubtotalPostion(ViewBean vb, int axis)get the subtotal position for sorting- Parameters:
 vb- the ViewBean object- Returns:
 - the subtotal position for sorting
 
 
- 
getSortsubtotalPostion
public static int getSortsubtotalPostion(ViewBean vb, int axis)
get the subtotal position for sorting- Parameters:
 vb- the ViewBean objectaxis- the axisEnumDSSXMLAxisNamewhere the sorting is defined- Returns:
 - the subtotal position for sorting
 - Since:
 - MicroStrategy Web 8.0.2
 
 
- 
getSortsubtotalPostion
public static int getSortsubtotalPostion(WebTemplate template, int axis)
get the subtotal position for sorting- Parameters:
 template-axis- the axisEnumDSSXMLAxisNamewhere the sorting is defined- Returns:
 - the subtotal position for sorting
 - Since:
 - MicroStrategy Web 8.1.0
 
 
- 
determineDrillRetainParent
@Deprecated public static java.lang.String determineDrillRetainParent(ViewBean vb, java.lang.String preferenceValue)
Deprecated.This method is no longer used. The backend determines the value of this setting if it is set to use report definition.get the drill retain parent- Parameters:
 vb- theViewBeanobjectpreferenceValue- value of the preference related with this feature as defined by the user- Returns:
 - the drill retain parent
 
 
- 
determineDrillRetainThreshold
@Deprecated public static java.lang.String determineDrillRetainThreshold(ViewBean vb, java.lang.String preferenceValue)
Deprecated.This method is no longer used. The backend determines the value of this setting if it is set to use report definition.get the drill retain thresholds- Parameters:
 vb- the ViewBean objectpreferenceValue- the preference value- Returns:
 - the drill retain thresholds
 
 
- 
getReportPropertyValue
public static java.lang.String getReportPropertyValue(ViewBean vb, java.lang.String propertyName)
 
- 
setReportPropertyValue
public static java.lang.String setReportPropertyValue(ViewBean vb, java.lang.String propertyName, java.lang.String propertyValue)
 
- 
getReportStyleID
public static java.lang.String getReportStyleID(ViewBean vb)
get report style id from report property- Parameters:
 vb- theViewBeanobject- Returns:
 - report style id
 
 
- 
getReportStyleName
public static java.lang.String getReportStyleName(ViewBean vb)
get report style name from report property- Parameters:
 vb- theViewBeanobject- Returns:
 - report style name from report property
 
 
- 
getReportStyleLocalizedName
public static java.lang.String getReportStyleLocalizedName(ViewBean vb)
get report localized style name- Parameters:
 vb- theViewBeanobject- Returns:
 - localized style name
 
 
- 
ignoreOldStyle
public static boolean ignoreOldStyle(ViewBean vb)
whether the report is old or new formatting- Parameters:
 vb- the ViewBean object- Returns:
 - whether the report is old or new formatting
 
 
- 
getGridBoneFormalParameters
public static void getGridBoneFormalParameters(Transform t, JsonGenerator json)
Sets formal paramters used by grid bones for client-side template manipulations as properties of aJsonGenerator.- Parameters:
 t-Transforminstancejson-JsonGeneratorthat will accept the new properties
 
- 
getGridFeatures
@Deprecated public static JsonGenerator getGridFeatures(WebFeatures featuresManager, boolean isDesignMode, boolean hasMetrics)
Deprecated.Creates a json generator for the client-side template features property.- Parameters:
 featuresManager-WebFeaturesthe report features manager used to check if a feature is availableisDesignMode- boolean that indicates if the interface is in design mode or nothasMetrics- boolen that indicates if the template has metrics- Returns:
 - a 
JsonGeneratorwith the template features. 
 
- 
getGridFeatures
public static JsonGenerator getGridFeatures(WebFeatures featuresManager, boolean isDesignMode)
Creates a json generator for the client-side template features property.- Parameters:
 featuresManager-WebFeaturesthe report features manager used to check if a feature is availableisDesignMode- boolean that indicates if the interface is in design mode or not- Returns:
 - a 
JsonGeneratorwith the template features. 
 
- 
getGridFeatures
@Deprecated public static JsonGenerator getGridFeatures(WebComponent bean, boolean isDesignMode, boolean hasMetrics)
Deprecated.Creates a json generator for the client-side template features property.- Parameters:
 bean-WebComponentthe report features manager used to check if a feature is availableisDesignMode- boolean that indicates if the interface is in design mode or nothasMetrics- boolen that indicates if the template has metrics- Returns:
 - a 
JsonGeneratorwith the template features. 
 
- 
getGridFeatures
public static JsonGenerator getGridFeatures(WebComponent bean, boolean isDesignMode)
Creates a json generator for the client-side template features property.- Parameters:
 bean-WebComponentthe report features manager used to check if a feature is availableisDesignMode- boolean that indicates if the interface is in design mode or not- Returns:
 - a 
JsonGeneratorwith the template features. 
 
- 
getFeaturesList
public static final java.lang.String[] getFeaturesList()
- Returns:
 - a copy of the features String array that is sent to the report
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderColTags
@Deprecated public static void renderColTags(int dpi, double zoom, MarkupOutput out, ViewBean vb)Deprecated.transforms should extendReportGridTransformImpland use protected method renderColTagsHtmlRenders the col tags for a grid column widths.- Parameters:
 dpi- int containing the dpi of the clientzoom- value for zoom property to useout-MarkupOutputinstance where the HTML contents to render are to be savedvb-ViewBeanbase instance
 
- 
getAddAttFormLink
public static java.lang.String getAddAttFormLink(ViewBean vb, java.lang.String attID, java.lang.String attFormID, boolean isBase, int toPos, java.lang.String extraURL, boolean addState, EventManager eventManager, java.lang.String datasetID)
 
- 
getAddAttFormEvent
public static WebEvent getAddAttFormEvent(ViewBean vb, java.lang.String attID, java.lang.String attFormID, boolean isBase, java.lang.String toPos, java.lang.String datasetID)
 
- 
getRemoveAttFormLink
public static java.lang.String getRemoveAttFormLink(ViewBean vb, java.lang.String attID, java.lang.String attFormID, boolean isBase, java.lang.String extraURL, boolean addState, EventManager eventManager, java.lang.String datasetID)
 
- 
getRemoveAttFormEvent
public static WebEvent getRemoveAttFormEvent(ViewBean vb, java.lang.String attID, java.lang.String attFormID, boolean isBase, java.lang.String datasetID)
 
- 
getOpenAttFormEditorLink
public static java.lang.String getOpenAttFormEditorLink(ViewBean vb, java.lang.String attID, java.lang.String extraURL, boolean addState, EventManager eventManager)
 
- 
getOpenAttFormEditorEvent
public static WebEvent getOpenAttFormEditorEvent(ViewBean vb, java.lang.String attID)
 
- 
generateAttributeFormListForContextMenus
public static java.lang.String generateAttributeFormListForContextMenus(WebWorkingSet ws, WebAttribute att, boolean isRWDoc)
Generates aStringwith the list of attribute forms.
This is used for the object browser context menus during client-side manipulations- Parameters:
 ws- WebWorkingSet the working setatt- WebTemplateUnit the web attribute objectisRWDoc- boolean indicates its an rwd.- Returns:
 - a String
 
 
- 
generateAttributeFormListForContextMenus
public static java.lang.String generateAttributeFormListForContextMenus(WebWorkingSet ws, WebTemplateAttribute wta, boolean isRWDoc)
Generates aStringwith the list of attribute forms.
This is used for the context menus on client-side manipulations- Parameters:
 ws- WebWorkingSet the working setwta- WebTemplateAttribute the viewbean template attributeisRWDoc- boolean indicates its an rwd.- Returns:
 - a String
 
 
- 
isDrillPathsInOldFormat
public static boolean isDrillPathsInOldFormat(ViewBean vb)
- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getOutlineModeMaxLevels
public static int getOutlineModeMaxLevels(ViewBean vb)
- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
getDefaultOutlineModeExpansionLevel
public static int getDefaultOutlineModeExpansionLevel(ViewBean vb)
 
- 
getRemoveUnitLink
@Deprecated public static java.lang.String getRemoveUnitLink(ViewBean vb, java.lang.String fromAxis, java.lang.String fromPos, boolean applyNow, java.lang.String extraURL, boolean addState, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGrid; or about the generation of remove manipulations available onReportGridDisplayCellget a link for a remove action- Parameters:
 vb- the ViewBean objectfromAxis- the origin axisfromPos- the origin positionapplyNow- whether to apply changeextraURL- extra url information to appendaddState- whether add the beans's stateeventManager- EventManager object- Returns:
 - the link as String
 
 
- 
getRemoveMetricLink
@Deprecated public static java.lang.String getRemoveMetricLink(ViewBean vb, java.lang.String metricPos, boolean applyNow, java.lang.String extraURL, boolean addState, EventManager eventManager)
Deprecated.please consult the transform class for remove manipulationsget a link for a remove metric action- Parameters:
 vb- the ViewBean objectmetricPos- the metric positionapplyNow- whether to apply changeextraURL- extra url information to appendaddState- whether add the beans's stateeventManager- EventManager object- Returns:
 - the link as String
 
 
- 
getMoveMetricLink
@Deprecated public static java.lang.String getMoveMetricLink(ViewBean vb, java.lang.String fromPos, java.lang.String toPos, boolean applyNow, java.lang.String extraURL, boolean addState, EventManager eventManager)
Deprecated.please use the transform and cell information for pivot manipulationsget a link for a move metric action- Parameters:
 vb- the ViewBean objectfromPos- the origin positiontoPos- the target positionapplyNow- whether to apply changeextraURL- extra url information to appendaddState- whether add the beans's stateeventManager- EventManager object- Returns:
 - the link as String
 
 
- 
generateMoveContextMenu
@Deprecated public static boolean generateMoveContextMenu(ViewBean vb, int pos, boolean isFirst, boolean isLast, boolean applyNow, java.lang.String extraUrl, boolean isIFrame, ContextMenu rhMenu, ContextMenuManager cmm, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellMovegenerate a move RMC for a single metric- Parameters:
 vb- the ViewBean objectpos- metric positionisFirst- if it's the first metricisLast- if it's the last metricapplyNow- whether to apply changeextraUrl- extra url info to the linkisIFrame- whether it is iframerhMenu- ContextMenu objectcmm- ContextMenuManager objecteventManager- EventManager object- Returns:
 - whether the move item is added to the context menu
 
 
- 
generateMoveContextMenu
@Deprecated public static boolean generateMoveContextMenu(ViewBean vb, int pos, boolean isFirst, boolean isLast, ContextMenu rhMenu, ContextMenuManager cmm)
Deprecated.please use the new approach for generating context menu options, seeReportCellMovegenerate a client-side move RMC for a single metric- Parameters:
 vb- theViewBeanobjectpos- metric positionisFirst- if it's the first metricisLast- if it's the last metricrhMenu- ContextMenu objectcmm- ContextMenuManager object- Returns:
 - whether the move item is added to the context menu
 
 
- 
generateMoveContextMenu
@Deprecated public static void generateMoveContextMenu(ViewBean vb, int axis, int pos, boolean isFirst, boolean isLast, boolean applyNow, java.lang.String extraUrl, boolean isIFrame, ContextMenu rhMenu, ContextMenuManager cmm, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellMovegenerate a move RMC for a template unit- Parameters:
 vb- the ViewBean objectaxis- template unit axispos- template unit positionisFirst- if it's the first unit in the axisisLast- if it's the last unit in the axisapplyNow- whether to apply changeextraUrl- extra url info to the linkisIFrame- whether it is iframe enabledrhMenu- ContextMenu objectcmm- ContextMenuManager objecteventManager- EventManager object
 
- 
generateMoveContextMenu
@Deprecated public static void generateMoveContextMenu(ViewBean vb, int axis, int pos, boolean isFirst, boolean isLast, ContextMenu rhMenu, ContextMenuManager cmm)
Deprecated.please use the new approach for generating context menu options, seeReportCellMovegenerate a client-side move RMC for a template unit- Parameters:
 vb- the ViewBean objectaxis- template unit axispos- template unit positionisFirst- if it's the first unit in the axisisLast- if it's the last unit in the axisrhMenu- ContextMenu objectcmm- ContextMenuManager object
 
- 
generateRemoveWorkingSetUnitContextMenu
@Deprecated public static void generateRemoveWorkingSetUnitContextMenu(ViewBean vb, WebObjectInfo object, boolean applyNow, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridgenerate Remove context menu for working set specified by axis and position.- Parameters:
 vb- the ViewBean objectobject- the object to remove from the working set of the reportapplyNow- whether to apply changeextraUrl- extra url info on the urlisIframe- whether it is iframe enabledrhMenu- ContextMenu objecteventManager- EventManager object
 
- 
generateRemoveWorkingSetAllMetricsContextMenu
@Deprecated public static void generateRemoveWorkingSetAllMetricsContextMenu(ViewBean vb, boolean applyNow, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGrid 
- 
generateRemoveContextMenu
@Deprecated public static void generateRemoveContextMenu(ViewBean vb, int pos, boolean applyNow, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridgenerate Remove context menu for single metric- Parameters:
 vb- the ViewBean objectpos- metric positionapplyNow- whether to apply changeextraUrl- extra url info to the linkisIframe- whether it is iframe enabledrhMenu- ContextMenu objecteventManager- EventManager object
 
- 
generateClientSideRemoveContextMenu
@Deprecated public static void generateClientSideRemoveContextMenu(ViewBean vb, int pos, ContextMenu rhMenu, boolean enableExtraRemove)
Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridgenerate client-side Remove context menu for single metric- Parameters:
 vb- the ReportBean objectpos- metric positionrhMenu- ContextMenu objectenableExtraRemove- boolean value indicating if Remove From Report option should be displayed if available
 
- 
generateRemoveTemplateUnitContextMenu
@Deprecated public static void generateRemoveTemplateUnitContextMenu(ViewBean vb, int axis, int pos, boolean applyNow, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridgenerate Remove context menu for template unit- Parameters:
 vb- the ViewBean objectaxis- template unit axispos- template unit positionapplyNow- whether to apply changeextraUrl- extra url info to the linkisIframe- whether it is iframe enabledrhMenu- ContextMenu objecteventManager- EventManager object
 
- 
generateRemoveClientSideContextMenu
@Deprecated public static void generateRemoveClientSideContextMenu(ViewBean vb, int axis, int pos, ContextMenu rhMenu, boolean enableExtraRemove)
Deprecated.please use the new approach for generating context menu options, seeReportCellRemoveFromReportandReportCellRemoveFromGridgenerate client-side Remove context menu for template unit- Parameters:
 vb- the ViewBean objectaxis- template unit axispos- template unit positionrhMenu- ContextMenu objectenableExtraRemove- boolean value indicating if Remove From Report option should be displayed if available
 
- 
getWebObjectInfo
@Deprecated public static WebObjectInfo getWebObjectInfo(WebTemplateUnit unit)
Deprecated.- Parameters:
 unit-WebTemplateUnitobject- Returns:
 WebObjectInfocorresponding to theWebTemplateUnitinstance
 
- 
generateFilterOnContextMenu
@Deprecated public static void generateFilterOnContextMenu(ViewBean vb, WebObjectInfo objInfo, java.lang.String unitAlias, ContextMenu cm, EventManager eventManager, boolean isIFrame)
Deprecated.please use the new approach for generating context menu options, seeReportCellFilterOnAdds new context menu to either col or row header title for allow end-users to filter on given attribute or metric- Parameters:
 vb- ViewBeanobjInfo- WebObjectInfounitAlias- Stringcm- ContextMenueventManager- EventManagerisIFrame- boolean
 
- 
generateShortcutMetricsContextMenu
@Deprecated public static void generateShortcutMetricsContextMenu(ViewBean vb, java.lang.String metricID, ContextMenu rhMenu, ContextMenuManager cmm, EventManager eventManager, boolean isIFrame)
Deprecated.please use the new approach for generating context menu options, seeReportCellInsertMetric 
- 
getSinglePivotLink
@Deprecated public static java.lang.String getSinglePivotLink(ViewBean vb, java.lang.String fromAxis, java.lang.String fromPos, java.lang.String toAxis, java.lang.String toPos, boolean applyNow, java.lang.String extraURL, boolean addState, EventManager eventManager)
Deprecated.Please useEventManagerand event details available on transform related classes such asReportGridDisplayCellfor generating this information.get a link for a pivot action- Parameters:
 vb- the ViewBean objectfromAxis- the origin axisfromPos- the origin positiontoAxis- the target axistoPos- the target positionapplyNow- whether to apply changeextraURL- extra url information to appendaddState- whether add the beans's stateeventManager- EventManager object- Returns:
 - the link as String
 
 
- 
getSinglePivotEvent
@Deprecated public static WebEvent getSinglePivotEvent(ViewBean vb, java.lang.String fromAxis, java.lang.String fromPos, java.lang.String toAxis, java.lang.String toPos, boolean applyNow)
Deprecated.Please useEventManagerand event details available on transform related classes such asReportGridDisplayCellfor generating this information.get event object for a pivot action- Parameters:
 vb- the ViewBean objectfromAxis- the origin axisfromPos- the origin positiontoAxis- the target axistoPos- the target positionapplyNow- whether to apply change- Returns:
 - the 
WebEventobject 
 
- 
generateFormattingContextMenu
@Deprecated public static void generateFormattingContextMenu(ViewBean vb, int pos, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellFormatgenerate Formatting context menu for single metric. It uses the value sent as position (pos) minus one.- Parameters:
 vb- the ViewBean objectpos- metric positionextraUrl- extra url info to the linkisIframe- whether it is iframe enabledrhMenu- ContextMenu objecteventManager- EventManager object
 
- 
generateFormattingContextMenu
@Deprecated public static void generateFormattingContextMenu(ViewBean vb, int axis, int pos, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellFormatgenerate Formatting context menu for template unit.- Parameters:
 vb- the ViewBean objectaxis- template unit axispos- template unit positionextraUrl- extra url info to the linkisIframe- whether it is iframe enabledrhMenu- ContextMenu objecteventManager- EventManager object
 
- 
generateFormattingContextMenuForRWB
@Deprecated public static void generateFormattingContextMenuForRWB(ViewBean vb, int pos, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager, java.lang.String viewerID)
Deprecated.please use the new approach for generating context menu options, seeReportCellFormatgenerate Formatting context menu for single metric in case of a view bean in a RW document. It uses the value sent as position (pos) minus one.- Parameters:
 vb- the ViewBean objectpos- metric positionextraUrl- extra url info to the linkisIframe- whether it is iframe enabledrhMenu- ContextMenu objecteventManager- EventManager objectviewerID- The bone ID of the RW sviewer
 
- 
generateFormattingContextMenuForRWB
@Deprecated public static void generateFormattingContextMenuForRWB(ViewBean vb, int axis, int pos, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager, java.lang.String viewerID)
Deprecated.please use the new approach for generating context menu options, seeReportCellFormatgenerate Formatting context menu for template unit in case of a view bean in a RW document.- Parameters:
 vb- the ViewBean objectaxis- template unit axispos- template unit positionextraUrl- extra url info to the linkisIframe- whether it is iframe enabledrhMenu- ContextMenu objecteventManager- EventManager objectviewerID- The bone ID of the RW sviewer
 
- 
generateFormattingContextMenuForRWB
@Deprecated public static void generateFormattingContextMenuForRWB(ViewBean vb, ContextMenu rhMenu, java.lang.String viewerID)
Deprecated.please use the new approach for generating context menu options, seeReportCellFormatgenerate client-side Formatting context menu for template unit in case of a view bean in a RW document.- Parameters:
 vb- the ViewBean objectrhMenu- ContextMenu objectviewerID- The bone ID of the RW sviewer
 
- 
generateRenameContextMenuForRWB
@Deprecated public static void generateRenameContextMenuForRWB(ViewBean vb, int key, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellRename 
- 
generateRenameContextMenu
@Deprecated public static void generateRenameContextMenu(ViewBean vb, int key, java.lang.String extraUrl, boolean isIframe, ContextMenu rhMenu, EventManager eventManager)
Deprecated.please use the new approach for generating context menu options, seeReportCellRename 
- 
generateAttributeFormContextMenu
@Deprecated public static void generateAttributeFormContextMenu(ViewBean vb, WebTemplateUnit tu, boolean isIFrame, ContextMenu rhMenu, ContextMenuManager cmm, java.lang.String datasetID)
Deprecated.please use the new approach for generating context menu options, seeReportCellAttributeFormsGenerates the Attribute forms context menu.- Parameters:
 vb- ViewBean the view bean to displaytu- WebTemplateUnit the template unit objectisIFrame- booleanrhMenu- ContextMenucmm- ContextMenuManagerdatasetID- String dataset ID. This assumes is a dataset inside a RW document.
 
- 
getBlockProps
public static Block getBlockProps(WebTemplate template, java.lang.String[] properties, int axis, int position, int level, AppContext context) throws java.lang.Exception
- Throws:
 java.lang.Exception
 
- 
generateFormattingInfoBlock
public static Block generateFormattingInfoBlock(WebTemplate template, AppContext context) throws java.lang.Exception
- Throws:
 java.lang.Exception- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
generateFormattingInfoBlock
public static void generateFormattingInfoBlock(WebTemplate template, AppContext context, Block all) throws java.lang.Exception
- Throws:
 java.lang.Exception- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
generateGraphPropertiesInfoBlock
public static Block generateGraphPropertiesInfoBlock(WebGraph graph, AppContext context) throws WebObjectsException
- Throws:
 WebObjectsException
 
- 
generateGraphProperties
public static void generateGraphProperties(WebGraph graphObject, AppContext appContext, Block rootBlock)
 
 - 
 
 -