(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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.
Developers Guide
Config - Installing a Custom Configuration Schema

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 Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.