Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / configuration / backend / OfflineBackend.idl
blob9ffd2b50be4671e2e117c00a3f97534c76ec1fb8
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: OfflineBackend.idl,v $
10 * $Revision: 1.6 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_configuration_backend_OfflineBackend_idl__
31 #define __com_sun_star_configuration_backend_OfflineBackend_idl__
33 #ifndef __com_sun_star_configuration_backend_BackendAdapter_idl__
34 #include <com/sun/star/configuration/backend/BackendAdapter.idl>
35 #endif
37 //=============================================================================
39 module com { module sun { module star { module configuration { module backend {
41 //=============================================================================
43 /**
44 implements <type>BackendAdapter</type> that maintains a cache so it
45 can operate even if the <type>SingleBackend</type> holding the data
46 is inaccessible.
48 @see com::sun::star::configuration::backend::OnlineBackend
50 @since OOo 1.1.2
52 published service OfflineBackend
54 //-------------------------------------------------------------------------
56 /** provides access to configuration data from a <type>SingleBackend</type>.
58 <p>If no backend is provided during initalization or if the context
59 contains an <code>Offline</code> flag that is <TRUE/>, then offline mode
60 is activated. This may fail, if the offline cache has not been filled
61 during a previous execution.
62 </p>
63 <p>Less entities may be available from <type>XBackendEntities</type>,
64 when operating in offline mode than when operating with an online
65 <type>SingleBackend</type>.
66 </p>
67 <p>If offline mode is not invoked, the implementation behaves
68 like any other <type>BackendAdapter</type>.
69 </p>
72 service BackendAdapter ;
74 //-------------------------------------------------------------------------
75 } ;
77 //=============================================================================
79 } ; } ; } ; } ; } ;
81 #endif