Creates a new instance of a SelectionVariant class. If no parameter is passed, an new empty instance is created whose ID has been set to ""
. Passing a JSON-serialized string complying to the Selection Variant Specification will parse it, and the newly created instance will contain the same information.
Method | Description |
---|---|
sap.ui.generic.app.navigation.service.SelectionVariant.addParameter |
Sets the value of a parameter called |
sap.ui.generic.app.navigation.service.SelectionVariant.addSelectOption |
Adds a new range to the list of select options for a given parameter. |
sap.ui.generic.app.navigation.service.SelectionVariant.extend |
Creates a new subclass of class sap.ui.generic.app.navigation.service.SelectionVariant with name
|
sap.ui.generic.app.navigation.service.SelectionVariant.getFilterContextUrl |
Gets the current context URL intended for the filters. |
sap.ui.generic.app.navigation.service.SelectionVariant.getID |
Returns the identification of the selection variant. |
sap.ui.generic.app.navigation.service.SelectionVariant.getMetadata |
Returns a metadata object for class sap.ui.generic.app.navigation.service.SelectionVariant. |
sap.ui.generic.app.navigation.service.SelectionVariant.getParameter |
Returns the value of the parameter called |
sap.ui.generic.app.navigation.service.SelectionVariant.getParameterContextUrl |
Gets the current context URL intended for the parameters. |
sap.ui.generic.app.navigation.service.SelectionVariant.getParameterNames |
Returns the set of parameter names available in this selection variant |
sap.ui.generic.app.navigation.service.SelectionVariant.getPropertyNames |
Returns the names of the parameter and select option properties available for this instance. |
sap.ui.generic.app.navigation.service.SelectionVariant.getSelectOption |
Returns the set of select options/ranges available for a given property name. |
sap.ui.generic.app.navigation.service.SelectionVariant.getSelectOptionsPropertyNames |
Returns the names of the properties available for this instance. |
sap.ui.generic.app.navigation.service.SelectionVariant.getText |
Returns the current text / description of this selection variant. |
sap.ui.generic.app.navigation.service.SelectionVariant.getValue |
First tries to retrieve the set of select options/ranges available for |
sap.ui.generic.app.navigation.service.SelectionVariant.isEmpty |
Returns |
sap.ui.generic.app.navigation.service.SelectionVariant.massAddSelectOption |
Adds a set of select options to the list of select options for a given parameter. |
sap.ui.generic.app.navigation.service.SelectionVariant.removeParameter |
Removes a parameter called |
sap.ui.generic.app.navigation.service.SelectionVariant.removeSelectOption |
Removes a select option called |
sap.ui.generic.app.navigation.service.SelectionVariant.renameParameter |
Renames a parameter called |
sap.ui.generic.app.navigation.service.SelectionVariant.renameSelectOption |
Renames a select option called |
sap.ui.generic.app.navigation.service.SelectionVariant.setFilterContextUrl |
Sets the context URL intended for the filters. |
sap.ui.generic.app.navigation.service.SelectionVariant.setID |
Sets the identification of the selection variant. |
sap.ui.generic.app.navigation.service.SelectionVariant.setParameterContextUrl |
Sets the context URL intended for the parameters. |
sap.ui.generic.app.navigation.service.SelectionVariant.setText |
Sets the text / description of the selection variant. |
sap.ui.generic.app.navigation.service.SelectionVariant.toJSONObject |
Returns the external representation of the selection variant as JSON object. |
sap.ui.generic.app.navigation.service.SelectionVariant.toJSONString |
Serializes this instance into a JSON-formatted string |