Flexibility change class. Stores change content and related information. This class also be updated as well as reverted.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.
new sap.ui.fl.apply._internal.flexObjects.UpdatableChange()
Name | Type | Default Value | Description |
---|---|---|---|
applyState | int | Describes the current state of the change regarding the application and reversion of changes. To change or retrieve the state, use the getters and setters defined in this class. Initially the state is |
|
state | string | Visibility: public |
Default Aggregation:
Name | Cardinality | Type | Description |
---|---|---|---|
revertInfo | 0..n | sap.ui.fl.apply._internal.flexObjects.RevertData |
Method | Description |
---|---|
addRevertInfo |
Adds some revertInfo to the aggregation revertInfo. |
destroyRevertInfo |
Destroys all the revertInfo in the aggregation revertInfo. |
sap.ui.fl.apply._internal.flexObjects.UpdatableChange.extend |
Creates a new subclass of class sap.ui.fl.apply._internal.flexObjects.UpdatableChange with name
|
sap.ui.fl.apply._internal.flexObjects.UpdatableChange.getMetadata |
Returns a metadata object for class sap.ui.fl.apply._internal.flexObjects.UpdatableChange. |
getRevertInfo |
Gets content of aggregation revertInfo. |
indexOfRevertInfo |
Checks for the provided |
insertRevertInfo |
Inserts a revertInfo into the aggregation revertInfo. |
removeAllRevertInfo |
Removes all the controls from the aggregation revertInfo. Additionally, it unregisters them from the hosting UIArea. |
removeRevertInfo |
Removes a revertInfo from the aggregation revertInfo. |
Adds some revertInfo to the aggregation revertInfo.
Param | Type | DefaultValue | Description |
---|---|---|---|
oRevertInfo | sap.ui.fl.apply._internal.flexObjects.RevertData |
The revertInfo to add; if empty, nothing is inserted |
Creates a new subclass of class sap.ui.fl.apply._internal.flexObjects.UpdatableChange with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.fl.Change.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |
Returns a metadata object for class sap.ui.fl.apply._internal.flexObjects.UpdatableChange.
Checks for the provided sap.ui.fl.apply._internal.flexObjects.RevertData
in the aggregation revertInfo. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oRevertInfo | sap.ui.fl.apply._internal.flexObjects.RevertData |
The revertInfo whose index is looked for |
Inserts a revertInfo into the aggregation revertInfo.
Param | Type | DefaultValue | Description |
---|---|---|---|
oRevertInfo | sap.ui.fl.apply._internal.flexObjects.RevertData |
The revertInfo to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Removes all the controls from the aggregation revertInfo.
Additionally, it unregisters them from the hosting UIArea.
Removes a revertInfo from the aggregation revertInfo.
Param | Type | DefaultValue | Description |
---|---|---|---|
vRevertInfo | int string sap.ui.fl.apply._internal.flexObjects.RevertData |
The revertInfo to remove or its index or id |