Internal factory for app variants
Node | Description |
---|
Method | Description |
---|---|
sap.ui.fl.write._internal.appVariant.AppVariantFactory.load |
Loads an existing app variant from the back end and prepares a map for either creation or deletion. |
sap.ui.fl.write._internal.appVariant.AppVariantFactory.prepareCreate |
Prepares an app variant configuration for creation. |
sap.ui.fl.write._internal.appVariant.AppVariantFactory.prepareDelete |
Loads an app variant config from back end and prepares it for deletion. |
sap.ui.fl.write._internal.appVariant.AppVariantFactory.prepareUpdate |
Loads an app variant configuration from the back end and prepares it for updation. |
Loads an existing app variant from the back end and prepares a map for either creation or deletion.
Param | Type | DefaultValue | Description |
---|---|---|---|
mPropertyBag | object |
Parameters |
|
id | string |
App variant ID |
|
transport | string |
Transport request for the app variant |
|
isForSmartBusiness | string |
Determines the consumer |
|
layer | string |
Current working layer |
Prepares an app variant configuration for creation.
Param | Type | DefaultValue | Description |
---|---|---|---|
mPropertyBag | object |
Parameters |
|
id | string |
Id of the app variant |
|
reference | string |
Proposed referenced descriptor or app variant ID (might be overwritten by the back end) |
|
transport | string |
Transport with which the app variant should be transported |
|
package | string |
Package of the app variant |
|
version | string |
Version of the app variant |
|
layer | string | 'CUSTOMER' |
Proposed layer for the app variant (might be overwritten by the back end) |
skipIam | boolean |
Indicator whether the default IAM item creation and registration is skipped |
|
isForSmartBusiness | string |
Determines the consumer |
Loads an app variant config from back end and prepares it for deletion.
Param | Type | DefaultValue | Description |
---|---|---|---|
mPropertyBag | object |
Object with parameters as properties |
|
id | string |
App variant ID |
|
transport | string |
Transport request for the app variant |
|
isForSmartBusiness | string |
Determines the consumer |
|
skipIam | boolean |
Indicates whether the default IAM item creation and registration is skipped |
Loads an app variant configuration from the back end and prepares it for updation.
Param | Type | DefaultValue | Description |
---|---|---|---|
mPropertyBag | object |
Object with parameters as properties |
|
id | string |
App variant ID |
|
transport | string |
Transport request for the app variant |
|
isForSmartBusiness | string |
Determines the consumer |
|
skipIam | boolean |
Indicates whether the default IAM item creation and registration is skipped |