LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows importing data from one configuration repository into another. More...
import"DataImporter.idl";
Exported Interfaces | |
interface | com::sun::star::task::XJob |
allows running an import job More... | |
Additional Inherited Members | |
Public Member Functions inherited from XJob | |
any | execute ([in] sequence< com::sun::star::beans::NamedValue > Arguments) raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::uno::Exception ) |
executes the job synchronously More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
allows importing data from one configuration repository into another.
interface com::sun::star::task::XJob |
allows running an import job
The source and destination repositories are selected by arguments passed to com::sun::star::task::XJob::execute(). The names and meanings of such arguments depend on the implementation. Each implementation must document such arguments.
Implementations may return a value from com::sun::star::task::XJob::execute() that indicates the status of job execution. The type and meaning of such status indicators depend on the implementation.
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 following arguments to com::sun::star::task::XJob::execute() should be supported by implementations. Implementations must document a failure to support any of these arguments:
ImporterService
: string
OverwriteExisting
: boolean
TRUE
, specifies that no existing data should be overwritten by the import. If the Importer used does not support such protection, an error may be raised. If some data is not imported, because there is existing data, this is indicated by returning an appropriate exception. TruncateExisting
: boolean
TRUE
, specifies that existing data should be discarded and replaced by the imported data. If the Importer used does not support this operation, an error may be raised. By default, a CopyImporter is used to perform truncating import. Entity
: string
Component
: string
LayerFilter
: LayerFilter