LibreOffice: com/sun/star/registry/XSimpleRegistry.idl Source File

LibreOffice LibreOffice 7.6 SDK API Reference

Loading...
Searching...
No Matches
XSimpleRegistry.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
21
22module com { module sun { module star { module registry {
23
30published interface XSimpleRegistry: com::sun::star::uno::XInterface
31{
34 string getURL();
35
56 void open( [in] string rURL,
57 [in] boolean bReadOnly,
58 [in] boolean bCreate )
59 raises( com::sun::star::registry::InvalidRegistryException );
60
63 boolean isValid();
64
70 void close()
71 raises( com::sun::star::registry::InvalidRegistryException );
72
78 void destroy()
79 raises( com::sun::star::registry::InvalidRegistryException );
80
87 com::sun::star::registry::XRegistryKey getRootKey()
88 raises( com::sun::star::registry::InvalidRegistryException );
89
95 boolean isReadOnly()
96 raises( com::sun::star::registry::InvalidRegistryException );
97
103 void mergeKey( [in] string aKeyName,
104 [in] string aUrl )
105 raises( com::sun::star::registry::InvalidRegistryException,
106 com::sun::star::registry::MergeConflictException );
107
108};
109
110
111}; }; }; };
112
113/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::registry::InvalidRegistryException
signals that the registry is invalid or an operation on the registry failed.
Definition InvalidRegistryException.idl:28
com::sun::star::registry::MergeConflictException
is thrown if entries of two registries are contradictory in the context of XSimpleRegistry::mergeKey(...
Definition MergeConflictException.idl:30
com::sun::star::registry::XRegistryKey
makes structural information (except regarding tree structures) of a single registry key accessible.
Definition XRegistryKey.idl:32
com::sun::star::registry::XSimpleRegistry
allows access to a registry (a persistent data source).
Definition XSimpleRegistry.idl:31
com::sun::star::registry::XSimpleRegistry::open
void open([in] string rURL, [in] boolean bReadOnly, [in] boolean bCreate)
connects the registry to a persistent data source represented by a URL.
com::sun::star::registry::XSimpleRegistry::isValid
boolean isValid()
checks if the registry points to a valid data-source.
com::sun::star::registry::XSimpleRegistry::close
void close()
disconnects the registry from the data-source.
com::sun::star::registry::XSimpleRegistry::getURL
string getURL()
returns the URL of the current data source of the registry.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20