Package com.microstrategy.web.app
Class ShortcutListSet
- java.lang.Object
 - 
- com.microstrategy.utils.config.AbstractConfigurationElement
 - 
- com.microstrategy.utils.config.AbstractConfigurationElementList
 - 
- com.microstrategy.web.app.ShortcutListSet
 
 
 
 
- 
- All Implemented Interfaces:
 ConfigurationElement,ConfigurationElementList,ConfigurationFile,java.lang.Cloneable
public class ShortcutListSet extends AbstractConfigurationElementList
The ShortcutListSet class groups a list ofobjects, which each define a group of shortcut objects. These shortcut objects can be used to define menu items, system picker items, links and context menu items. - Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShortcutListSet.EventActionMapping- 
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATT_BASE_BEANxml attribute name for the base bean property of the shortcut list setstatic java.lang.StringATT_FEATURE_IDxml attribute name for the feature associated with this shortcut list setstatic java.lang.StringATT_JS_FILExml attribute name for the js file associated with the list setstatic java.lang.StringATT_NAMExml attribute name for the nmae of the shortcut list setstatic java.lang.StringATT_SCRIPT_CLASSxml attribute name for the script class associated with the list setstatic intEVENT_UNDEFINEDstatic java.lang.StringNODE_SHORTCUT_LISTSconstant for the shorcut list set node name- 
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElementList
ATT_VERSION 
- 
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
ATT_CONFIG_SRC, ATT_DELETED, ATT_POSITION, ATT_PROTOTYPE, ATT_USE_DEFAULT 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ShortcutListSet()Class constructor.ShortcutListSet(org.w3c.dom.Document doc)Class constructor.ShortcutListSet(org.w3c.dom.Document doc, ShortcutListSet defaultListSet)Class constructor.ShortcutListSet(org.w3c.dom.Node root)Class constructor.ShortcutListSet(org.w3c.dom.Node root, ShortcutListSet defaultListSet)Class constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WebAttributeListgetAttributeList()Returns theWebAttributeListassociated with this ShortcutListSet.java.lang.StringgetBaseBean()Returns the name of the base-bean associated with this ShortcutListSetShortcutListSetgetDefaultListSet()Deprecated.Not used anymore.HashListgetEventMapping()java.lang.StringgetFeatureId()Get the feature Id associated with this shortcut list set.java.lang.StringgetJavascriptFile()Returns the javascript file name associated with this ShortcutListSetprotected java.lang.StringgetKeyAttribute()This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKeyandsetKeymethods.java.lang.StringgetName()Returns the name of the ShortcutList instance, which is used as a unique identifier.java.lang.StringgetScriptClass()Returns the script-class of the JavaScript bone associated with this ShortcutListSetShortcutListgetShortcutList(java.lang.String name)Returns theShortcutListassociated with the given name.voidsetBaseBean(java.lang.String value)Indicates the bean from the pages bean hierarchy associated with the shortcut lists in the set.voidsetFeatureId(java.lang.String featureId)Sets the feature Id associated with this shortcut list set.voidsetJavascriptFile(java.lang.String value)If the shortcut list set is associated with a JavaScript bone, this property defines the JavaScript file that contains the JavaScript class corresponding to the JavaScript bone.voidsetName(java.lang.String name)Sets the name, a unique identifier for the ShortcutList instancevoidsetScriptClass(java.lang.String value)Associates this ShortcutListSet with a JavaScript bone, the script-class defines the name of the corresponding JavaScript class- 
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElementList
clear, clone, get, get, getFilteredList, getKey, getList, getValues, getVersion, init, isEmpty, put, put, registerElementInList, remove, setVersion, size, sort 
- 
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, delete, deltas, deltas, equalAtts, equalElements, equalNodeValues, equals, equalsIncludingDeletedElements, exportAttributesToXML, exportElementsToXML, exportNodeValueToXML, getAttribute, getAttributes, getBoolAttribute, getChildKey, getConfigSrc, getDTDFileName, getElement, getElement, getElements, getFileLoader, getIntAttribute, getIntAttribute, getKey, getLineNumber, getList, getNextKey, getNodeName, getNodeValue, getNodeValue, getOrCreateElement, getParent, getPosition, getPrototype, getRegisteredClass, getSelfInitPath, getSource, getStrAttribute, getUseDefault, getXMLParserParameters, getXMLSerializerParameters, hashCode, hashCodeAtts, hashCodeElements, hashCodeNodeValues, hasRegisteredClass, initAttributesFromXML, initDefaultAttributes, initElementFromXML, initElementsFromXML, initFromFile, initFromResource, initFromXML, initFromXML, initNodeValueFromXML, initPrototype, isActive, isCustomized, isDeleted, isDirty, isInSource, isKeyAttribute, load, mergeChanges, newChildInstance, newSource, original, populate, printAttributes, printElements, printNodeValue, refreshLists, registerClass, registerElement, registerElement, registerElementList, reload, reloadPrototype, removeAttribute, removeDefaults, replaceList, restore, save, save, saveChangesAs, saveConfig, saveFlatXML, saveNode, saveSource, setAttribute, setBoolAttribute, setChildOriginals, setConfigSrc, setCustomized, setElement, setFileLoader, setIntAttribute, setKey, setLineNumber, setNodeName, setNodeValue, setPosition, setPrototype, setSelfInitPath, setStrAttribute, setUseDefault, setUseValidation, throwConfigParseException, toString, toXML, toXML, toXML, toXML, useNodeValue, useValidation 
- 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface com.microstrategy.utils.config.ConfigurationElement
getAttribute, getAttributes, getElement, getElements, getKey, getNodeName, getStrAttribute, initFromXML, reload, toXML 
 - 
 
 - 
 
