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 .
21 module com
{ module sun
{ module star
{ module embed
{
23 /** This is a service that allows to get access to a file system folder using
26 published service FileSystemStorage
28 /** This service describes the base functionality of storages.
31 Please see below the description of additional requirements for the
32 file system storage implementation.
36 <dt>interface com::sun::star::lang::XComponent
40 A file system storage is created either by
41 StorageFactory or by XStorage
42 interface and is controlled by refcounting. In case
43 refcounting is decreased to zero the storage will be
44 disposed automatically.
48 In case a storage object is disposed the elements
49 ( substorages and substreams ) are not affected.
52 <dt>interface XStorage</dt>
55 <dt>XStorage::openStorageElement()</dt>
57 This method returns FileSystemStorage
58 service implementation.
61 <dt>XStorage::copyLastCommitTo()</dt>
63 Since this service implementation supports no transaction
64 this method just creates a copy of the storage in its
68 <dt>XStorage::copyStorageElementLastCommitTo()</dt>
70 Since this service implementation supports no transaction
71 this method just creates a copy of the storage in its
75 <dt>XStorage::removeStorageElement()</dt>
77 If the element is opened and it is a stream element
78 the removing will fail. If the element is opened and
79 it is a storage element, all the contents that can be
80 removed will be removed.
86 This property is not optional for this service.
97 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */