Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: configuration :: backend ::

service LocalDataImporter
Description
allows importing data from a local configuration data repository or file into any Backend.

Data to be imported can be a single layer either from a full local configuration database or from a particular OOR Update XML file.

Data is imported into the DefaultBackend.

Since
OOo 1.1.2
See also
LocalHierarchyBrowser
Service that can be used to locate available layer files or components.
See also
LocalSingleBackend
Service that can be used to access a local configuration database.

Included Services - Summary
DataImporter

provides for running an import job (details)

Included Services - Details
DataImporter
Description
provides for running an import job

The implementation returns void from ::com::sun::star::task::XJob::execute() to indicates successful execution. If import is not executed, because OverwriteExisting = true was specified, a ::com::sun::star::lang::IllegalAccessException is returned.

If void or true is returned, this indicates successful execution. If an ::com::sun::star::uno::Exception is returned, it represents an error condition encountered during execution.

The standard arguments to ::com::sun::star::task::XJob::execute() are all supported by implementations. Additionally the following argument is required to select the data source:

LayerDataUrl : string
A file URL that specifies the location of the source data.

If no Component is provided, this must be the location of an OOR Update XML file, which will be imported directly.

If a Component is provided, the LayerDataUrl is treated as Entity (i.e. Layer directory base URL) for a local configuration database and the appropriate component from that repository is imported.

Implementations may support additional parameters to select a destination Backend, that is not the DefaultBackend.


 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.