1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef __com_sun_star_embed_FileSystemStorage_idl__
21 #define __com_sun_star_embed_FileSystemStorage_idl__
23 #include
<com
/sun
/star
/embed
/BaseStorage.idl
>
26 module com
{ module sun
{ module star
{ module embed
{
28 /** This is a service that allows to get access to a file system folder using
31 published service FileSystemStorage
33 /** This service describes the base functionality of storages.
36 Please see below the description of additional requirements for the
37 file system storage implementation.
41 <dt>interface com::sun::star::lang::XComponent
45 A file system storage is created either by
46 StorageFactory or by XStorage
47 interface and is controlled by refcounting. In case
48 refcounting is decreased to zero the storage will be
49 disposed automatically.
53 In case a storage object is disposed the elements
54 ( substorages and substreams ) are not affected.
57 <dt>interface XStorage</dt>
60 <dt>XStorage::openStorageElement()</dt>
62 This method returns FileSystemStorage
63 service implementation.
66 <dt>XStorage::copyLastCommitTo()</dt>
68 Since this service implementation supports no transaction
69 this method just creates a copy of the storage in its
73 <dt>XStorage::copyStorageElementLastCommitTo()</dt>
75 Since this service implementation supports no transaction
76 this method just creates a copy of the storage in its
80 <dt>XStorage::removeStorageElement()</dt>
82 If the element is opened and it is a stream element
83 the removing will fail. If the element is opened and
84 it is a storage element, all the contents that can be
85 removed will be removed.
91 This property is not optional for this service.
104 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */