1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_configuration_backend_OfflineBackend_idl__
28 #define __com_sun_star_configuration_backend_OfflineBackend_idl__
30 #ifndef __com_sun_star_configuration_backend_BackendAdapter_idl__
31 #include
<com
/sun
/star
/configuration
/backend
/BackendAdapter.idl
>
34 //=============================================================================
36 module com
{ module sun
{ module star
{ module configuration
{ module backend
{
38 //=============================================================================
41 implements <type>BackendAdapter</type> that maintains a cache so it
42 can operate even if the <type>SingleBackend</type> holding the data
45 @see com::sun::star::configuration::backend::OnlineBackend
49 published service OfflineBackend
51 //-------------------------------------------------------------------------
53 /** provides access to configuration data from a <type>SingleBackend</type>.
55 <p>If no backend is provided during initalization or if the context
56 contains an <code>Offline</code> flag that is <TRUE/>, then offline mode
57 is activated. This may fail, if the offline cache has not been filled
58 during a previous execution.
60 <p>Less entities may be available from <type>XBackendEntities</type>,
61 when operating in offline mode than when operating with an online
62 <type>SingleBackend</type>.
64 <p>If offline mode is not invoked, the implementation behaves
65 like any other <type>BackendAdapter</type>.
69 service BackendAdapter
;
71 //-------------------------------------------------------------------------
74 //=============================================================================