DataImportService

Namespace: PP.Mb.Ui;

Inheritance hierarchy

Object

PPService

DataImportService

Description

The DataImportService class implements a service for working with data import.

Comments

Data is imported using a special wizard: that is, the ImportDataWizard component.

Syntax

PP.initClass(PP.Mb.DataImportService, PP.Mb.PPService, "DataImporter");

Constructor

  Constructor name Brief description
DataImportService The DataImportService constructor creates an instance of the DataImportService class.

Methods

  Method name Brief description
getDictionaries The getDictionaries method returns repository dictionaries.
getExecuteResult The getExecuteResult method returns result of data import try.
getFolders The getFolders method returns all folders of the repository.
getRepositories The getRepositories method returns all MDM repositories available in the specified repository.
getTables The getTables method requests metadata of import object tables.
launchImport The launchImport method starts data import with specified settings.
openCubeImport The openCubeImport method opens a model of cube import object.
setCubeImportProps The setCubeImportProps method sets import object parameters.
setHasHeader The setHasHeader method indicates whether the contents of the first row in the imported table are regarded as headings.
setTable The setTable method sets the active table sheet.

Events

   Event name Brief description
GetFieldsCompleted

The GetFieldsCompleted event occurs after clicking the Load button on the first page of data import wizard.

GetObjectsCompleted The GetObjectsCompleted event occurs after getting repository objects.
GetRowsCompleted The GetRowsCompleted event occurs on loading rows to table.
ImportCompleted The ImportCompleted event occurs on completing data import.
SetHasHeaderCompleted

The SetHasHeaderCompleted event occurs on selecting or deselecting the checkbox First Row Contains Headings.

Methods inherited from PPService class

  Method name Brief description
addCallbackToLastRqt The addCallbackToLastRqt adds a handler to the last request in the queue.
beginSyncXHR The beginSyncXHR method enables the mode of synchronous requests for an instance of the PPService class.
clearRequests The clearRequests method clears the list of queued requests and removes the current request.
endSyncXHR The endSyncXHR method disables the mode of synchronous requests for an instance of the PPService class.
getCurrentRequest The getCurrentRequest method returns the current service request.
sendRequest The sendRequest method sends a request to web service.

Events inherited from the PPService class

  Event name Brief description
EndRequest The EndRequest event occurs on finishing the repository connection.
Error The Error event occurs if an error occurs during repository connection.
Executed The Executed event occurs after executing a request to server.
StartRequest The StartRequest event occurs when the system starts executing a request to repository.

Properties inherited from the class Object

  Property name Brief description
Data The Data property associates a random object with this component.
Id The Id property sets component identifier.
Settings The Settings property sets the component parameters.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

See also:

PP.Mb