This function is just for transforming concrete short old id to terse long id only for attribute, and the returned terse long id is like
'h1;8D679D4B11D3E4981000E787EC6DE8A4'
This function is just for transforming concrete short old id to terse long id, and the returned terse long id is like
'h1;8D679D4B11D3E4981000E787EC6DE8A4'
"BB:8D679D4B11D3E4981000E787EC6DE8A4:1:2:0:2:1:3:1:Northeast"
is an example of the old long element ID. Code should not
be written to rely on disseminating the contents of this
element ID. This presentation will be replaced by
PRESENTATION_TERSE_LONG.
This will become the standard presentation of the element ID.
"h1;8D679D4B11D3E4981000E787EC6DE8A4;Northeast" is an example.
It consists of ";;display name".
The long form contains at least the terse default and source
DSS ID, with the display name optional. If display name is
optional, there should not be a trailing semi-colon.
public static final int PRESENTATION_TERSE_DEFAULT
This is not explicitly supported. While we read
terse default element IDs such as "h1" from the
Intelligence Server, in order to submit an attribute
element ID, we also require at least the source attribute
DSS ID as well, such as
"h1;8D679D4B11D3E4981000E787EC6DE8A4".
public static java.lang.String getElementIDForSortID(WebElement e)
getConstructedElementID
public static java.lang.String getConstructedElementID(com.microstrategy.web.objects.WebElementImpl elm)
getConstructedElementID
public static java.lang.String getConstructedElementID(WebElement elm)
Construct elementID with display name if it's WebElementImpl instance. Otherwise return element ID
Parameters:
elm -
Returns:
isNullElemID
public static boolean isNullElemID(java.lang.String elementID)
Check if it is a null element by the given element id.
It can handle both long id format and terse id format.
Parameters:
elementID -
Returns:
boolean
decodeHTML
public static java.lang.String decodeHTML(java.lang.String oldStr)
splitElemIDWithSemicolon
public static java.lang.String[] splitElemIDWithSemicolon(java.lang.String elementId)
getNodeKey
public static java.lang.String getNodeKey(java.lang.String panelElementID)
Extracts the node key of a panel element ID in a
report services document.
fromOldShortToTerseLongId
public static java.lang.String fromOldShortToTerseLongId(java.lang.String shortId,
WebElement webElement)
This function is just for transforming concrete short old id to terse long id, and the returned terse long id is like
'h1;8D679D4B11D3E4981000E787EC6DE8A4'
Parameters:
shortId - it is like '8D679D4B11D3E4981000E787EC6DE8A4:1'
fromOldShortToTerseLongId
public static java.lang.String fromOldShortToTerseLongId(java.lang.String shortId,
int unitType)
This function is just for transforming concrete short old id to terse long id only for attribute, and the returned terse long id is like
'h1;8D679D4B11D3E4981000E787EC6DE8A4'
Parameters:
shortId - it is like '8D679D4B11D3E4981000E787EC6DE8A4:1'