- 
- 
Field Detail
- 
NODE_SHORTCUT_LISTS
public static final java.lang.String NODE_SHORTCUT_LISTS
constant for the shorcut list set node name- See Also:
 - Constant Field Values
 
 
- 
ATT_NAME
public static final java.lang.String ATT_NAME
xml attribute name for the nmae of the shortcut list set- See Also:
 - Constant Field Values
 
 
- 
ATT_BASE_BEAN
public static final java.lang.String ATT_BASE_BEAN
xml attribute name for the base bean property of the shortcut list set- See Also:
 - Constant Field Values
 
 
- 
ATT_JS_FILE
public static final java.lang.String ATT_JS_FILE
xml attribute name for the js file associated with the list set- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
ATT_SCRIPT_CLASS
public static final java.lang.String ATT_SCRIPT_CLASS
xml attribute name for the script class associated with the list set- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
ATT_FEATURE_ID
public static final java.lang.String ATT_FEATURE_ID
xml attribute name for the feature associated with this shortcut list set- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
EVENT_UNDEFINED
public static final int EVENT_UNDEFINED
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
ShortcutListSet
public ShortcutListSet()
Class constructor. Initializes a new -empty- instance of the ShortcutListSet class. 
- 
ShortcutListSet
public ShortcutListSet(org.w3c.dom.Node root)
Class constructor. Initializes a ShortcutListSet instance and populates it based on the information included in the XML Node- Parameters:
 root- Node instance representing the shortcut list information.
 
- 
ShortcutListSet
public ShortcutListSet(org.w3c.dom.Node root, ShortcutListSet defaultListSet)Class constructor. Initializes a ShortcutList instance based on the information included in the XML Node and the default shorctcut list set provided.- Parameters:
 root- Node instance representing the shortcut list information.defaultListSet- the default ShortcutListSet to use Default Lists will be taken from this parameter
 
- 
ShortcutListSet
public ShortcutListSet(org.w3c.dom.Document doc)
Class constructor. Initializes a ShortcutList instance based on the information included in the DOM Document- Parameters:
 doc- Document instance representing the shortcut list information.
 
- 
ShortcutListSet
public ShortcutListSet(org.w3c.dom.Document doc, ShortcutListSet defaultListSet)Class constructor. Initializes a ShortcutList instance based on the information included in the DOM Document- Parameters:
 doc- Document instance representing the shortcut list information.defaultListSet- the default ShortcutListSet to use Default Lists will be taken from this parameter
 
 - 
 
- 
Method Detail
- 
getKeyAttribute
protected java.lang.String getKeyAttribute()
Description copied from class:AbstractConfigurationElementThis method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKeyandsetKeymethods.- Overrides:
 getKeyAttributein classAbstractConfigurationElementList- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getShortcutList
public ShortcutList getShortcutList(java.lang.String name)
Returns theShortcutListassociated with the given name. 
- 
setName
public void setName(java.lang.String name)
Sets the name, a unique identifier for the ShortcutList instance 
- 
getName
public java.lang.String getName()
Returns the name of the ShortcutList instance, which is used as a unique identifier. 
- 
setBaseBean
public void setBaseBean(java.lang.String value)
Indicates the bean from the pages bean hierarchy associated with the shortcut lists in the set. If a shortcut list object inside the set does not define a base bean attribute, the value of this base-bean attribute is used in tasks such as resolving features for the shortcut list. 
- 
getBaseBean
public java.lang.String getBaseBean()
Returns the name of the base-bean associated with this ShortcutListSet- See Also:
 setBaseBean(java.lang.String)
 
- 
setJavascriptFile
public void setJavascriptFile(java.lang.String value)
If the shortcut list set is associated with a JavaScript bone, this property defines the JavaScript file that contains the JavaScript class corresponding to the JavaScript bone.- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 setScriptClass(java.lang.String)
 
- 
getJavascriptFile
public java.lang.String getJavascriptFile()
Returns the javascript file name associated with this ShortcutListSet- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 setScriptClass(java.lang.String),setJavascriptFile(java.lang.String)
 
- 
setScriptClass
public void setScriptClass(java.lang.String value)
Associates this ShortcutListSet with a JavaScript bone, the script-class defines the name of the corresponding JavaScript class- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getScriptClass
public java.lang.String getScriptClass()
Returns the script-class of the JavaScript bone associated with this ShortcutListSet- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 setScriptClass(java.lang.String)
 
- 
getFeatureId
public java.lang.String getFeatureId()
Get the feature Id associated with this shortcut list set. The feature Id controls whether the shortcut list set is visible or not depending on user privileges and application settings.- Returns:
 - the feature Id associated with this shortcut list set.
 - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
setFeatureId
public void setFeatureId(java.lang.String featureId)
Sets the feature Id associated with this shortcut list set. The feature Id controls whether the shortcut list set is visible or not depending on user privileges and application settings.- Parameters:
 featureId- the feature Id associated with this shortcut list set.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getAttributeList
public WebAttributeList getAttributeList()
Returns theWebAttributeListassociated with this ShortcutListSet. Theseattributeelements define name-value pairs of html attributes that are added to the objects container (that is, added within thetag) when rendered. Theattributeselement is used with system pickers and toolbars, but not menus.- Returns:
 - attribute list for this style
 - Since:
 - MicroStrategy Web 8.0.0
 
- 
getDefaultListSet
public ShortcutListSet getDefaultListSet()
Deprecated.Not used anymore. A more generic framework is now in place to support default values and values from multiple sources. SeeAbstractConfigurationElement.Returns the defaultShortcutListSetobject that was used to populate default values for thisShortcutListSetin the constructor. If none, it returnsnull. 
- 
getEventMapping
public HashList getEventMapping()
 
 
 - 
 
 -