1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: FileSystemStorage.idl,v $
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 ************************************************************************/
31 #ifndef __com_sun_star_embed_FileSystemStorage_idl__
32 #define __com_sun_star_embed_FileSystemStorage_idl__
34 #ifndef __com_sun_star_embed_BaseStorage_idl__
35 #include
<com
/sun
/star
/embed
/BaseStorage.idl
>
38 //============================================================================
40 module com
{ module sun
{ module star
{ module embed
{
42 //============================================================================
43 /** This is a service that allows to get access to a file system folder using
46 service FileSystemStorage
48 // -----------------------------------------------------------------------
49 /** This service describes the base functionality of storages.
52 Please see below the description of additional requirements for the
53 file system storage implementation.
57 <dt>interface <type scope="com::sun::star::lang">XComponent</type>
61 A file system storage is created either by
62 <type>StorageFactory</type> or by <type>XStorage</type>
63 interface and is controlled by refcounting. In case
64 refcounting is decreased to zero the storage will be
65 disposed automatically.
69 In case a storage object is disposed the elements
70 ( substorages and substreams ) are not affected.
73 <dt>interface <type>XStorage</type></dt>
76 <dt><method>XStorage::openStorageElement</method></dt>
78 This method returns <type>FileSystemStorage</type>
79 service implementation.
82 <dt><method>XStorage::copyLastCommitTo</method></dt>
84 Since this service implementation supports no transaction
85 this method just creates a copy of the storage in it's
89 <dt><method>XStorage::copyStorageElementLastCommitTo</method></dt>
91 Since this service implementation supports no transaction
92 this method just creates a copy of the storage in it's
96 <dt><method>XStorage::removeStorageElement</method></dt>
98 If the element is opened and it is a stream element
99 the removing will fail. If the element is opened and
100 it is a storage element, all the contents that can be
101 removed will be removed.
105 <dt>property URL</dt>
107 This property is not optional for this service.
115 //============================================================================