LibreOffice LibreOffice 25.8 SDK API Reference

XLayerImporter.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21module com { module sun { module star { module configuration { module backend {
22
23
28published interface XLayerImporter : ::com::sun::star::uno::XInterface
29{
30
38 XBackend getTargetBackend();
39
40
50 void setTargetBackend([in] XBackend aBackend)
51 raises (com::sun::star::lang::NullPointerException) ;
52
53
76 void importLayer([in] XLayer aLayer)
77 raises (MalformedDataException,
78 com::sun::star::lang::IllegalArgumentException,
79 com::sun::star::lang::NullPointerException,
80 com::sun::star::lang::WrappedTargetException) ;
81
82
109 void importLayerForEntity([in] XLayer aLayer, [in] string aEntity)
110 raises (MalformedDataException,
111 com::sun::star::lang::IllegalArgumentException,
112 com::sun::star::lang::NullPointerException,
113 com::sun::star::lang::WrappedTargetException) ;
114
115} ;
116
117
118} ; } ; } ; } ; } ;
119
120/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::configuration::backend::MalformedDataException
is raised when the data of a component schema, layer or update is not well-formed,...
Definition: MalformedDataException.idl:30
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:27
com::sun::star::lang::NullPointerException
This exception is thrown when an application attempts to use NULL in a case where an object is requir...
Definition: NullPointerException.idl:33
com::sun::star::lang::WrappedTargetException
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:34
com::sun::star::configuration::backend::XBackend
Handles access to layered data stored in a repository.
Definition: XBackend.idl:40
com::sun::star::configuration::backend::XLayerImporter
allows importing a layer into a Backend
Definition: XLayerImporter.idl:29
com::sun::star::configuration::backend::XLayerImporter::importLayer
void importLayer([in] XLayer aLayer)
Imports the layer given into the backend.
com::sun::star::configuration::backend::XLayerImporter::importLayerForEntity
void importLayerForEntity([in] XLayer aLayer, [in] string aEntity)
Imports the layer given into the backend for a given entity.
com::sun::star::configuration::backend::XLayerImporter::setTargetBackend
void setTargetBackend([in] XBackend aBackend)
sets the target backend for importing.
com::sun::star::configuration::backend::XLayerImporter::getTargetBackend
XBackend getTargetBackend()
gets the target backend for importing.
com::sun::star::configuration::backend::XLayer
provides read access to the data contained in a layer.
Definition: XLayer.idl:30
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com
Definition: Ambiguous.idl:20