class sap.ui.mdc.p13n.DefaultProviderRegistry

Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/mdc/p13n/DefaultProviderRegistry
Application Component: CA-UI5-MDC

Constructor

Constructor for a new DefaultProviderRegistry. This registry creates and manages default persistence providers for each persistence mode. It is intended for use cases where no dedicated provider can or should be created by an application. The DefaultProviderRegistry currently resides in the Engine and must never be called separately.

new sap.ui.mdc.p13n.DefaultProviderRegistry()

Methods Overview

Method Description
_retrieveDefaultProvider
attach
detach
sap.ui.mdc.p13n.DefaultProviderRegistry.extend

Creates a new subclass of class sap.ui.mdc.p13n.DefaultProviderRegistry 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.base.Object.extend.

sap.ui.mdc.p13n.DefaultProviderRegistry.getInstance
sap.ui.mdc.p13n.DefaultProviderRegistry.getMetadata

Returns a metadata object for class sap.ui.mdc.p13n.DefaultProviderRegistry.

_retrieveDefaultProvider

Param Type DefaultValue Description
sPersistenceMode sap.ui.mdc.enum.PersistenceMode

Desired persistence mode for the retrieved persistence provider

attach

Param Type DefaultValue Description
vControl sap.ui.mdc.Control string

The control instance or a control id.

sPersistenceMode sap.ui.mdc.enum.PersistenceMode

Desired persistence mode for the retrieved persistence provider

detach

Param Type DefaultValue Description
vControl sap.ui.mdc.Control string

The control instance or a control id.

sap.ui.mdc.p13n.DefaultProviderRegistry.extend

Creates a new subclass of class sap.ui.mdc.p13n.DefaultProviderRegistry 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.base.Object.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

sap.ui.mdc.p13n.DefaultProviderRegistry.getInstance

sap.ui.mdc.p13n.DefaultProviderRegistry.getMetadata

Returns a metadata object for class sap.ui.mdc.p13n.DefaultProviderRegistry.